- Timestamp:
- Aug 28, 2024 5:05:42 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r105888 r105894 1778 1778 '/v', 'ImagePath', '/t', 'REG_SZ', '/d', sImagePath, '/f')); 1779 1779 elif oTestVm.isLinux(): 1780 sPathSed = oTestVm.pathJoin(self.oTstDrv.getGuestSystemDir(oTestVm), 'sed'); 1781 fRestartVBoxService = self.oTstDrv.txsRunTest(oTxsSession, 'Enabling VBoxService verbose logging', 30 * 1000, 1782 sPathSed, 1783 (sPathSed, '-i', '-e', 's/' 1784 '\\$2 \\$3' 1785 '/' 1786 '\\$2 \\$3 -vvvv --logfile \\/var\\/tmp\\/VBoxService\\/VBoxService.log' 1787 '/g', 1788 '/sbin/rcvboxadd-service')); 1780 # Need to use some stupid trickery here to locate the sed binary, 1781 # as this might differ on various Linux hosts, sigh. We also could use 'which' or some sort on the guest. 1782 # Note: Sorted by likeliness. 1783 asSedPaths = [ 1784 '/bin/sed', 1785 '/usr/bin/sed', 1786 '/usr/local/bin/sed' 1787 ]; 1788 fRc, sPathSed = self.locateGstBinary(oTxsSession, asSedPaths); 1789 if fRc: 1790 fRestartVBoxService = self.oTstDrv.txsRunTest(oTxsSession, 'Enabling VBoxService verbose logging', 30 * 1000, 1791 sPathSed, 1792 (sPathSed, '-i', '-e', 's/' 1793 '\\$2 \\$3' 1794 '/' 1795 '\\$2 \\$3 -vvvv --logfile \\/var\\/tmp\\/VBoxService\\/VBoxService.log' 1796 '/g', 1797 '/sbin/rcvboxadd-service')); 1789 1798 else: 1790 1799 reporter.log('Verbose logging for VBoxService not supported for this guest yet');
Note:
See TracChangeset
for help on using the changeset viewer.