Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

284 lines
7.6 KiB

  1. MANUAL FILE MANAGER PROFILE UNIT TESTS
  2. JonN 2/6/91
  3. revised 3/27/91
  4. The following is a list of tests to try to break the File Manager (FM)
  5. and Control Panel profile functionality of LANMAN.DRV. When GUILTT is
  6. ready, these tests can be done automatically; until then, we'll have to
  7. grunge them out.
  8. Win30/Win31 Real Mode
  9. Delete <LANROOT>\LMUSER.INI
  10. Start Windows
  11. Start File Manager and add a connection
  12. Exit Windows
  13. Check LMUSER.INI; it should not have been created
  14. Create LMUSER.INI, add entry "H:=\\harley\scratch(D,?)"
  15. Start Windows
  16. Start FM; there should be no H:
  17. Try to delete share to H:; there should be no share to H:
  18. Add share to H:
  19. Exit Windows; LMUSER.INI should be unchanged
  20. WIN30 Protect Mode
  21. // tests basic functionality
  22. LMUSER.INI should contain
  23. D:=\\harley\scratch(D,?)
  24. Log off
  25. Start Windows
  26. Log on from Control Panel
  27. Start FM -- D: \\harley\scratch should be connected
  28. Add connection E: to \\DEFICIT\LM
  29. Add connection F: to \\PHOENIX\SCRATCH
  30. Cancel connection E:
  31. Drive bar should show remote drives D: and F:
  32. Exit FM and Windows
  33. Try NET USE; you should see
  34. D: \\harley\scratch
  35. F: \\PHOENIX\SCRATCH
  36. Check LMUSER.INI: it should contain
  37. D:=\\harley\scratch(D,?)
  38. F:=\\PHOENIX\SCRATCH(D,?)
  39. // tests not logged on
  40. Log off
  41. Start Windows
  42. Start FM
  43. Try to add connection F: \\HARLEY\SCRATCH but refuse to log on
  44. From DOS VM, check LMUSER.INI: it should contain
  45. D:=\\harley\scratch(D,?)
  46. F:=\\PHOENIX\SCRATCH(D,?)
  47. Try to add connection F: \\HARLEY\SCRATCH and log on
  48. You cannot add connection to F:, it was connected by logon procedure
  49. From DOS VM, try NET USE; you should see
  50. D: \\harley\scratch
  51. F: \\PHOENIX\SCRATCH
  52. From DOS VM, check LMUSER.INI: it should contain
  53. D:=\\harley\scratch(D,?)
  54. F:=\\PHOENIX\SCRATCH(D,?)
  55. Try again to add connection F: \\DEFICIT\LM
  56. You cannot add connection to F:, Win30 FM does not recognize that
  57. you are logged on
  58. Exit and reenter FM
  59. Remove connection F: -- should succeed
  60. From DOS VM, try NET USE; you should see
  61. D: \\harley\scratch
  62. From DOS VM, check LMUSER.INI: it should contain
  63. D:=\\harley\scratch(D,?)
  64. Try again to add connection F: \\DEFICIT\LM -- should succeed
  65. Exit VM and Windows
  66. Try NET USE; you should see
  67. D: \\HARLEY\SCRATCH
  68. F; \\DEFICIT\LM
  69. Check LMUSER.INI: it should contain
  70. D:=\\harley\scratch(D,?)
  71. F:=\\DEFICIT\LM(D,?)
  72. WIN31 Protect Mode
  73. // tests basic functionality
  74. Stop Windows
  75. Log off
  76. Delete LMUSER.INI
  77. Start Windows
  78. Automatically log on, enter correct logon password
  79. Dismiss "logon successful" popup
  80. Open DOS VM from windows
  81. NET USE from DOS VM; should see no shares
  82. Check LMUSER.INI from DOS VM, should be empty
  83. Start FM, should see only local drives
  84. "&Disk:&Disconnect Net Drive..." menu item should be disabled
  85. Add redirection to Q: \\HARLEY\SCRATCH
  86. Try NET USE from DOS VM; you should see
  87. Q: \\HARLEY\SCRATCH
  88. Check LMUSER.INI from DOS VM: it should contain
  89. Q:=\\HARLEY\SCRATCH(D,?)
  90. "&Disk:&Disconnect Net Drive..." menu item should be enabled
  91. Add connection to R: \\DEFICIT\LM
  92. Try NET USE from DOS VM; you should see
  93. Q: \\HARLEY\SCRATCH
  94. R: \\DEFICIT\LM
  95. Check LMUSER.INI from DOS VM: it should contain
  96. Q:=\\HARLEY\SCRATCH(D,?)
  97. R:=\\DEFICIT\LM(D,?)
  98. "&Disk:&Disconnect Net Drive..." menu item should be enabled
  99. Delete redirection to Q: from FM
  100. Try NET USE from DOS VM; you should see
  101. R: \\DEFICIT\LM
  102. Check LMUSER.INI from DOS VM: it should contain
  103. R:=\\DEFICIT\LM(D,?)
  104. "&Disk:&Disconnect Net Drive..." menu item should be enabled
  105. Delete redirection to R: from FM
  106. Try NET USE from DOS VM; you should see no redirections
  107. Check LMUSER.INI from VM, should be an empty file
  108. "&Disk:&Disconnect Net Drive..." menu item should be disabled
  109. // tests autoreconnect and share password
  110. Edit LMUSER.INI to contain
  111. D:=\\harley\scratch(D,?)
  112. F:=\\DEFICIT\LM(D,?)
  113. H:=\\SERVER\NEEDSPASSWORD(D,?)
  114. I:=\\SERVER\NEEDSPASSWORD(D,?)
  115. J:=ALIAS(D,?)
  116. =JUNKRECORD(D,?)
  117. K:=(D,?)
  118. L:=
  119. M:=\\NOSUCH\SERVER(D,?)
  120. N:=\\harley\scratch(D,?)
  121. Log off
  122. Start Windows
  123. Automatically log on, enter correct logon password
  124. Enter wrong password for H:
  125. Dismiss error popup
  126. Cancel password prompt for H:
  127. Enter wrong password for I:
  128. Dismiss error popup
  129. Enter correct password for I:
  130. Dismiss error popup for J:
  131. Dismiss error popup for M:
  132. Dismiss "logon successful" popup
  133. Try NET USE from DOS VM; you should see
  134. D: \\HARLEY\SCRATCH
  135. F: \\DEFICIT\LM
  136. I: \\SERVER\NEEDSPASSWORD
  137. N: \\HARLEY\SCRATCH
  138. LMUSER.INI should be unchanged
  139. Enter FM
  140. Remove "unavailable" connection to H:
  141. Confirm removal
  142. Exit FM
  143. Exit Windows
  144. Try NET USE; you should see
  145. D: \\HARLEY\SCRATCH
  146. F: \\DEFICIT\LM
  147. I: \\SERVER\NEEDSPASSWORD
  148. N: \\HARLEY\SCRATCH
  149. LMUSER.INI should contain
  150. D:=\\harley\scratch(D,?)
  151. F:=\\DEFICIT\LM(D,?)
  152. I:=\\SERVER\NEEDSPASSWORD(D,?)
  153. J:=ALIAS(D,?)
  154. M:=\\NOSUCH\SERVER(D,?)
  155. N:=\\harley\scratch(D,?)
  156. MANUAL CONTROL PANEL PRINTERS PROFILE UNIT TESTS
  157. JonN 3/27/91
  158. The following is a list of tests to try to break the Control Panel --
  159. Printers profile functionality of LANMAN.DRV. When GUILTT is ready,
  160. these tests can be done automatically; until then, we'll have to
  161. grunge them out.
  162. WIN30 Protect Mode
  163. // tests basic functionality
  164. Edit LMUSER.INI to contain
  165. LPT1=\\prt12088-1\pool(S,?)
  166. LPT2=\\nosuch\printer(S,?)
  167. LPT3=ALIAS(S,?)
  168. LPT8=\\prt12088-1\pscript(S,?)
  169. Log off
  170. Start Windows
  171. Bring up Control Panel -> Printers -> Network
  172. Request Browse dialog
  173. Choose not to automatically log on (returned to previous dialog)
  174. Request Browse dialog
  175. Choose to automatically log on
  176. Provide correct logon password
  177. Dismiss error popups for LPT2, LPT3, LPT8
  178. Dismiss "logon successful" popup
  179. Dismiss browse dialog
  180. Connect LPT2 to \\prt12088-1\pool
  181. From DOS VM, try NET USE; you should see
  182. LPT1 \\prt12088-1\pool
  183. LPT2 \\prt12088-1\pool
  184. LMUSER.INI should contain
  185. LPT1=\\prt12088-1\pool(S,?)
  186. LPT2=\\prt12088-1\pool(S,?)
  187. LPT3=ALIAS(S,?)
  188. LPT8=\\prt12088-1\pscript(S,?)
  189. (Note that the Windows listbox only shows LPT2)
  190. Disconnect LPT2
  191. Try NET USE; you should see
  192. LPT1 \\prt12088-1\pool
  193. LMUSER.INI should contain
  194. LPT1=\\prt12088-1\pool(S,?)
  195. LPT3=ALIAS(S,?)
  196. LPT8=\\prt12088-1\pscript(S,?)
  197. (Note that the Windows listbox is now empty)
  198. WIN31 Protect Mode
  199. // tests basic functionality
  200. Stop Windows
  201. Log off
  202. Delete LMUSER.INI
  203. Start Windows
  204. Automatically log on, enter correct logon password
  205. Dismiss "logon successful" popup
  206. Open DOS VM from windows
  207. NET USE from DOS VM; should see no shares
  208. Check LMUSER.INI from DOS VM, should be empty
  209. Start Control Panel -> Printers -> Network
  210. Connect LPT1 to \\prt12088-1\pool
  211. Connect LPT2 to \\prt11049b\pscript
  212. Try NET USE from DOS VM; you should see
  213. LPT1 \\PRT12088-1\POOL
  214. LPT2 \\PRT11049B\PSCRIPT
  215. Check LMUSER.INI from DOS VM: it should contain
  216. LPT1=\\prt12088-1\pool(S,?)
  217. LPT2=\\prt11049b\pscript(S,?)
  218. Disconnect LPT1
  219. Try NET USE from DOS VM; you should see
  220. LPT2 \\PRT11049B\PSCRIPT
  221. Check LMUSER.INI from DOS VM: it should contain
  222. LPT2=\\prt11049b\pscript(S,?)
  223. Disconnect LPT2
  224. Try NET USE from DOS VM; you should see no reconnections
  225. Check LMUSER.INI from DOS VM: it should be empty
  226. // tests autoreconnect
  227. Edit LMUSER.INI to contain
  228. LPT1=\\PRT12088-1\POOL(S,?)
  229. LPT2=\\PRT12088-1\PSCRIPT(S,?)
  230. LPT3=ALIAS(S,?)
  231. LPT4=(S,?)
  232. LPT5=
  233. =\\prt12088-1\pool
  234. thisisaterriblejunkline
  235. Log off
  236. Start Windows
  237. Automatically log on, enter correct logon password
  238. Dismiss error popup for LPT3
  239. Dismiss "logon successful" popup
  240. Try NET USE from DOS VM; you should see
  241. LPT1: \\PRT12088-1\POOL
  242. LPT2: \\PRT12088-1\PSCRIPT
  243. LMUSER.INI should be unchanged
  244. Enter Control Panel -> Printers -> Network
  245. Remove "unavailable" connection to LPT3
  246. Confirm removal
  247. Disconnect LPT2
  248. Connect LPT2 to \\prt12088-1\niteapl
  249. Exit Control Panel
  250. Exit Windows
  251. Try NET USE; you should see
  252. LPT1: \\PRT12088-1\POOL
  253. LPT2: \\PRT12088-1\NITEAPL
  254. LMUSER.INI should contain
  255. LPT1=\\PRT12088-1\POOL(S,?)
  256. LPT2=\\prt12088-1\niteapl(S,?)