secureswitools/swisistools/test/tinterpretsisinteg/api-inst-testcase-interpretsis-07_db.bat
branchRCL_3
changeset 66 8b7f4e561641
parent 65 7333d7932ef7
child 70 e8965914fac7
equal deleted inserted replaced
65:7333d7932ef7 66:8b7f4e561641
     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-07
       
    18 REM testcase testcase-interpretsis-07 - Test for Uninstall when installation fails. 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 REM Remove installation files from any previous tests
       
    27 if exist  .\cdrive\Documents\InstTest\devlangsup*.txt  del .\cdrive\Documents\InstTest\devlangsup*.txt  > NUL
       
    28 
       
    29 call interpretsis -z .\romdrive -c .\cdrive  -s /epoc32/winscw/c/tswi/tsis/data/interpretsis_testcase_09.sis -w info -I /epoc32/winscw/c/tswi/tinterpretsisinteg/testcase-interpretsis-01/argumentfile_05.ini  -l /epoc32/winscw/c/interpretsis_test_harness_db.txt > NUL
       
    30 
       
    31 IF NOT EXIST .\backup\cdrive mkdir .\backup\cdrive > NUL
       
    32 IF NOT EXIST .\backup\romdrive mkdir .\backup\romdrive > NUL
       
    33 xcopy /E /Y cdrive backup\cdrive > NUL
       
    34 xcopy /E /Y romdrive backup\romdrive > NUL
       
    35 
       
    36 IF NOT %errorlevel%==0 GOTO LAST
       
    37 ECHO ***ERRORCODE*** %errorlevel% PASS>>/epoc32/winscw/c/interpretsis_test_harness_db.txt
       
    38 GOTO END
       
    39 :LAST
       
    40 ECHO ***ERRORCODE*** %errorlevel% FAIL>>/epoc32/winscw/c/interpretsis_test_harness_db.txt
       
    41 :END