3004 call interpretsis -z .\romdrive -c .\cdrive -s /epoc32/winscw/c/tswi/tinterpretsisinteg/sisfiles/inc124436.sis -w info -l /epoc32/winscw/c/interpretsis_test_harness.txt |
3048 call interpretsis -z .\romdrive -c .\cdrive -s /epoc32/winscw/c/tswi/tinterpretsisinteg/sisfiles/inc124436.sis -w info -l /epoc32/winscw/c/interpretsis_test_harness.txt |
3005 call interpretsis -z .\romdrive -c .\cdrive -x 0x81111105 -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
3049 call interpretsis -z .\romdrive -c .\cdrive -x 0x81111105 -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
3006 if not %errorlevel%==0 GOTO LAST |
3050 if not %errorlevel%==0 GOTO LAST |
3007 GOTO PASS_CLEAN |
3051 GOTO PASS_CLEAN |
3008 |
3052 |
|
3053 :INT-RomInstall-01 |
|
3054 ::Testcase to Install SIS file to ROM (z) drive and check for file exists. |
|
3055 mkdir .\romdrive\sys\bin > NUL |
|
3056 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\interpretsis_testcase.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3057 if not %errorlevel%==0 GOTO LAST |
|
3058 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000.reg |
|
3059 if exist %exist_file% GOTO FAIL_FOUND |
|
3060 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000_0000.ctl |
|
3061 if exist %exist_file% GOTO FAIL_FOUND |
|
3062 set exist_file=.\romdrive\sys\bin\interpretsis_testcase_01.exe |
|
3063 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3064 set exist_file=.\romdrive\system\install\interpretsis_testcase_e8000097.sis |
|
3065 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3066 GOTO PASS_CLEAN |
|
3067 |
|
3068 :INT-RomInstall-02 |
|
3069 ::Testcase to UnInstall SIS file installed in ROM (z) drive and check for file exists |
|
3070 mkdir .\romdrive\sys\bin > NUL |
|
3071 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\interpretsis_testcase.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3072 call interpretsis -z .\romdrive -c .\cdrive -x 0xe8000097 -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3073 if %errorlevel%==0 GOTO LAST |
|
3074 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000.reg |
|
3075 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3076 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000_0000.ctl |
|
3077 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3078 set exist_file=.\romdrive\sys\bin\interpretsis_testcase_01.exe |
|
3079 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3080 set exist_file=.\romdrive\system\install\interpretsis_testcase_e8000097.sis |
|
3081 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3082 GOTO PASS_CLEAN |
|
3083 |
|
3084 |
|
3085 :INT-RomInstall-03 |
|
3086 ::Testcase to Install SA over SA to ROM (z) drive. Also validates that the eclipsing is not done. |
|
3087 mkdir .\romdrive\sys\bin > NUL |
|
3088 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\interpretsis_testcase.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3089 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\interpretsis_testcase.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3090 if not %errorlevel%==0 GOTO LAST |
|
3091 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000.reg |
|
3092 if exist %exist_file% GOTO FAIL_FOUND |
|
3093 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000_0000.ctl |
|
3094 if exist %exist_file% GOTO FAIL_FOUND |
|
3095 set exist_file=.\romdrive\sys\bin\interpretsis_testcase_01.exe |
|
3096 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3097 set exist_file=.\romdrive\system\install\interpretsis_testcase_e8000097.sis |
|
3098 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3099 GOTO PASS_CLEAN |
|
3100 |
|
3101 :INT-RomInstall-04 |
|
3102 ::Testcase to Install SP to ROM (z) drive. |
|
3103 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\int_nr_option_01.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3104 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\sp_int_nr_option_01.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3105 if %errorlevel%==0 GOTO LAST |
|
3106 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000.reg |
|
3107 if exist %exist_file% GOTO FAIL_FOUND |
|
3108 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000_0000.ctl |
|
3109 if exist %exist_file% GOTO FAIL_FOUND |
|
3110 set exist_file=.\romdrive\documents\abc1.txt |
|
3111 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3112 set exist_file=.\romdrive\system\install\int_nr_option_01_80000086.sis |
|
3113 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3114 GOTO PASS_CLEAN |
|
3115 |
|
3116 :INT-RomInstall-05 |
|
3117 ::Testcase to Install PU to ROM (z) drive. |
|
3118 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\int_nr_option_01.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3119 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\pu_int_nr_option_01.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3120 if %errorlevel%==0 GOTO LAST |
|
3121 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000.reg |
|
3122 if exist %exist_file% GOTO FAIL_FOUND |
|
3123 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000_0000.ctl |
|
3124 if exist %exist_file% GOTO FAIL_FOUND |
|
3125 set exist_file=.\romdrive\documents\abc1.txt |
|
3126 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3127 set exist_file=.\romdrive\system\install\int_nr_option_01_80000086.sis |
|
3128 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3129 GOTO PASS_CLEAN |
|
3130 |
|
3131 :INT-RomInstall-06 |
|
3132 ::Testcase to overwrite orphan files when Installing to ROM (z) drive. |
|
3133 mkdir .\romdrive\documents > NUL |
|
3134 call copy \epoc32\winscw\c\tswi\teclipsing\data\file1.txt .\romdrive\documents\abc1.txt > NUL |
|
3135 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\int_nr_option_01.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3136 if not %errorlevel%==0 GOTO LAST |
|
3137 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000.reg |
|
3138 if exist %exist_file% GOTO FAIL_FOUND |
|
3139 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000_0000.ctl |
|
3140 if exist %exist_file% GOTO FAIL_FOUND |
|
3141 set exist_file=.\romdrive\documents\abc1.txt |
|
3142 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3143 set exist_file=.\romdrive\system\install\int_nr_option_01_80000086.sis |
|
3144 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3145 GOTO PASS_CLEAN |
|
3146 |
|
3147 :INT-RomInstall-07 |
|
3148 ::Testcase for installing multiple SA to ROM (z) drive using one CLI. |
|
3149 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\interpretsis_testcase.sis +z -s \epoc32\winscw\c\tswi\tsis\data\int_nr_option_01.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3150 if not %errorlevel%==0 GOTO LAST |
|
3151 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000.reg |
|
3152 if exist %exist_file% GOTO FAIL_FOUND |
|
3153 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000_0000.ctl |
|
3154 if exist %exist_file% GOTO FAIL_FOUND |
|
3155 set exist_file=.\romdrive\documents\abc1.txt |
|
3156 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3157 set exist_file=.\romdrive\system\install\int_nr_option_01_80000086.sis |
|
3158 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3159 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000.reg |
|
3160 if exist %exist_file% GOTO FAIL_FOUND |
|
3161 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000_0000.ctl |
|
3162 if exist %exist_file% GOTO FAIL_FOUND |
|
3163 set exist_file=.\romdrive\sys\bin\interpretsis_testcase_01.exe |
|
3164 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3165 set exist_file=.\romdrive\system\install\interpretsis_testcase_e8000097.sis |
|
3166 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3167 GOTO PASS_CLEAN |
|
3168 |
|
3169 |
|
3170 :INT-RomInstall-08 |
|
3171 ::Testcase for overwritting a file belonging to different SA. |
|
3172 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\int_nr_option_01.sis +z -s \epoc32\winscw\c\tswi\tsis\data\int_rominstall_01.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3173 if %errorlevel%==0 GOTO LAST |
|
3174 set exist_file=.\cdrive\sys\install\sisregistry\90000086\00000000.reg |
|
3175 if exist %exist_file% GOTO FAIL_FOUND |
|
3176 set exist_file=.\cdrive\sys\install\sisregistry\90000086\00000000_0000.ctl |
|
3177 if exist %exist_file% GOTO FAIL_FOUND |
|
3178 set exist_file=.\romdrive\documents\abc1.txt |
|
3179 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3180 set exist_file=.\romdrive\system\install\int_nr_option_01_80000086.sis |
|
3181 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3182 set exist_file=.\romdrive\system\install\int_romisntall_01_90000086.sis |
|
3183 if exist %exist_file% GOTO FAIL_FOUND |
|
3184 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000.reg |
|
3185 if exist %exist_file% GOTO FAIL_FOUND |
|
3186 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000_0000.ctl |
|
3187 if exist %exist_file% GOTO FAIL_FOUND |
|
3188 GOTO PASS_CLEAN |
|
3189 |
|
3190 :INT-RomInstall-09 |
|
3191 ::Testcase for Installing SA using SWI on Rom Stub |
|
3192 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\int_nr_option_01.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3193 if not %errorlevel%==0 GOTO LAST |
|
3194 call xcopy .\cdrive \epoc32\winscw\c /S /Y > NUL |
|
3195 call xcopy .\romdrive \epoc32\release\winscw\udeb\z /S /Y > NUL |
|
3196 if exist \epoc32\winscw\c\sys\install\sisregistry\backup.lst del \epoc32\winscw\c\sys\install\sisregistry\backup.lst > NUL |
|
3197 set exist_file=.\romdrive\documents\abc1.txt |
|
3198 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3199 set exist_file=.\romdrive\system\install\int_nr_option_01_80000086.sis |
|
3200 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3201 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000.reg |
|
3202 if exist %exist_file% GOTO FAIL_FOUND |
|
3203 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000_0000.ctl |
|
3204 if exist %exist_file% GOTO FAIL_FOUND |
|
3205 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
|
3206 GOTO END |
|
3207 |
|
3208 :INT-RomInstall-10 |
|
3209 ::Testcase for UnInstalling SA upgrade using SWI on Rom Stub |
|
3210 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\int_nr_option_01.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3211 if not %errorlevel%==0 GOTO LAST |
|
3212 call xcopy .\cdrive \epoc32\winscw\c /S /Y > NUL |
|
3213 call xcopy .\romdrive \epoc32\release\winscw\udeb\z /S /Y > NUL |
|
3214 if exist \epoc32\winscw\c\sys\install\sisregistry\backup.lst del \epoc32\winscw\c\sys\install\sisregistry\backup.lst > NUL |
|
3215 set exist_file=.\romdrive\documents\abc1.txt |
|
3216 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3217 set exist_file=.\romdrive\system\install\int_nr_option_01_80000086.sis |
|
3218 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3219 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000.reg |
|
3220 if exist %exist_file% GOTO FAIL_FOUND |
|
3221 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000_0000.ctl |
|
3222 if exist %exist_file% GOTO FAIL_FOUND |
|
3223 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
|
3224 GOTO END |
|
3225 |
|
3226 :INT-RomInstall-11 |
|
3227 ::Testcase for verifying drive selection for 'c' , '$', 'e', '!', 'z' from pkg files while installing to Rom (z) drive. |
|
3228 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\int_rominstall_03.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3229 if not %errorlevel%==0 GOTO LAST |
|
3230 set exist_file=.\romdrive\documents\abc1.txt |
|
3231 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3232 set exist_file=.\romdrive\documents\abc2.txt |
|
3233 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3234 set exist_file=.\romdrive\documents\abc3.txt |
|
3235 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3236 set exist_file=.\romdrive\documents\abc4.txt |
|
3237 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3238 set exist_file=.\romdrive\documents\abc5.txt |
|
3239 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3240 set exist_file=.\romdrive\documents\abc6.txt |
|
3241 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3242 set exist_file=.\romdrive\system\install\int_rominstall_03_80000086.sis |
|
3243 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3244 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000.reg |
|
3245 if exist %exist_file% GOTO FAIL_FOUND |
|
3246 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000_0000.ctl |
|
3247 if exist %exist_file% GOTO FAIL_FOUND |
|
3248 GOTO PASS_CLEAN |
|
3249 |
|
3250 :INT-RomInstall-12 |
|
3251 ::Testcase to validate that for Installing SIS file to ROM (z) drive, system drive should not be mentioned. |
|
3252 mkdir .\romdrive\sys\bin > NUL |
|
3253 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tsis\data\interpretsis_testcase.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3254 if %errorlevel%==0 GOTO LAST |
|
3255 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000.reg |
|
3256 if exist %exist_file% GOTO FAIL_FOUND |
|
3257 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000_0000.ctl |
|
3258 if exist %exist_file% GOTO FAIL_FOUND |
|
3259 set exist_file=.\romdrive\sys\bin\interpretsis_testcase_01.exe |
|
3260 if exist %exist_file% GOTO FAIL_FOUND |
|
3261 set exist_file=.\romdrive\system\install\interpretsis_testcase_e8000097.sis |
|
3262 if exist %exist_file% GOTO FAIL_FOUND |
|
3263 GOTO PASS_CLEAN |
|
3264 |
|
3265 :INT-RomInstall-13 |
|
3266 ::Testcase to validate that for Installing SA over SA with different file set to ROM (z) drive. |
|
3267 mkdir .\romdrive\sys\bin > NUL |
|
3268 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\int_rominstall_01.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3269 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\int_rominstall_04.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3270 if not %errorlevel%==0 GOTO LAST |
|
3271 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000.reg |
|
3272 if exist %exist_file% GOTO FAIL_FOUND |
|
3273 set exist_file=.\cdrive\sys\install\sisregistry\80000086\00000000_0000.ctl |
|
3274 if exist %exist_file% GOTO FAIL_FOUND |
|
3275 set exist_file=.\romdrive\documents\abc1.txt |
|
3276 if exist %exist_file% GOTO FAIL_FOUND |
|
3277 set exist_file=.\romdrive\documents\abc7.txt |
|
3278 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3279 set exist_file=.\romdrive\documents\abc8.txt |
|
3280 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3281 set exist_file=.\romdrive\system\install\int_rominstall_01_90000086.sis |
|
3282 if exist %exist_file% GOTO FAIL_FOUND |
|
3283 set exist_file=.\romdrive\system\install\int_rominstall_04_90000086.sis |
|
3284 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
3285 GOTO PASS_CLEAN |
|
3286 |
|
3287 :INT-RomInstall-14 |
|
3288 ::Testcase to validate that for Installing SIS file to ROM (z) drive, -z option is mendatory. |
|
3289 mkdir .\romdrive\sys\bin > NUL |
|
3290 call interpretsis -s \epoc32\winscw\c\tswi\tsis\data\interpretsis_testcase.sis +z -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3291 if %errorlevel%==0 GOTO LAST |
|
3292 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000.reg |
|
3293 if exist %exist_file% GOTO FAIL_FOUND |
|
3294 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000_0000.ctl |
|
3295 if exist %exist_file% GOTO FAIL_FOUND |
|
3296 set exist_file=.\romdrive\sys\bin\interpretsis_testcase_01.exe |
|
3297 if exist %exist_file% GOTO FAIL_FOUND |
|
3298 set exist_file=.\romdrive\system\install\interpretsis_testcase_e8000097.sis |
|
3299 if exist %exist_file% GOTO FAIL_FOUND |
|
3300 GOTO PASS_CLEAN |
|
3301 |
|
3302 :INT-RomInstall-15 |
|
3303 ::Testcase to validate that -s +z and -s +e cannot be used in same CLI with system drive defined. |
|
3304 :: the order of -s +e and -s +z are different then the testcase INT-RomInstall-17. Used to test both combination as each SIS file is installed saperately |
|
3305 mkdir .\romdrive\sys\bin > NUL |
|
3306 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tsis\data\interpretsis_testcase.sis +z -s \epoc32\winscw\c\tswi\tsis\data\int_nr_option_01.sis +e -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3307 if %errorlevel%==0 GOTO LAST |
|
3308 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000.reg |
|
3309 if exist %exist_file% GOTO FAIL_FOUND |
|
3310 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000_0000.ctl |
|
3311 if exist %exist_file% GOTO FAIL_FOUND |
|
3312 set exist_file=.\romdrive\sys\bin\interpretsis_testcase_01.exe |
|
3313 if exist %exist_file% GOTO FAIL_FOUND |
|
3314 set exist_file=.\romdrive\system\install\interpretsis_testcase_e8000097.sis |
|
3315 if exist %exist_file% GOTO FAIL_FOUND |
|
3316 GOTO PASS_CLEAN |
|
3317 |
|
3318 :INT-RomInstall-16 |
|
3319 ::Testcase to validate that -s +z and -s +e cannot be used in same CLI without system drive defined. |
|
3320 mkdir .\romdrive\sys\bin > NUL |
|
3321 if not exist \epoc32\winscw\e mkdir \epoc32\winscw\e > NUL |
|
3322 call interpretsis -z .\romdrive -s \epoc32\winscw\c\tswi\tsis\data\interpretsis_testcase.sis +z -s \epoc32\winscw\c\tswi\tsis\data\int_nr_option_01.sis +e -w info -i \epoc32\winscw\c\tswi\tinterpretsisinteg\parameters_file\int_nr_option_38.txt -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3323 if %errorlevel%==0 GOTO LAST |
|
3324 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000.reg |
|
3325 if exist %exist_file% GOTO FAIL_FOUND |
|
3326 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000_0000.ctl |
|
3327 if exist %exist_file% GOTO FAIL_FOUND |
|
3328 set exist_file=.\romdrive\sys\bin\interpretsis_testcase_01.exe |
|
3329 if exist %exist_file% GOTO FAIL_FOUND |
|
3330 set exist_file=.\romdrive\system\install\interpretsis_testcase_e8000097.sis |
|
3331 if exist %exist_file% GOTO FAIL_FOUND |
|
3332 GOTO PASS_CLEAN |
|
3333 |
|
3334 :INT-RomInstall-17 |
|
3335 ::Testcase to validate that -s +z and -s +e cannot be used in same CLI with system drive defined. |
|
3336 :: the order of -s +e and -s +z are different then the testcase INT-RomInstall-15. Used to test both combination as each SIS file is installed saperately |
|
3337 mkdir .\romdrive\sys\bin > NUL |
|
3338 if not exist \epoc32\winscw\e mkdir \epoc32\winscw\e > NUL |
|
3339 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tsis\data\int_nr_option_01.sis +e -s \epoc32\winscw\c\tswi\tsis\data\interpretsis_testcase.sis +z -w info -i \epoc32\winscw\c\tswi\tinterpretsisinteg\parameters_file\int_nr_option_38.txt -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
3340 if %errorlevel%==0 GOTO LAST |
|
3341 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000.reg |
|
3342 if exist %exist_file% GOTO FAIL_FOUND |
|
3343 set exist_file=.\cdrive\sys\install\sisregistry\e8000097\00000000_0000.ctl |
|
3344 if exist %exist_file% GOTO FAIL_FOUND |
|
3345 set exist_file=.\romdrive\sys\bin\interpretsis_testcase_01.exe |
|
3346 if exist %exist_file% GOTO FAIL_FOUND |
|
3347 set exist_file=.\romdrive\system\install\interpretsis_testcase_e8000097.sis |
|
3348 if exist %exist_file% GOTO FAIL_FOUND |
|
3349 GOTO PASS_CLEAN |
|
3350 |
3009 |
3351 |
3010 :PASS_CLEAN |
3352 :PASS_CLEAN |
3011 rmdir /S /Q .\cdrive > NUL |
3353 rmdir /S /Q .\cdrive > NUL |
3012 rmdir /S /Q .\romdrive > NUL |
3354 rmdir /S /Q .\romdrive > NUL |
3013 if exist \ddrive rmdir /S /Q \ddrive > NUL |
3355 if exist \ddrive rmdir /S /Q \ddrive > NUL |