VirtualBox

Changeset 103278 in vbox


Ignore:
Timestamp:
Feb 8, 2024 12:56:10 PM (12 months ago)
Author:
vboxsync
Message:

ValidationKit/tests/tdUnitTest1: Don't use the output of VBoxManage when determining the version because that might fail if VBoxManage can't be found (seen on some macOS testboxes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/unittests/tdUnitTest1.py

    r103274 r103278  
    779779        """ Tries to figure which VBox version this is, setting self.aiVBoxVer. """
    780780        try:
    781             sVer = utils.processOutputChecked(['VBoxManage', '--version'])
     781            oVBox = self.oVBoxMgr.getVirtualBox();
     782            sVer = oVBox.version;
    782783
    783784            sVer = sVer.strip();
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