Changeset 84112 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Apr 30, 2020 3:48:14 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r84108 r84112 3514 3514 sFile = 'valkit.txt'; 3515 3515 3516 reporter.log('txsCdWait: Waiting for file "%s" to become available ...' % (sFile,)); 3517 3516 3518 fRemoveVm = self.addTask(oSession); 3517 3519 fRemoveTxs = self.addTask(oTxsSession); … … 3522 3524 if fRc is True: 3523 3525 while True: 3524 reporter.log('txsCdWait: Waiting for file "%s" to become available ...' % (sFile,));3525 3526 # wait for it to complete. 3526 3527 oTask = self.waitForTasks(cMsTimeout2 + 1); … … 3549 3550 self.sleep(1); 3550 3551 3551 ## @todo Make this optional and identify guest OS type. 3552 reporter.log('txsCdWait: Listing root contents of ${CDROM}:'); 3553 oTxsSession.syncExec("/bin/ls", ("/bin/ls", "-al", "${CDROM}"), fIgnoreErrors = True); 3554 # ASSUMES that we always install Windows on drive C right now. 3555 # Does not run on ancient stuff which uses WINNT as %WinDir%. 3556 oTxsSession.syncExec("C:\\Windows\\System32\\cmd.exe", 3557 ("C:\\Windows\\System32\\cmd.exe", "/C", "dir", "${CDROM}"), 3558 fIgnoreErrors = True); 3559 3560 # resubmitt the task. 3552 # resubmit the task. 3561 3553 cMsTimeout2 = msStart + cMsTimeout - base.timestampMilli(); 3562 3554 if cMsTimeout2 < 500: … … 3568 3560 else: 3569 3561 reporter.error('txsCdWait: asyncIsFile failed'); 3562 3563 if not fRc: 3564 ## @todo Identify guest OS type and only run one of the following commands. 3565 reporter.log('txsCdWait: Listing root contents of ${CDROM}:'); 3566 oTxsSession.syncExec("/bin/ls", ("/bin/ls", "-al", "${CDROM}"), fIgnoreErrors = True); 3567 # ASSUMES that we always install Windows on drive C right now. 3568 oTxsSession.syncExec("C:\\Windows\\System32\\cmd.exe", 3569 ("C:\\Windows\\System32\\cmd.exe", "/C", "dir", "${CDROM}"), 3570 fIgnoreErrors = True); 3571 oTxsSession.syncExec("C:\\WINNT\\System32\\cmd.exe", 3572 ("C:\\WINNT\\System32\\cmd.exe", "/C", "dir", "${CDROM}"), 3573 fIgnoreErrors = True); 3570 3574 3571 3575 if fRemoveTxs:
Note:
See TracChangeset
for help on using the changeset viewer.