Changeset 83637 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Apr 9, 2020 7:01:18 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r83636 r83637 1544 1544 try: 1545 1545 1546 self.vboxServiceControl(oTxsSession, oTestVm, fStart = False); 1547 1546 1548 if oTestVm.isLinux(): 1547 1549 reporter.log('Uploading %s ...' % self.oDebug.sImgPath); … … 1553 1555 oTxsSession.syncExec(sFileVBoxServiceGst, (sFileVBoxServiceGst, "-vvvv", "--only-control", \ 1554 1556 "--logfile", "/tmp/VBoxService-txs.log") ); 1557 elif oTestVm.isWindows(): 1558 reporter.log('Uploading %s ...' % self.oDebug.sImgPath); 1559 sFileVBoxServiceHst = self.oDebug.sImgPath; 1560 sFileVBoxServiceGst = os.path.join(SubTstDrvAddGuestCtrl.getGuestSystemDir(oTestVm), 'VBoxService.exe'); 1561 oTxsSession.syncUploadFile(sFileVBoxServiceHst, sFileVBoxServiceGst); 1562 sPathSC = os.path.join(SubTstDrvAddGuestCtrl.getGuestSystemDir(oTestVm), 'sc.exe'); 1563 oTxsSession.syncExec(sPathSC, (sPathSC, "stop", "VBoxService") ); 1564 time.sleep(5); 1565 oTxsSession.syncExec(sPathSC, (sPathSC, "start", "VBoxService") ); 1566 1555 1567 else: ## @todo Implement others. 1556 1568 reporter.log('Debugging not available on this guest OS yet, skipping ...'); 1569 1570 self.vboxServiceControl(oTxsSession, oTestVm, fStart = True); 1557 1571 1558 1572 except:
Note:
See TracChangeset
for help on using the changeset viewer.