secureswitools/swisistools/test/tinterpretsisinteg/interpretsis_pkgversion_d001d002.bat
changeset 0 ba25891c3a9e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/secureswitools/swisistools/test/tinterpretsisinteg/interpretsis_pkgversion_d001d002.bat	Thu Dec 17 08:51:10 2009 +0200
@@ -0,0 +1,35 @@
+@rem
+@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+@rem All rights reserved.
+@rem This component and the accompanying materials are made available
+@rem under the terms of the License "Eclipse Public License v1.0"
+@rem which accompanies this distribution, and is available
+@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
+@rem
+@rem Initial Contributors:
+@rem Nokia Corporation - initial contribution.
+@rem
+@rem Contributors:
+@rem
+@rem Description:
+@rem
+
+@ECHO OFF
+REM testdata_pkgversion_d001d002
+REM CR1125 SEC-SWI-PKGVER-D001 - Installing a SIS containing a VERSION condition exercising each relational operator
+REM CR1125 SEC-SWI-PKGVER-D002 - Installing a SIS containing a VERSION condition with a Package UID not identified by the SIS Registry
+
+if not exist .\cdrive mkdir .\cdrive > NUL
+if not exist .\romdrive mkdir .\romdrive > NUL
+
+REM Remove installation files from any previous VERSION tests
+if exist .\cdrive\tswi\tpkgver\version*.txt del .\cdrive\tswi\tpkgver\version*.txt
+
+call interpretsis -z .\romdrive -c .\cdrive  -s /epoc32/winscw/c/tswi/tsis/data/testexpressions_version1.sis -w info -l /epoc32/winscw/c/interpretsis_test_harness.txt
+
+IF NOT %errorlevel%==0 GOTO LAST
+ECHO ***ERRORCODE*** %errorlevel% PASS>>/epoc32/winscw/c/interpretsis_test_harness.txt
+GOTO END
+:LAST
+ECHO ***ERRORCODE*** %errorlevel% FAIL>>/epoc32/winscw/c/interpretsis_test_harness.txt
+:END