VirtualBox

Changeset 84797 in vbox for trunk/src


Ignore:
Timestamp:
Jun 11, 2020 3:14:20 PM (5 years ago)
Author:
vboxsync
Message:

Validation Kit/tdAddBasic1: Attempt to make TXS' updating mechanism work with using the combined VISO (GA + VaKit). See comments for details [build fix].

File:
1 edited

Legend:

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

    r84796 r84797  
    7373        # The file we're going to use as a beacon to wait if the Guest Additions CD-ROM is ready.
    7474        self.sFileCdWait = '';
     75        # Path pointing to the Guest Additions on the (V)ISO file.
     76        self.sPathGaISO  = '';
    7577
    7678        self.addSubTestDriver(SubTstDrvAddGuestCtrl(self));
     
    128130        #        So, using same dir as with unattended VISOs for the valkit.
    129131        #
    130         # Note2: We need to make sure that we don't change the location of the 
     132        # Note2: We need to make sure that we don't change the location of the
    131133        #        ValidationKit bits of the combined VISO, as this will break TXS' (TestExecService)
    132134        #        automatic updating mechanism (uses hardcoded paths, e.g. "{CDROM}/linux/amd64/TestExecService").
     
    380382        #
    381383        if oTestVm.sKind not in ('WindowsNT4', 'Windows2000', 'WindowsXP', 'Windows2003'):
    382             fRc = self.txsRunTest(oTxsSession, 'VBoxCertUtil.exe', 1 * 60 * 1000, 
     384            fRc = self.txsRunTest(oTxsSession, 'VBoxCertUtil.exe', 1 * 60 * 1000,
    383385                                   '%s/cert/VBoxCertUtil.exe' % self.sPathGaISO,
    384                                   ('%s/cert/VBoxCertUtil.exe' % self.sPathGaISO, 'add-trusted-publisher', 
     386                                  ('%s/cert/VBoxCertUtil.exe' % self.sPathGaISO, 'add-trusted-publisher',
    385387                                   '%s/cert/vbox-sha1.cer'    % self.sPathGaISO),
    386388                                  fCheckSessionStatus = True);
     
    388390                reporter.error('Error installing SHA1 certificate');
    389391            else:
    390                 fRc = self.txsRunTest(oTxsSession, 'VBoxCertUtil.exe', 1 * 60 * 1000, 
     392                fRc = self.txsRunTest(oTxsSession, 'VBoxCertUtil.exe', 1 * 60 * 1000,
    391393                                       '%s/cert/VBoxCertUtil.exe' % self.sPathGaISO,
    392394                                      ('%s/cert/VBoxCertUtil.exe' % self.sPathGaISO, 'add-trusted-publisher',
     
    426428        # Also tell the installer to produce the appropriate log files.
    427429        #
    428         fRc = self.txsRunTest(oTxsSession, 'VBoxWindowsAdditions.exe', 5 * 60 * 1000, 
     430        fRc = self.txsRunTest(oTxsSession, 'VBoxWindowsAdditions.exe', 5 * 60 * 1000,
    429431                               '%s/VBoxWindowsAdditions.exe' % self.sPathGaISO,
    430                               ('%s/VBoxWindowsAdditions.exe' % self.sPathGaISO, '/S', '/l', '/with_autologon'), 
     432                              ('%s/VBoxWindowsAdditions.exe' % self.sPathGaISO, '/S', '/l', '/with_autologon'),
    431433                              fCheckSessionStatus = True);
    432434
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