285 lines
7.6 KiB
Plaintext
285 lines
7.6 KiB
Plaintext
|
MANUAL FILE MANAGER PROFILE UNIT TESTS
|
||
|
JonN 2/6/91
|
||
|
revised 3/27/91
|
||
|
|
||
|
The following is a list of tests to try to break the File Manager (FM)
|
||
|
and Control Panel profile functionality of LANMAN.DRV. When GUILTT is
|
||
|
ready, these tests can be done automatically; until then, we'll have to
|
||
|
grunge them out.
|
||
|
|
||
|
|
||
|
Win30/Win31 Real Mode
|
||
|
|
||
|
Delete <LANROOT>\LMUSER.INI
|
||
|
Start Windows
|
||
|
Start File Manager and add a connection
|
||
|
Exit Windows
|
||
|
Check LMUSER.INI; it should not have been created
|
||
|
Create LMUSER.INI, add entry "H:=\\harley\scratch(D,?)"
|
||
|
Start Windows
|
||
|
Start FM; there should be no H:
|
||
|
Try to delete share to H:; there should be no share to H:
|
||
|
Add share to H:
|
||
|
Exit Windows; LMUSER.INI should be unchanged
|
||
|
|
||
|
|
||
|
|
||
|
WIN30 Protect Mode
|
||
|
|
||
|
// tests basic functionality
|
||
|
LMUSER.INI should contain
|
||
|
D:=\\harley\scratch(D,?)
|
||
|
Log off
|
||
|
Start Windows
|
||
|
Log on from Control Panel
|
||
|
Start FM -- D: \\harley\scratch should be connected
|
||
|
Add connection E: to \\DEFICIT\LM
|
||
|
Add connection F: to \\PHOENIX\SCRATCH
|
||
|
Cancel connection E:
|
||
|
Drive bar should show remote drives D: and F:
|
||
|
Exit FM and Windows
|
||
|
Try NET USE; you should see
|
||
|
D: \\harley\scratch
|
||
|
F: \\PHOENIX\SCRATCH
|
||
|
Check LMUSER.INI: it should contain
|
||
|
D:=\\harley\scratch(D,?)
|
||
|
F:=\\PHOENIX\SCRATCH(D,?)
|
||
|
|
||
|
// tests not logged on
|
||
|
Log off
|
||
|
Start Windows
|
||
|
Start FM
|
||
|
Try to add connection F: \\HARLEY\SCRATCH but refuse to log on
|
||
|
From DOS VM, check LMUSER.INI: it should contain
|
||
|
D:=\\harley\scratch(D,?)
|
||
|
F:=\\PHOENIX\SCRATCH(D,?)
|
||
|
Try to add connection F: \\HARLEY\SCRATCH and log on
|
||
|
You cannot add connection to F:, it was connected by logon procedure
|
||
|
From DOS VM, try NET USE; you should see
|
||
|
D: \\harley\scratch
|
||
|
F: \\PHOENIX\SCRATCH
|
||
|
From DOS VM, check LMUSER.INI: it should contain
|
||
|
D:=\\harley\scratch(D,?)
|
||
|
F:=\\PHOENIX\SCRATCH(D,?)
|
||
|
Try again to add connection F: \\DEFICIT\LM
|
||
|
You cannot add connection to F:, Win30 FM does not recognize that
|
||
|
you are logged on
|
||
|
Exit and reenter FM
|
||
|
Remove connection F: -- should succeed
|
||
|
From DOS VM, try NET USE; you should see
|
||
|
D: \\harley\scratch
|
||
|
From DOS VM, check LMUSER.INI: it should contain
|
||
|
D:=\\harley\scratch(D,?)
|
||
|
Try again to add connection F: \\DEFICIT\LM -- should succeed
|
||
|
Exit VM and Windows
|
||
|
Try NET USE; you should see
|
||
|
D: \\HARLEY\SCRATCH
|
||
|
F; \\DEFICIT\LM
|
||
|
Check LMUSER.INI: it should contain
|
||
|
D:=\\harley\scratch(D,?)
|
||
|
F:=\\DEFICIT\LM(D,?)
|
||
|
|
||
|
|
||
|
|
||
|
WIN31 Protect Mode
|
||
|
|
||
|
// tests basic functionality
|
||
|
Stop Windows
|
||
|
Log off
|
||
|
Delete LMUSER.INI
|
||
|
Start Windows
|
||
|
Automatically log on, enter correct logon password
|
||
|
Dismiss "logon successful" popup
|
||
|
Open DOS VM from windows
|
||
|
NET USE from DOS VM; should see no shares
|
||
|
Check LMUSER.INI from DOS VM, should be empty
|
||
|
Start FM, should see only local drives
|
||
|
"&Disk:&Disconnect Net Drive..." menu item should be disabled
|
||
|
Add redirection to Q: \\HARLEY\SCRATCH
|
||
|
Try NET USE from DOS VM; you should see
|
||
|
Q: \\HARLEY\SCRATCH
|
||
|
Check LMUSER.INI from DOS VM: it should contain
|
||
|
Q:=\\HARLEY\SCRATCH(D,?)
|
||
|
"&Disk:&Disconnect Net Drive..." menu item should be enabled
|
||
|
Add connection to R: \\DEFICIT\LM
|
||
|
Try NET USE from DOS VM; you should see
|
||
|
Q: \\HARLEY\SCRATCH
|
||
|
R: \\DEFICIT\LM
|
||
|
Check LMUSER.INI from DOS VM: it should contain
|
||
|
Q:=\\HARLEY\SCRATCH(D,?)
|
||
|
R:=\\DEFICIT\LM(D,?)
|
||
|
"&Disk:&Disconnect Net Drive..." menu item should be enabled
|
||
|
Delete redirection to Q: from FM
|
||
|
Try NET USE from DOS VM; you should see
|
||
|
R: \\DEFICIT\LM
|
||
|
Check LMUSER.INI from DOS VM: it should contain
|
||
|
R:=\\DEFICIT\LM(D,?)
|
||
|
"&Disk:&Disconnect Net Drive..." menu item should be enabled
|
||
|
Delete redirection to R: from FM
|
||
|
Try NET USE from DOS VM; you should see no redirections
|
||
|
Check LMUSER.INI from VM, should be an empty file
|
||
|
"&Disk:&Disconnect Net Drive..." menu item should be disabled
|
||
|
|
||
|
// tests autoreconnect and share password
|
||
|
Edit LMUSER.INI to contain
|
||
|
D:=\\harley\scratch(D,?)
|
||
|
F:=\\DEFICIT\LM(D,?)
|
||
|
H:=\\SERVER\NEEDSPASSWORD(D,?)
|
||
|
I:=\\SERVER\NEEDSPASSWORD(D,?)
|
||
|
J:=ALIAS(D,?)
|
||
|
=JUNKRECORD(D,?)
|
||
|
K:=(D,?)
|
||
|
L:=
|
||
|
M:=\\NOSUCH\SERVER(D,?)
|
||
|
N:=\\harley\scratch(D,?)
|
||
|
Log off
|
||
|
Start Windows
|
||
|
Automatically log on, enter correct logon password
|
||
|
Enter wrong password for H:
|
||
|
Dismiss error popup
|
||
|
Cancel password prompt for H:
|
||
|
Enter wrong password for I:
|
||
|
Dismiss error popup
|
||
|
Enter correct password for I:
|
||
|
Dismiss error popup for J:
|
||
|
Dismiss error popup for M:
|
||
|
Dismiss "logon successful" popup
|
||
|
Try NET USE from DOS VM; you should see
|
||
|
D: \\HARLEY\SCRATCH
|
||
|
F: \\DEFICIT\LM
|
||
|
I: \\SERVER\NEEDSPASSWORD
|
||
|
N: \\HARLEY\SCRATCH
|
||
|
LMUSER.INI should be unchanged
|
||
|
Enter FM
|
||
|
Remove "unavailable" connection to H:
|
||
|
Confirm removal
|
||
|
Exit FM
|
||
|
Exit Windows
|
||
|
Try NET USE; you should see
|
||
|
D: \\HARLEY\SCRATCH
|
||
|
F: \\DEFICIT\LM
|
||
|
I: \\SERVER\NEEDSPASSWORD
|
||
|
N: \\HARLEY\SCRATCH
|
||
|
LMUSER.INI should contain
|
||
|
D:=\\harley\scratch(D,?)
|
||
|
F:=\\DEFICIT\LM(D,?)
|
||
|
I:=\\SERVER\NEEDSPASSWORD(D,?)
|
||
|
J:=ALIAS(D,?)
|
||
|
M:=\\NOSUCH\SERVER(D,?)
|
||
|
N:=\\harley\scratch(D,?)
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
MANUAL CONTROL PANEL PRINTERS PROFILE UNIT TESTS
|
||
|
JonN 3/27/91
|
||
|
|
||
|
The following is a list of tests to try to break the Control Panel --
|
||
|
Printers profile functionality of LANMAN.DRV. When GUILTT is ready,
|
||
|
these tests can be done automatically; until then, we'll have to
|
||
|
grunge them out.
|
||
|
|
||
|
|
||
|
WIN30 Protect Mode
|
||
|
|
||
|
// tests basic functionality
|
||
|
Edit LMUSER.INI to contain
|
||
|
LPT1=\\prt12088-1\pool(S,?)
|
||
|
LPT2=\\nosuch\printer(S,?)
|
||
|
LPT3=ALIAS(S,?)
|
||
|
LPT8=\\prt12088-1\pscript(S,?)
|
||
|
Log off
|
||
|
Start Windows
|
||
|
Bring up Control Panel -> Printers -> Network
|
||
|
Request Browse dialog
|
||
|
Choose not to automatically log on (returned to previous dialog)
|
||
|
Request Browse dialog
|
||
|
Choose to automatically log on
|
||
|
Provide correct logon password
|
||
|
Dismiss error popups for LPT2, LPT3, LPT8
|
||
|
Dismiss "logon successful" popup
|
||
|
Dismiss browse dialog
|
||
|
Connect LPT2 to \\prt12088-1\pool
|
||
|
From DOS VM, try NET USE; you should see
|
||
|
LPT1 \\prt12088-1\pool
|
||
|
LPT2 \\prt12088-1\pool
|
||
|
LMUSER.INI should contain
|
||
|
LPT1=\\prt12088-1\pool(S,?)
|
||
|
LPT2=\\prt12088-1\pool(S,?)
|
||
|
LPT3=ALIAS(S,?)
|
||
|
LPT8=\\prt12088-1\pscript(S,?)
|
||
|
(Note that the Windows listbox only shows LPT2)
|
||
|
Disconnect LPT2
|
||
|
Try NET USE; you should see
|
||
|
LPT1 \\prt12088-1\pool
|
||
|
LMUSER.INI should contain
|
||
|
LPT1=\\prt12088-1\pool(S,?)
|
||
|
LPT3=ALIAS(S,?)
|
||
|
LPT8=\\prt12088-1\pscript(S,?)
|
||
|
(Note that the Windows listbox is now empty)
|
||
|
|
||
|
|
||
|
|
||
|
WIN31 Protect Mode
|
||
|
|
||
|
// tests basic functionality
|
||
|
Stop Windows
|
||
|
Log off
|
||
|
Delete LMUSER.INI
|
||
|
Start Windows
|
||
|
Automatically log on, enter correct logon password
|
||
|
Dismiss "logon successful" popup
|
||
|
Open DOS VM from windows
|
||
|
NET USE from DOS VM; should see no shares
|
||
|
Check LMUSER.INI from DOS VM, should be empty
|
||
|
Start Control Panel -> Printers -> Network
|
||
|
Connect LPT1 to \\prt12088-1\pool
|
||
|
Connect LPT2 to \\prt11049b\pscript
|
||
|
Try NET USE from DOS VM; you should see
|
||
|
LPT1 \\PRT12088-1\POOL
|
||
|
LPT2 \\PRT11049B\PSCRIPT
|
||
|
Check LMUSER.INI from DOS VM: it should contain
|
||
|
LPT1=\\prt12088-1\pool(S,?)
|
||
|
LPT2=\\prt11049b\pscript(S,?)
|
||
|
Disconnect LPT1
|
||
|
Try NET USE from DOS VM; you should see
|
||
|
LPT2 \\PRT11049B\PSCRIPT
|
||
|
Check LMUSER.INI from DOS VM: it should contain
|
||
|
LPT2=\\prt11049b\pscript(S,?)
|
||
|
Disconnect LPT2
|
||
|
Try NET USE from DOS VM; you should see no reconnections
|
||
|
Check LMUSER.INI from DOS VM: it should be empty
|
||
|
|
||
|
// tests autoreconnect
|
||
|
Edit LMUSER.INI to contain
|
||
|
LPT1=\\PRT12088-1\POOL(S,?)
|
||
|
LPT2=\\PRT12088-1\PSCRIPT(S,?)
|
||
|
LPT3=ALIAS(S,?)
|
||
|
LPT4=(S,?)
|
||
|
LPT5=
|
||
|
=\\prt12088-1\pool
|
||
|
thisisaterriblejunkline
|
||
|
Log off
|
||
|
Start Windows
|
||
|
Automatically log on, enter correct logon password
|
||
|
Dismiss error popup for LPT3
|
||
|
Dismiss "logon successful" popup
|
||
|
Try NET USE from DOS VM; you should see
|
||
|
LPT1: \\PRT12088-1\POOL
|
||
|
LPT2: \\PRT12088-1\PSCRIPT
|
||
|
LMUSER.INI should be unchanged
|
||
|
Enter Control Panel -> Printers -> Network
|
||
|
Remove "unavailable" connection to LPT3
|
||
|
Confirm removal
|
||
|
Disconnect LPT2
|
||
|
Connect LPT2 to \\prt12088-1\niteapl
|
||
|
Exit Control Panel
|
||
|
Exit Windows
|
||
|
Try NET USE; you should see
|
||
|
LPT1: \\PRT12088-1\POOL
|
||
|
LPT2: \\PRT12088-1\NITEAPL
|
||
|
LMUSER.INI should contain
|
||
|
LPT1=\\PRT12088-1\POOL(S,?)
|
||
|
LPT2=\\prt12088-1\niteapl(S,?)
|