Changeset 83793 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Apr 18, 2020 1:16:17 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r83736 r83793 1617 1617 return reporter.error('Failed to create directory "%s"!' % (sDir,)); 1618 1618 1619 if oTestVm.isWindows():1620 sGuestSlash = '\\';1621 else:1622 sGuestSlash = '/';1623 1624 1619 # 1625 1620 # Enable VBoxService verbose logging. 1626 1621 # 1627 self.oDebug.sVBoxServiceLogPath = self.getGuestTempDir(oTestVm) + sGuestSlash + "VBoxService";1622 self.oDebug.sVBoxServiceLogPath = oTestVm.pathJoin(self.getGuestTempDir(oTestVm), "VBoxService"); 1628 1623 if oTxsSession.syncMkDirPath(self.oDebug.sVBoxServiceLogPath, 0o777) is not True: 1629 1624 return reporter.error('Failed to create directory "%s"!' % (self.oDebug.sVBoxServiceLogPath,)); 1630 sPathLogFile = o s.path.join(self.oDebug.sVBoxServiceLogPath, 'VBoxService.log');1625 sPathLogFile = oTestVm.pathJoin(self.oDebug.sVBoxServiceLogPath, 'VBoxService.log'); 1631 1626 1632 1627 reporter.log('VBoxService logs will be stored in "%s"' % (self.oDebug.sVBoxServiceLogPath,)); 1633 1628 1634 1629 if oTestVm.isWindows(): 1635 sPathRegExe = self.getGuestSystemDir(oTestVm) + sGuestSlash + 'reg.exe';1636 sPathVBoxServiceExe = self.getGuestSystemDir(oTestVm) + sGuestSlash + 'VBoxService.exe';1630 sPathRegExe = oTestVm.pathJoin(self.getGuestSystemDir(oTestVm), 'reg.exe'); 1631 sPathVBoxServiceExe = oTestVm.pathJoin(self.getGuestSystemDir(oTestVm), 'VBoxService.exe'); 1637 1632 sImagePath = '%s -vvvv --logfile %s' % (sPathVBoxServiceExe, sPathLogFile); 1638 1633 self.oTstDrv.txsRunTest(oTxsSession, 'Enabling VBoxService verbose logging (via registry)', 30 * 1000,
Note:
See TracChangeset
for help on using the changeset viewer.