summaryrefslogtreecommitdiffstats
path: root/src/VBox/ValidationKit/vms/t-dos622.txt
blob: 6fcd888f624b8a5d1fd77581c1a09a850d412cfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Test VM - t-dos622 - DOS 6.22
=============================

Setup:
 - Create a default DOS VM 't-dos622'.
 - Install DOS (single partition, etc).
 - Install CDROM driver (e.g. OAK).
 - Copy DosSleep.exe and DosVmOff.com onto the disk (C:\).
 - Create c:\test.bat with the following content:
     echo on

     echo TESTING chkdsk.exe C: >COM1
     dossleep 1
     C:\DOS\CHKDSK.EXE C:
     IF NOT ERRORLEVEL 0 goto fail

     echo TESTING msd.exe /P NUL >COM1
     dossleep 1
     C:\DOS\MSD.EXE /P NUL

     echo TESTING qbasic.exe /RUN C:\HELLO.BAS >COM1
     dossleep 1
     C:\DOS\QBASIC.EXE /RUN C:\HELLO.BAS
     IF NOT ERRORLEVEL 0 goto fail

     REM Done
     echo PASSED>COM1
     goto done

     :fail
     echo FAILED>COM1
     goto done

     :done
     echo Powering off the VM in 5 seconds...
     dossleep 1
     dossleep 1
     dossleep 1
     dossleep 1
     dossleep 1
     dosvmoff
     :exit
 - Create C:\HELLO.BAS with the following content:
     PRINT "Hello World!"
     SYSTEM
     END
 - Edit c:\autoexec.bat appending "echo on" and "call c:\test.bat".
 - Check that C:\config.sys contains himem.sys from windows and no emm386.