|
1 @rem |
|
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 @rem All rights reserved. |
|
4 @rem This component and the accompanying materials are made available |
|
5 @rem under the terms of "Eclipse Public License v1.0" |
|
6 @rem which accompanies this distribution, and is available |
|
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 @rem |
|
9 @rem Initial Contributors: |
|
10 @rem Nokia Corporation - initial contribution. |
|
11 @rem |
|
12 @rem Contributors: |
|
13 @rem |
|
14 @rem Description: |
|
15 @rem |
|
16 @ECHO OFF |
|
17 REM testcase-interpretsis-04 |
|
18 REM testcase testcase-interpretsis-04 - Install an applications registration info with null app file name. This is a negative testcase |
|
19 |
|
20 if not exist .\cdrive mkdir .\cdrive > NUL |
|
21 if not exist .\romdrive mkdir .\romdrive > NUL |
|
22 |
|
23 xcopy /E /Y backup\cdrive cdrive > NUL |
|
24 xcopy /E /Y backup\romdrive romdrive > NUL |
|
25 |
|
26 |
|
27 REM Remove installation files from any previous tests |
|
28 if exist .\cdrive\Documents\InstTest\devlangsup*.txt del .\cdrive\Documents\InstTest\devlangsup*.txt > NUL |
|
29 |
|
30 call interpretsis -z .\romdrive -c .\cdrive -s /epoc32/winscw/c/tswi/tsis/data/interpretsis_testcase_07.sis -w info -I /epoc32/winscw/c/tswi/tinterpretsisinteg/testcase-interpretsis-01/argumentfile.ini -l /epoc32/winscw/c/interpretsis_test_harness_db.txt > NUL |
|
31 |
|
32 copy .\romdrive\sys\install\scr\provisioned\scr.db \epoc32\winscw\c\sys\install\scr\scr.db /Y > NUL |
|
33 |
|
34 IF NOT EXIST .\backup\cdrive mkdir .\backup\cdrive > NUL |
|
35 IF NOT EXIST .\backup\romdrive mkdir .\backup\romdrive > NUL |
|
36 xcopy /E /Y cdrive backup\cdrive > NUL |
|
37 xcopy /E /Y romdrive backup\romdrive > NUL |
|
38 |
|
39 IF NOT %errorlevel%==0 GOTO LAST |
|
40 ECHO ***ERRORCODE*** %errorlevel% PASS>>/epoc32/winscw/c/interpretsis_test_harness_db.txt |
|
41 GOTO END |
|
42 :LAST |
|
43 ECHO ***ERRORCODE*** %errorlevel% FAIL>>/epoc32/winscw/c/interpretsis_test_harness_db.txt |
|
44 :END |