1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptomgmtlibs/securitytestfw/test/autotesting/useautocfg.bat Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,46 @@
1.4 +@rem
1.5 +@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +@rem All rights reserved.
1.7 +@rem This component and the accompanying materials are made available
1.8 +@rem under the terms of the License "Eclipse Public License v1.0"
1.9 +@rem which accompanies this distribution, and is available
1.10 +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +@rem
1.12 +@rem Initial Contributors:
1.13 +@rem Nokia Corporation - initial contribution.
1.14 +@rem
1.15 +@rem Contributors:
1.16 +@rem
1.17 +@rem Description:
1.18 +@rem
1.19 +
1.20 +IF NOT EXIST "\usewinpcap.txt" GOTO SKIP_WINPCAP
1.21 +IF NOT EXIST "\epoc32\winscw\c\auto_winpcap.cfg" GOTO SKIP_WINPCAP
1.22 +attrib -r \epoc32\winscw\c\auto.cfg
1.23 +copy /Y \epoc32\winscw\c\auto_winpcap.cfg \epoc32\winscw\c\auto.cfg
1.24 +attrib -r \epoc32\winscw\c\prompt.cfg
1.25 +copy /Y \epoc32\winscw\c\auto_winpcap_prompt.cfg \epoc32\winscw\c\prompt.cfg
1.26 +IF (%WINSCW_MAC%)==() (
1.27 +call perl \epoc32\tools\configchange.pl --config ethernetNoCommDB --kernel EKA2 --target winscw --variant UDEB
1.28 +) ELSE (
1.29 +call perl \epoc32\winscw\c\configchangebats.pl --config ethernetNoCommDB --kernel EKA2 --target winscw --variant UDEB
1.30 +)
1.31 +GOTO CONFIG_DONE
1.32 +
1.33 +:SKIP_WINPCAP
1.34 +
1.35 +IF NOT EXIST "\usewintap.txt" GOTO SKIP_WINTAP
1.36 +IF NOT EXIST "\epoc32\winscw\c\auto_wintap.cfg" GOTO SKIP_WINTAP
1.37 +attrib -r \epoc32\winscw\c\auto.cfg
1.38 +copy /Y \epoc32\winscw\c\auto_wintap.cfg \epoc32\winscw\c\auto.cfg
1.39 +attrib -r \epoc32\winscw\c\prompt.cfg
1.40 +copy /Y \epoc32\winscw\c\auto_wintap_prompt.cfg \epoc32\winscw\c\prompt.cfg
1.41 +GOTO CONFIG_DONE
1.42 +
1.43 +:SKIP_WINTAP
1.44 +
1.45 +:CONFIG_DONE
1.46 +rem Set up tests using the automatic connection commdb configuration
1.47 +
1.48 +call \epoc32\release\winscw\udeb\ced -dtextshell -- -i c:\auto.cfg
1.49 +call \epoc32\release\wins\udeb\ced -dtextshell -- -i c:\auto.cfg
1.50 \ No newline at end of file