VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/vms/t-dos622.txt@ 100782

最後變更 在這個檔案從100782是 70758,由 vboxsync 提交於 7 年 前

More dos test descriptions.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.1 KB
 
1
2Test VM - t-dos622 - DOS 6.22
3=============================
4
5Setup:
6 - Create a default DOS VM 't-dos622'.
7 - Install DOS (single partition, etc).
8 - Install CDROM driver (e.g. OAK).
9 - Copy DosSleep.exe and DosVmOff.com onto the disk (C:\).
10 - Create c:\test.bat with the following content:
11 echo on
12
13 echo TESTING chkdsk.exe C: >COM1
14 dossleep 1
15 C:\DOS\CHKDSK.EXE C:
16 IF NOT ERRORLEVEL 0 goto fail
17
18 echo TESTING msd.exe /P NUL >COM1
19 dossleep 1
20 C:\DOS\MSD.EXE /P NUL
21
22 echo TESTING qbasic.exe /RUN C:\HELLO.BAS >COM1
23 dossleep 1
24 C:\DOS\QBASIC.EXE /RUN C:\HELLO.BAS
25 IF NOT ERRORLEVEL 0 goto fail
26
27 REM Done
28 echo PASSED>COM1
29 goto done
30
31 :fail
32 echo FAILED>COM1
33 goto done
34
35 :done
36 echo Powering off the VM in 5 seconds...
37 dossleep 1
38 dossleep 1
39 dossleep 1
40 dossleep 1
41 dossleep 1
42 dosvmoff
43 :exit
44 - Create C:\HELLO.BAS with the following content:
45 PRINT "Hello World!"
46 SYSTEM
47 END
48 - Edit c:\autoexec.bat appending "echo on" and "call c:\test.bat".
49 - Check that C:\config.sys contains himem.sys from windows and no emm386.
50
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette