VirtualBox

Ignore:
Timestamp:
Nov 29, 2024 3:43:25 PM (2 months ago)
Author:
vboxsync
Message:

tests/additions/tdAddGuestCtrl.py: Use testdriver.getGuestAdditionsRevision() here, as the Guest Additions revision might be different from the currently used test driver.

File:
1 edited

Legend:

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

    r107175 r107197  
    17461746            sImagePath = '%s -vvvv --logfile %s' % (self.sPathVBoxServiceExeGst, sPathLogFile);
    17471747            # For newer revisions we use VBoxGuestInstallHelper.exe. Should work on all Windows versions.
    1748             if self.oTstDrv.fpApiVer >= 7.0 and self.oTstDrv.uRevision >= 166162:
     1748            if  self.oTstDrv.fpApiVer >= 7.0 \
     1749            and self.oTstDrv.isVersionEqualOrBigger(self.oTstDrv.getGuestAdditionsRevision(oSession), "166162"):
    17491750                # Right now we ASSUME that the installation directory always is the following:
    17501751                sRegEditorExePath     = 'C:\\Program Files\\Oracle\\VirtualBox Guest Additions\\VBoxGuestInstallHelper.exe';
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