VirtualBox

Changeset 99490 in vbox


Ignore:
Timestamp:
Apr 20, 2023 3:47:05 PM (20 months ago)
Author:
vboxsync
Message:

Validation Kit/Guest Additions: Added kludge for getting the Guest Additions on tst-rhel5 to install. This ancient test VM has Guest Additions 3.0.14 (pre-)installed already.

Location:
trunk/src/VBox/ValidationKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxtestvms.py

    r99450 r99490  
    19831983        #       sKind = 'Ubuntu_64', acCpusSup = range(1, 33), fIoApic = True, sFirmwareType = 'efi',
    19841984        #       asParavirtModesSup = [g_ksParavirtProviderKVM,]),
     1985        # Note: Has ancient Guest Additions 3.0.14 installed already.
    19851986        TestVm('tst-rhel5',                 kfGrpSmoke,           sHd = '3.0/tcp/rhel5.vdi',
    19861987               sKind = 'RedHat', acCpusSup = range(1, 33), fIoApic = True, sNic0AttachType = 'nat'),
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py

    r99400 r99490  
    511511        # Make sure to add "--nox11" to the makeself wrapper in order to not getting any blocking
    512512        # xterm window spawned.
     513        asArgs = [ '--nox11' ];
     514
     515        # Ugly kludge to make tst-rhel5 (or any other borked test VM) work which (accidentally?) have old(er) Guest Additions
     516        # version pre-installed.
     517        #
     518        # This forces our installer (inside the makeself wrapper, hence the "--") to install, regardless of whether there already
     519        # are any (older) Guest Additions installed already.
     520        if oTestVm.sVmName == "tst-rhel5":
     521            asArgs.extend( [ "--", "--force" ] );
     522
    513523        fRc = self.txsRunTest(oTxsSession, 'VBoxLinuxAdditions.run', 30 * 60 * 1000,
    514524                              self.getGuestSystemShell(oTestVm),
    515525                              (self.getGuestSystemShell(oTestVm),
    516                               '${CDROM}/%s/VBoxLinuxAdditions.run' % self.sGstPathGaPrefix, '--nox11'));
     526                              '${CDROM}/%s/VBoxLinuxAdditions.run' % self.sGstPathGaPrefix, asArgs));
    517527        if fRc and oTxsSession.isSuccess():
    518528            reporter.log('Installation completed');
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