branch | RCL_3 |
changeset 81 | 42552535c1ac |
parent 73 | 79647526f98c |
73:79647526f98c | 81:42552535c1ac |
---|---|
1 @rem |
1 @rem |
2 @rem Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 @rem All rights reserved. |
3 @rem All rights reserved. |
4 @rem This component and the accompanying materials are made available |
4 @rem This component and the accompanying materials are made available |
5 @rem under the terms of the License "Eclipse Public License v1.0" |
5 @rem under the terms of the License "Eclipse Public License v1.0" |
6 @rem which accompanies this distribution, and is available |
6 @rem which accompanies this distribution, and is available |
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
899 set exist_file=.\cdrive\sys\install\sisregistry\10286380\00000000_0000.ctl |
899 set exist_file=.\cdrive\sys\install\sisregistry\10286380\00000000_0000.ctl |
900 if exist %exist_file% GOTO FAIL_FOUND |
900 if exist %exist_file% GOTO FAIL_FOUND |
901 GOTO PASS_CLEAN |
901 GOTO PASS_CLEAN |
902 |
902 |
903 |
903 |
904 :INT002-019 |
|
905 if not exist \ddrive mkdir \ddrive > NUL |
|
906 if not exist .\edrive mkdir .\edrive > NUL |
|
907 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tsis\data\test_system_drive.sis +e -d g -i \epoc32\winscw\c\tswi\tinterpretsisinteg\data\config-drives.ini -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
908 if not %errorlevel%==0 GOTO LAST |
|
909 set exist_file=.\cdrive\sys\install\sisregistry\800000FD\00000000.reg |
|
910 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
911 set exist_file=.\cdrive\sys\install\sisregistry\800000FD\00000000_0000.ctl |
|
912 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
913 set exist_file=.\edrive\sys\install\sisregistry\800000FD\00000000_0000.ctl |
|
914 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
915 set exist_file=.\edrive\Documents\InstTest\upgrade1.txt |
|
916 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
917 set exist_file=.\cdrive\Documents\InstTest\upgrade2.txt |
|
918 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
919 set exist_file=.\edrive\Documents\InstTest\upgrade3.txt |
|
920 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
921 set exist_file=.\cdrive\Documents\InstTest\upgrade4.txt |
|
922 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
|
923 GOTO PASS_CLEAN |
|
924 |
|
925 |
|
926 :INT002-020 |
|
927 if not exist \ddrive mkdir \ddrive > NUL |
|
928 if not exist .\edrive mkdir .\edrive > NUL |
|
929 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tsis\data\test_system_drive.sis +e -d g -i \epoc32\winscw\c\tswi\tinterpretsisinteg\data\config-drives.ini -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
930 call interpretsis -z .\romdrive -c .\cdrive -x 0x800000FD +e -d g -i \epoc32\winscw\c\tswi\tinterpretsisinteg\data\config-drives.ini -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
|
931 if not %errorlevel%==0 GOTO LAST |
|
932 set exist_file=.\cdrive\sys\install\sisregistry\800000FD\00000000.reg |
|
933 if exist %exist_file% GOTO FAIL_FOUND |
|
934 set exist_file=.\cdrive\sys\install\sisregistry\800000FD\00000000_0000.ctl |
|
935 if exist %exist_file% GOTO FAIL_FOUND |
|
936 set exist_file=.\edrive\sys\install\sisregistry\800000FD\00000000_0000.ctl |
|
937 if exist %exist_file% GOTO FAIL_FOUND |
|
938 set exist_file=.\edrive\Documents\InstTest\upgrade1.txt |
|
939 if exist %exist_file% GOTO FAIL_FOUND |
|
940 set exist_file=.\cdrive\Documents\InstTest\upgrade2.txt |
|
941 if exist %exist_file% GOTO FAIL_FOUND |
|
942 set exist_file=.\edrive\Documents\InstTest\upgrade3.txt |
|
943 if exist %exist_file% GOTO FAIL_FOUND |
|
944 set exist_file=.\cdrive\Documents\InstTest\upgrade4.txt |
|
945 if exist %exist_file% GOTO FAIL_FOUND |
|
946 GOTO PASS_CLEAN |
|
947 |
|
948 :SWI002-001 |
904 :SWI002-001 |
949 if not exist .\romdrive\sys\bin\ mkdir .\romdrive\sys\bin\ |
905 if not exist .\romdrive\sys\bin\ mkdir .\romdrive\sys\bin\ |
950 if not exist .\romdrive\private\10273582\ mkdir .\romdrive\private\10273582\ |
906 if not exist .\romdrive\private\10273582\ mkdir .\romdrive\private\10273582\ |
951 if not exist .\romdrive\cr1027test\ mkdir .\romdrive\cr1027test\ |
907 if not exist .\romdrive\cr1027test\ mkdir .\romdrive\cr1027test\ |
952 call xcopy \epoc32\winscw\c\tswi\teclipsing\data\CR1027ROMUpgradeStub.sis .\romdrive\system\install\ > NUL |
908 call xcopy \epoc32\winscw\c\tswi\teclipsing\data\CR1027ROMUpgradeStub.sis .\romdrive\system\install\ > NUL |
1932 if not exist .\romdrive\system\install mkdir .\romdrive\system\install > NUL |
1888 if not exist .\romdrive\system\install mkdir .\romdrive\system\install > NUL |
1933 if not exist .\romdrive\system\data mkdir .\romdrive\system\data > NUL |
1889 if not exist .\romdrive\system\data mkdir .\romdrive\system\data > NUL |
1934 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_5_3.txt .\romdrive\system\data\sisregistry_5.3.txt > NUL |
1890 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_5_3.txt .\romdrive\system\data\sisregistry_5.3.txt > NUL |
1935 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1891 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1936 if not %errorlevel%==0 GOTO LAST |
1892 if not %errorlevel%==0 GOTO LAST |
1937 call fc /c .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_53\00000000.reg | find "FC: no differences encountered" > NUL |
1893 call fc .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_53\00000000.reg | find "FC: no differences encountered" > NUL |
1938 if not %errorlevel%==0 GOTO LAST |
1894 if not %errorlevel%==0 GOTO LAST |
1939 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1895 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1940 GOTO PASS_CLEAN |
1896 GOTO PASS_CLEAN |
1941 |
1897 |
1942 |
1898 |
1946 if exist .\romdrive\system\data rmdir .\romdrive\system\data /S /Q > NUL |
1902 if exist .\romdrive\system\data rmdir .\romdrive\system\data /S /Q > NUL |
1947 mkdir .\romdrive\system\data |
1903 mkdir .\romdrive\system\data |
1948 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_5_1.txt .\romdrive\system\data\sisregistry_5.1.txt > NUL |
1904 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_5_1.txt .\romdrive\system\data\sisregistry_5.1.txt > NUL |
1949 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1905 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1950 if not %errorlevel%==0 GOTO LAST |
1906 if not %errorlevel%==0 GOTO LAST |
1951 call fc /c .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_51\00000000.reg | find "FC: no differences encountered" > NUL |
1907 call fc .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_51\00000000.reg | find "FC: no differences encountered" > NUL |
1952 if not %errorlevel%==0 GOTO LAST |
1908 if not %errorlevel%==0 GOTO LAST |
1953 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1909 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1954 GOTO PASS_CLEAN |
1910 GOTO PASS_CLEAN |
1955 |
1911 |
1956 |
1912 |
1960 if exist .\romdrive\system\data\ del .\romdrive\system\data\ /F /Q> NUL |
1916 if exist .\romdrive\system\data\ del .\romdrive\system\data\ /F /Q> NUL |
1961 mkdir .\romdrive\system\data\ > NUL |
1917 mkdir .\romdrive\system\data\ > NUL |
1962 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_4_1.txt .\romdrive\system\data\sisregistry_4.0.txt > NUL |
1918 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_4_1.txt .\romdrive\system\data\sisregistry_4.0.txt > NUL |
1963 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1919 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1964 if not %errorlevel%==0 GOTO LAST |
1920 if not %errorlevel%==0 GOTO LAST |
1965 call fc /c .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_40\00000000.reg | find "FC: no differences encountered" > NUL |
1921 call fc .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_40\00000000.reg | find "FC: no differences encountered" > NUL |
1966 if not %errorlevel%==0 GOTO LAST |
1922 if not %errorlevel%==0 GOTO LAST |
1967 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1923 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1968 GOTO PASS_CLEAN |
1924 GOTO PASS_CLEAN |
1969 |
1925 |
1970 |
1926 |
1971 :INT008-004 |
1927 :INT008-004 |
1972 if not exist .\romdrive\system\install mkdir .\romdrive\system\install > NUL |
1928 if not exist .\romdrive\system\install mkdir .\romdrive\system\install > NUL |
1973 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -k 5.3 -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1929 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -k 5.3 -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1974 if not %errorlevel%==0 GOTO LAST |
1930 if not %errorlevel%==0 GOTO LAST |
1975 call fc /c .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_53\00000000.reg | find "FC: no differences encountered" > NUL |
1931 call fc .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_53\00000000.reg | find "FC: no differences encountered" > NUL |
1976 if not %errorlevel%==0 GOTO LAST |
1932 if not %errorlevel%==0 GOTO LAST |
1977 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1933 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1978 GOTO PASS_CLEAN |
1934 GOTO PASS_CLEAN |
1979 |
1935 |
1980 |
1936 |
1982 if not exist .\romdrive\system\install mkdir .\romdrive\system\install > NUL |
1938 if not exist .\romdrive\system\install mkdir .\romdrive\system\install > NUL |
1983 if not exist .\romdrive\system\data mkdir .\romdrive\system\data > NUL |
1939 if not exist .\romdrive\system\data mkdir .\romdrive\system\data > NUL |
1984 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_4_1.txt .\romdrive\system\data\sisregistry_4.0.txt > NUL |
1940 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_4_1.txt .\romdrive\system\data\sisregistry_4.0.txt > NUL |
1985 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -k 5.3 -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1941 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -k 5.3 -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1986 if not %errorlevel%==0 GOTO LAST |
1942 if not %errorlevel%==0 GOTO LAST |
1987 call fc /c .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_53\00000000.reg | find "FC: no differences encountered" > NUL |
1943 call fc .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_53\00000000.reg | find "FC: no differences encountered" > NUL |
1988 if not %errorlevel%==0 GOTO LAST |
1944 if not %errorlevel%==0 GOTO LAST |
1989 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1945 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1990 GOTO PASS_CLEAN |
1946 GOTO PASS_CLEAN |
1991 |
1947 |
1992 |
1948 |
1994 if not exist .\romdrive\system\install mkdir .\romdrive\system\install > NUL |
1950 if not exist .\romdrive\system\install mkdir .\romdrive\system\install > NUL |
1995 if not exist .\romdrive\system\data mkdir .\romdrive\system\data > NUL |
1951 if not exist .\romdrive\system\data mkdir .\romdrive\system\data > NUL |
1996 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_5_3.txt .\romdrive\system\data\sisregistry_5.3.txt > NUL |
1952 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_5_3.txt .\romdrive\system\data\sisregistry_5.3.txt > NUL |
1997 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1953 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1998 if not %errorlevel%==0 GOTO LAST |
1954 if not %errorlevel%==0 GOTO LAST |
1999 call fc /c .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_53\00000000.reg | find "FC: no differences encountered" > NUL |
1955 call fc .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_53\00000000.reg | find "FC: no differences encountered" > NUL |
2000 if not %errorlevel%==0 GOTO LAST |
1956 if not %errorlevel%==0 GOTO LAST |
2001 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1957 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
2002 GOTO PASS_CLEAN |
1958 GOTO PASS_CLEAN |
2003 |
1959 |
2004 |
1960 |
2006 if exist .\romdrive\system\data rmdir .\romdrive\system\data /S /Q > NUL |
1962 if exist .\romdrive\system\data rmdir .\romdrive\system\data /S /Q > NUL |
2007 mkdir .\romdrive\system\data |
1963 mkdir .\romdrive\system\data |
2008 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_5_1.txt .\romdrive\system\data\sisregistry_5.1.txt > NUL |
1964 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_5_1.txt .\romdrive\system\data\sisregistry_5.1.txt > NUL |
2009 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1965 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
2010 if not %errorlevel%==0 GOTO LAST |
1966 if not %errorlevel%==0 GOTO LAST |
2011 call fc /c .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_51\00000000.reg | find "FC: no differences encountered" > NUL |
1967 call fc .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_51\00000000.reg | find "FC: no differences encountered" > NUL |
2012 if not %errorlevel%==0 GOTO LAST |
1968 if not %errorlevel%==0 GOTO LAST |
2013 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1969 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
2014 GOTO PASS_CLEAN |
1970 GOTO PASS_CLEAN |
2015 |
1971 |
2016 |
1972 |
2018 if not exist .\romdrive\system\install mkdir .\romdrive\system\install > NUL |
1974 if not exist .\romdrive\system\install mkdir .\romdrive\system\install > NUL |
2019 if not exist .\romdrive\system\data mkdir .\romdrive\system\data > NUL |
1975 if not exist .\romdrive\system\data mkdir .\romdrive\system\data > NUL |
2020 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_5_3.txt .\romdrive\system\data\sisregistry_5.3.txt > NUL |
1976 call copy \epoc32\winscw\c\tswi\tinterpretsisinteg\data\version_5_3.txt .\romdrive\system\data\sisregistry_5.3.txt > NUL |
2021 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
1977 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\simple.sis -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
2022 if not %errorlevel%==0 GOTO LAST |
1978 if not %errorlevel%==0 GOTO LAST |
2023 call fc /c .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_53\00000000.reg | find "FC: no differences encountered" > NUL |
1979 call fc .\cdrive\sys\install\sisregistry\80000001\00000000.reg \epoc32\winscw\c\tswi\tinterpretsisinteg\data\80000001_53\00000000.reg | find "FC: no differences encountered" > NUL |
2024 if not %errorlevel%==0 GOTO LAST |
1980 if not %errorlevel%==0 GOTO LAST |
2025 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
1981 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
2026 GOTO PASS_CLEAN |
1982 GOTO PASS_CLEAN |
2027 |
1983 |
2028 |
1984 |
2545 if not exist .\edrive mkdir .\edrive > NUL |
2501 if not exist .\edrive mkdir .\edrive > NUL |
2546 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\ruromupgraderucertsa_diffdrive_h4_sucert.sis +e +mcard +sucert -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt -i \epoc32\winscw\c\tswi\tinterpretsisinteg\data\config-drives.ini > NUL |
2502 call interpretsis -z .\romdrive -c .\cdrive -s \epoc32\winscw\c\tswi\tinterpretsisinteg\data\ruromupgraderucertsa_diffdrive_h4_sucert.sis +e +mcard +sucert -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt -i \epoc32\winscw\c\tswi\tinterpretsisinteg\data\config-drives.ini > NUL |
2547 if not %errorlevel%==0 GOTO LAST |
2503 if not %errorlevel%==0 GOTO LAST |
2548 set exist_file=.\edrive\private\10202dce\802730A9_0.sis |
2504 set exist_file=.\edrive\private\10202dce\802730A9_0.sis |
2549 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
2505 if not exist %exist_file% GOTO FAIL_NOT_FOUND |
2550 call fc /c .\edrive\private\10202dce\802730A9_0.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\data\802730A9_0.sis | find "FC: no differences encountered" > NUL |
2506 call fc .\edrive\private\10202dce\802730A9_0.sis \epoc32\winscw\c\tswi\tinterpretsisinteg\data\802730A9_0.sis | find "FC: no differences encountered" > NUL |
2551 if not %errorlevel%==0 GOTO LAST |
2507 if not %errorlevel%==0 GOTO LAST |
2552 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
2508 ECHO ***ERRORCODE*** %errorlevel% PASS>>\epoc32\winscw\c\interpretsis_test_harness.txt |
2553 GOTO PASS_CLEAN |
2509 GOTO PASS_CLEAN |
2554 |
2510 |
2555 |
2511 |
3046 :INT014-001 |
3002 :INT014-001 |
3047 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdatainc124436\inc124436.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\inc124436.sis > NUL |
3003 call makesis \epoc32\winscw\c\tswi\tinterpretsisinteg\testdatainc124436\inc124436.pkg \epoc32\winscw\c\tswi\tinterpretsisinteg\sisfiles\inc124436.sis > NUL |
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 |
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 |
3049 call interpretsis -z .\romdrive -c .\cdrive -x 0x81111105 -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
3005 call interpretsis -z .\romdrive -c .\cdrive -x 0x81111105 -w info -l \epoc32\winscw\c\interpretsis_test_harness.txt > NUL |
3050 if not %errorlevel%==0 GOTO LAST |
3006 if not %errorlevel%==0 GOTO LAST |
3051 GOTO PASS_CLEAN |
|
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 |
3007 GOTO PASS_CLEAN |
3350 |
3008 |
3351 |
3009 |
3352 :PASS_CLEAN |
3010 :PASS_CLEAN |
3353 rmdir /S /Q .\cdrive > NUL |
3011 rmdir /S /Q .\cdrive > NUL |