VirtualBox

Ignore:
Timestamp:
May 8, 2023 1:16:50 PM (22 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157201
Message:

Validation Kit/VBoxClient: Always test for detecting the display server using "--session-detect" in VBoxClient (not only when skipping guest reboot). bugref:10427

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py

    r99662 r99672  
    576576                                          '/sbin/rcvboxadd', 'status-user'));
    577577                    if fRc and oTxsSession.isSuccess():
    578                         # Try to detect the display server running on the guest OS.
    579                         # This might fail on pure server guest OSes (no X, no Wayland).
    580                         if  self.fpApiVer >= 7.1 and self.uRevision >= 157189:
    581                             sVBoxClient = oTestVm.pathJoin(self.getGuestSystemDir(oTestVm, 'usr'), 'VBoxClient');
    582                             fRc = self.txsRunTest(oTxsSession, 'Check display server detection', 5 * 60 * 1000,
    583                                                   sVBoxClient, (sVBoxClient, '--session-detect'));
     578                        pass;
    584579                    else:
    585580                        fRc = False;
     
    590585            if fRc:
    591586                reporter.testDone();
     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, '--session-detect'));
    592594
    593595        return (fRc, oTxsSession);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette