Changeset 98597 in vbox
- Timestamp:
- Feb 15, 2023 11:05:34 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155883
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r98596 r98597 1604 1604 if oTestVm.isWindows(): 1605 1605 sPathSC = os.path.join(self.oTstDrv.getGuestSystemDir(oTestVm), 'sc.exe'); 1606 if oTestVm.sKind in ('WindowsNT3x', 'WindowsNT4', 'Windows2000',): # W2K too? 1607 sPathSC = os.path.join(self.oTstDrv.getGuestSystemDir(oTestVm), 'net.exe'); 1606 1608 if fStart is True: 1607 fRc = self.oTstDrv.txsRunTest(oTxsSession, 'Starting VBoxService', 30 * 1000, \1609 fRc = self.oTstDrv.txsRunTest(oTxsSession, 'Starting VBoxService', 30 * 1000, 1608 1610 sPathSC, (sPathSC, 'start', 'VBoxService')); 1609 1611 else: 1610 fRc = self.oTstDrv.txsRunTest(oTxsSession, 'Stopping VBoxService', 30 * 1000, \1612 fRc = self.oTstDrv.txsRunTest(oTxsSession, 'Stopping VBoxService', 30 * 1000, 1611 1613 sPathSC, (sPathSC, 'stop', 'VBoxService')); 1612 1614 elif oTestVm.isLinux(): 1613 1615 sPathService = "/sbin/rcvboxadd-service"; 1614 1616 if fStart is True: 1615 fRc = self.oTstDrv.txsRunTest(oTxsSession, 'Starting VBoxService', 30 * 1000, \1617 fRc = self.oTstDrv.txsRunTest(oTxsSession, 'Starting VBoxService', 30 * 1000, 1616 1618 sPathService, (sPathService, 'start')); 1617 1619 else: 1618 fRc = self.oTstDrv.txsRunTest(oTxsSession, 'Stopping VBoxService', 30 * 1000, \1620 fRc = self.oTstDrv.txsRunTest(oTxsSession, 'Stopping VBoxService', 30 * 1000, 1619 1621 sPathService, (sPathService, 'stop')); 1620 1622 else: … … 1688 1690 fEnableVerboseLogging = False; 1689 1691 1690 # On Windows guests we always can enable verbose logging. 1691 if oTestVm.isWindows() :1692 # On Windows guests we always can enable verbose logging. NT4 and W2K doesn't have reg.exe nor (at least NT4) sc.exe. 1693 if oTestVm.isWindows() and oTestVm.sKind not in ('WindowsNT4', 'Windows2000',): 1692 1694 fEnableVerboseLogging = True; 1693 1695
Note:
See TracChangeset
for help on using the changeset viewer.