Changeset 84863 in vbox
- Timestamp:
- Jun 17, 2020 1:58:21 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r84862 r84863 1563 1563 sPathSC, (sPathSC, 'stop', 'VBoxService')); 1564 1564 elif oTestVm.isLinux(): 1565 sPathService = "/ usr/sbin/service";1565 sPathService = "/sbin/rcvboxadd-service"; 1566 1566 if fStart is True: 1567 1567 fRc = self.oTstDrv.txsRunTest(oTxsSession, 'Starting VBoxService with verbose logging', 30 * 1000, \ 1568 sPathService, (sPathService, 'start' , 'vboxadd-service'));1568 sPathService, (sPathService, 'start')); 1569 1569 else: 1570 1570 fRc = self.oTstDrv.txsRunTest(oTxsSession, 'Stopping VBoxService', 30 * 1000, \ 1571 sPathService, (sPathService, 'stop' , 'vboxadd-service'));1571 sPathService, (sPathService, 'stop')); 1572 1572 else: 1573 1573 reporter.log('Controlling VBoxService not supported for this guest yet'); … … 1626 1626 """ 1627 1627 _ = oSession; 1628 1629 #1630 # Wait for VBoxService to come up.1631 #1632 reporter.testStart('Waiting for VBoxService to get started');1633 fRc = self.waitForGuestFacility(oSession, vboxcon.AdditionsFacilityType_VBoxService, "VBoxService",1634 vboxcon.AdditionsFacilityStatus_Active);1635 reporter.testDone();1636 if not fRc:1637 return (False, oTxsSession);1638 1628 1639 1629 # … … 1669 1659 fRestartVBoxService = self.oTstDrv.txsRunTest(oTxsSession, 'Enabling VBoxService verbose logging', 30 * 1000, 1670 1660 sPathSed, 1671 (sPathSed, '-i', '-e', 1672 's/\\$1 \\$2 \\$3/\\$1 \\$2 \\$3 -vvvv --logfile \\/tmp\\/VBoxService\\/VBoxService.log/g', 1661 (sPathSed, '-i', '-e', 's/' 1662 '\\$2 \\$3' 1663 '/' 1664 '\\$2 \\$3 -vvvv --logfile \\/var\\/tmp\\/VBoxService\\/VBoxService.log' 1665 '/g', 1673 1666 '/sbin/rcvboxadd-service')); 1674 1667 else: … … 1679 1672 time.sleep(5); 1680 1673 self.vboxServiceControl(oTxsSession, oTestVm, fStart = True); 1674 else: 1675 reporter.testStart('Waiting for VBoxService to get started'); 1676 fRc = self.waitForGuestFacility(oSession, vboxcon.AdditionsFacilityType_VBoxService, "VBoxService", 1677 vboxcon.AdditionsFacilityStatus_Active); 1678 reporter.testDone(); 1679 if not fRc: 1680 return False; 1681 1681 1682 1682 #
Note:
See TracChangeset
for help on using the changeset viewer.