VirtualBox

Changeset 109298 in vbox


Ignore:
Timestamp:
May 16, 2025 11:47:48 AM (8 days ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168902
Message:

tests/additions/tdAddGuestCtrl.py: Simplified Guest Additions revision checks.

File:
1 edited

Legend:

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

    r109278 r109298  
    22# -*- coding: utf-8 -*-
    33# pylint: disable=too-many-lines
     4# $Id$
    45
    56"""
     
    17471748            # For newer revisions we use VBoxGuestInstallHelper.exe. Should work on all Windows versions.
    17481749            if  self.oTstDrv.fpApiVer >= 7.0 \
    1749             and self.oTstDrv.isVersionEqualOrBigger(str(self.oTstDrv.getGuestAdditionsRevision(oSession)), "166162"):
     1750            and str(self.oTstDrv.getGuestAdditionsRevision(oSession)) >= "166162":
    17501751                sRegEditorExeBasePath = 'C:\\Program Files\\Oracle\\VirtualBox Guest Additions\\';
    17511752                if  self.oTstDrv.fpApiVer >= 7.2 \
    1752                 and self.oTstDrv.isVersionEqualOrBigger(str(self.oTstDrv.getGuestAdditionsRevision(oSession)), "168202"):
     1753                and str(self.oTstDrv.getGuestAdditionsRevision(oSession)) >= "168202":
    17531754                    sRegEditorExePath = sRegEditorExeBasePath + 'Tools\\VBoxGuestInstallHelper.exe';
    17541755                else:
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