VirtualBox

Ignore:
Timestamp:
Jan 17, 2024 10:44:21 AM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161141
Message:

Validation Kit/tdAddGuestCtrl: Use testDriver::getGuestWinDir() for building up the path to VBoxControl. Should fix running on NT4 guests.

File:
1 edited

Legend:

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

    r102895 r102915  
    31403140
    31413141        # Paths:
    3142         sVBoxControl    = None; ## @todo Get path of installed Guest Additions. Later.
     3142        sVBoxControl    = None; # Only available on supported Windows guests.
    31433143        sShell          = self.oTstDrv.getGuestSystemShell(oTestVm);
    31443144        sShellOpt       = '/C' if oTestVm.isWindows() or oTestVm.isOS2() else '-c';
     
    31493149            sImageOut = self.oTstDrv.getGuestSystemShell(oTestVm);
    31503150            if oTestVm.isWindows():
    3151                 sVBoxControl = "C:\\Program Files\\Oracle\\VirtualBox Guest Additions\\VBoxControl.exe";
     3151                sVBoxControl = oTestVm.pathJoin(self.oTstDrv.getGuestWinDir(oTestVm), 'VBoxControl.exe');
    31523152        else:
    31533153            # Really old guests (like OL 6) have their coreutils in /bin instead of /usr/bin.
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