VirtualBox

Ignore:
Timestamp:
May 8, 2023 10:02:25 AM (20 months ago)
Author:
vboxsync
Message:

Validation Kit/VBoxClient: Added a test for detecting the display server using "--session-detect" in VBoxClient. bugref:10427

File:
1 edited

Legend:

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

    r99506 r99661  
    576576                                          '/sbin/rcvboxadd', 'status-user'));
    577577                    if fRc and oTxsSession.isSuccess():
    578                         pass;
     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.oTstDrv.fpApiVer >= 7.1 and self.oTstDrv.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'));
    579584                    else:
    580585                        fRc = False;
Note: See TracChangeset for help on using the changeset viewer.

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