Changeset 99698 in vbox
- Timestamp:
- May 9, 2023 12:25:48 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py
r99691 r99698 586 586 reporter.testDone(); 587 587 588 # Try to detect the display server running on the guest OS.589 # This might fail on pure server guest OSes (no X, no Wayland).590 if self.fpApiVer >= 7.1 and self.uRevision >= 157189:591 sVBoxClient = oTestVm.pathJoin(self.getGuestSystemDir(oTestVm, '/usr'), 'VBoxClient');592 fRc = fRc and self.txsRunTest(oTxsSession, 'Check display server detection', 5 * 60 * 1000,593 sVBoxClient, (sVBoxClient, '-v', '-v', '--session-detect'));594 595 588 return (fRc, oTxsSession); 596 589 … … 598 591 """ 599 592 Do run level tests. 593 594 Returns success status. 600 595 """ 601 596 … … 612 607 613 608 # Give the guest some time to build Guest Additions on system boot if needed. 614 return self.waitForGAs(oSession, cMsTimeout = 15 * 60 * 1000, aenmWaitForRunLevels = [ eExpectedRunLevel ]); 609 fRc = self.waitForGAs(oSession, cMsTimeout = 15 * 60 * 1000, aenmWaitForRunLevels = [ eExpectedRunLevel ]); 610 611 # Try to detect the display server running on the guest OS. 612 # This might fail on pure server guest OSes (no X, no Wayland). 613 if fRc \ 614 and oTestVm.isLinux(): 615 if self.fpApiVer >= 7.1 and self.uRevision >= 157189: 616 sVBoxClient = oTestVm.pathJoin(self.getGuestSystemDir(oTestVm, '/usr'), 'VBoxClient'); 617 fRc = fRc and self.txsRunTest(oTxsSession, 'Check display server detection', 5 * 60 * 1000, 618 sVBoxClient, (sVBoxClient, '-v', '-v', '--session-detect')); 619 return fRc; 615 620 616 621 def testIGuest_additionsVersion(self, oGuest):
Note:
See TracChangeset
for help on using the changeset viewer.