VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/vms/t-dos401-win30me.txt@ 78403

Last change on this file since 78403 was 70754, checked in by vboxsync, 7 years ago

More dos test descriptions

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
1
2Test VM - t-dos401-win30me - DOS 4.01 /w patch and Windows 3.0 Multimedia Edition
3=================================================================================
4
5Setup:
6 - Create a default DOS VM 't-dos401-win30me', but restrict the memory to 4MB.
7 - Install DOS (single partition, etc).
8 - Install CDROM driver (e.g. OAK).
9 - Install Window 3.0 multimedia edition into C:\MWINDOWS.
10 - Select tandy soundblaster driver, make sure to configure
11 them correctly (port 220, irq 5, dma 5/7) or they will hang
12 the system. Check that it works.
13 - Disable the tandy welcome screen.
14 - Copy DosSleep.exe, DosVmOff.com, and WinExit.exe onto the disk.
15 - Start the macro recorder (recorder.exe) in windows and record two different
16 macro files, both which are associated with Shift-F7 and play in normal time.
17 First C:\WinExit.Rec:
18 - [Anything that might be useful+easy to test in read mode]
19 - File->Run in the program manager using keyboard (Alt-F, R)
20 - Type in "C:\WinExit.exe" and enter (no mouse).
21 - Save macro.
22 Second (hit File->New first) C:\TestMM.Rec:
23 - File->Run in the program manager using keyboard (Alt-F, R)
24 - Type in "welcome.exe" and enter (no mouse).
25 - Wait for the tandy welcome animation to finish.
26 - [Anything else that might be useful+easy to test]
27 - File->Run in program manager again.
28 - Type in "C:\WinExit.exe" and enter (no mouse).
29 - Save macro.
30 - Edit win.ini changing the REC file association to:
31 rec=RECORDER.EXE -H +F7 ^.REC
32 This allows us to load .REC with Shift-F7 macros inside them at startup and
33 execute them. (Windows 3.0 didn't have a startup folder.)
34 - Make a copy of win.ini called win-mm.ini changing the 'load=scrnsvr.exe'
35 statement to 'load=c:\testmm.rec'.
36 - Make a copy of win.ini called win-exit.ini changing the 'load=scrnsvr.exe'
37 statement to 'load=c:\winexit.rec'.
38 - Create c:\test.bat with the following content:
39 :dos-stuff
40 echo TESTING chkdsk C: >COM1
41 dossleep 1
42 chkdsk c:
43 if not errorlevel 0 goto fail
44
45 echo TESTING c:\mwindows\msd.exe /f nul >COM1
46 dossleep 1
47 c:\mwindows\msd.exe /f nul
48 if not errorlevel 0 goto fail
49
50 :386mode
51 echo TESTING win /3 >COM1
52 dossleep 1
53 copy c:\mwindows\win-mm.ini c:\mwindows\win.ini
54 win /3
55 if not errorlevel 0 goto fail
56
57 :standardmode-max-4mb
58 echo TESTING win /s >COM1
59 dossleep 1
60 copy c:\mwindows\win-mm.ini c:\mwindows\win.ini
61 win /s
62 if not errorlevel 0 goto fail
63
64 :realmode
65 echo TESTING win /r >COM1
66 dossleep 1
67 copy c:\mwindows\win-exit.ini c:\mwindows\win.ini
68 win /r
69 if not errorlevel 0 goto fail
70
71 :success
72 echo PASSED>COM1
73 goto done
74
75 :fail
76 echo ERRORLEVEL=%ERRORLEVEL%
77 echo FAILED>COM1
78
79 :done
80 echo powering off the vm in 5 seconds...
81 dossleep 1
82 dossleep 1
83 dossleep 1
84 dossleep 1
85 dossleep 1
86 dosvmoff
87 - Edit c:\autoexec.bat appending "echo on" and "call c:\test.bat".
88
Note: See TracBrowser for help on using the repository browser.

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