secureswitools/swisistools/test/tinterpretsisinteg/makesisj001.bat
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 20:34:03 +0300
changeset 67 3a625661d1ce
parent 0 ba25891c3a9e
permissions -rw-r--r--
Revision: 201033 Kit: 201035
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     1
@rem
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     2
@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     3
@rem All rights reserved.
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     4
@rem This component and the accompanying materials are made available
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     5
@rem under the terms of the License "Eclipse Public License v1.0"
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     6
@rem which accompanies this distribution, and is available
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     7
@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     8
@rem
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     9
@rem Initial Contributors:
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    10
@rem Nokia Corporation - initial contribution.
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    11
@rem
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    12
@rem Contributors:
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    13
@rem
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    14
@rem Description:
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    15
@rem
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    16
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    17
:: This batch file copies sis file/files to sisfiles folder
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    18
@ECHO OFF
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    19
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    20
GOTO %1
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    21
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    22
:A
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    23
 REM testcaseJ001a
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    24
 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\base_r.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_r.sis > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    25
 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\upgrade_sa_r.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\upgrade_sa_r.sis > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    26
 call signsis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_r.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_r.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.pem  \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.key.pem  > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    27
 call signsis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\upgrade_sa_r.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\upgrade_sa_r.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.pem  \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.key.pem  > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    28
 call interpretsis -z .\romdrive -c .\cdrive -s  \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_r.sis -w info -l /epoc32/winscw/c/interpretsis_test_harness.txt
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    29
 if not exist \epoc32\winscw\c\sys\install\sisregistry\89334307 mkdir \epoc32\winscw\c\sys\install\sisregistry\89334307 > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    30
 copy .\cdrive\sys\install\sisregistry\89334307\ \epoc32\winscw\c\sys\install\sisregistry\89334307\ > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    31
if exist \epoc32\winscw\c\sys\install\sisregistry\backup.lst del \epoc32\winscw\c\sys\install\sisregistry\backup.lst > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    32
GOTO END
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    33
:B   
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    34
 REM testcaseJ001b
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    35
 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\base_nr.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_nr.sis > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    36
 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\upgrade_sa_r.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\upgrade_sa_r.sis > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    37
 call signsis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_nr.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_nr.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.pem  \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.key.pem  > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    38
 call signsis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\upgrade_sa_r.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\upgrade_sa_r.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.pem  \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.key.pem  > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    39
 call interpretsis -z .\romdrive -c .\cdrive -s  \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_nr.sis -w info -l /epoc32/winscw/c/interpretsis_test_harness.txt
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    40
 if not exist \epoc32\winscw\c\sys\install\sisregistry\89334307 mkdir \epoc32\winscw\c\sys\install\sisregistry\89334307 > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    41
 copy .\cdrive\sys\install\sisregistry\89334307\ \epoc32\winscw\c\sys\install\sisregistry\89334307\ > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    42
if exist \epoc32\winscw\c\sys\install\sisregistry\backup.lst del \epoc32\winscw\c\sys\install\sisregistry\backup.lst > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    43
GOTO END
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    44
:C
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    45
 REM testcaseJ001c
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    46
 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\base_r.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_r.sis > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    47
 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\upgrade_sa_nr.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\upgrade_sa_nr.sis > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    48
 call signsis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_r.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_r.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.pem  \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.key.pem  > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    49
 call signsis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\upgrade_sa_nr.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\upgrade_sa_nr.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.pem  \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.key.pem  > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    50
 call interpretsis -z .\romdrive -c .\cdrive -s  \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_r.sis -w info -l /epoc32/winscw/c/interpretsis_test_harness.txt
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    51
 if not exist \epoc32\winscw\c\sys\install\sisregistry\89334307 mkdir \epoc32\winscw\c\sys\install\sisregistry\89334307 > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    52
 copy .\cdrive\sys\install\sisregistry\89334307\ \epoc32\winscw\c\sys\install\sisregistry\89334307\ > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    53
if exist \epoc32\winscw\c\sys\install\sisregistry\backup.lst del \epoc32\winscw\c\sys\install\sisregistry\backup.lst > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    54
GOTO END
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    55
:D
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    56
 REM testcaseJ001d
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    57
 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\base_nr.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_nr.sis > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    58
 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\upgrade_sa_nr.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\upgrade_sa_nr.sis > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    59
 call signsis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_nr.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_nr.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.pem  \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.key.pem  > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    60
 call signsis -s \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\upgrade_sa_nr.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\upgrade_sa_nr.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.pem  \epoc32\winscw\c\tswi\tinterpretsisinteg\testdataj001\good-r5.key.pem  > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    61
 call interpretsis -z .\romdrive -c .\cdrive -s  \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\base_nr.sis -w info -l /epoc32/winscw/c/interpretsis_test_harness.txt
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    62
 if not exist \epoc32\winscw\c\sys\install\sisregistry\89334307 mkdir \epoc32\winscw\c\sys\install\sisregistry\89334307 > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    63
 copy .\cdrive\sys\install\sisregistry\89334307\ \epoc32\winscw\c\sys\install\sisregistry\89334307\ > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    64
if exist \epoc32\winscw\c\sys\install\sisregistry\backup.lst del \epoc32\winscw\c\sys\install\sisregistry\backup.lst > NUL
ba25891c3a9e Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    65
:END