Changeset 84818 in vbox for trunk/src/VBox/ValidationKit/tests/additions
- Timestamp:
- Jun 12, 2020 5:11:33 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 138624
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py
r84817 r84818 74 74 self.sFileCdWait = ''; 75 75 # Path pointing to the Guest Additions on the (V)ISO file. 76 self.s PathGaISO= '';76 self.sGstPathGaPrefix = ''; 77 77 78 78 self.addSubTestDriver(SubTstDrvAddGuestCtrl(self)); … … 151 151 sGaIso = sGaViso; 152 152 153 self.s PathGaISO = '${CDROM}/vboxadditions';153 self.sGstPathGaPrefix = 'vboxadditions'; 154 154 else: 155 self.sPathGaISO = '${CDROM}'; 156 157 reporter.log2('Path to Guest Additions on ISO is "%s"' % self.sPathGaISO); 155 self.sGstPathGaPrefix = ''; 156 157 158 reporter.log2('Path to Guest Additions on ISO is "%s"' % self.sGstPathGaPrefix); 158 159 159 160 return self.oTestVmSet.actionConfig(self, eNic0AttachType = eNic0AttachType, sDvdImage = sGaIso); … … 211 212 212 213 if oTestVm.isWindows(): 213 self.sFileCdWait = ('%s/VBoxWindowsAdditions.exe' % (self.s PathGaISO,));214 self.sFileCdWait = ('%s/VBoxWindowsAdditions.exe' % (self.sGstPathGaPrefix,)); 214 215 elif oTestVm.isLinux(): 215 self.sFileCdWait = ('%s/VBoxLinuxAdditions.run' % (self.s PathGaISO,));216 self.sFileCdWait = ('%s/VBoxLinuxAdditions.run' % (self.sGstPathGaPrefix,)); 216 217 217 218 reporter.log2('Waiting for TXS + CD: %s' % (self.sFileCdWait,)); … … 386 387 if oTestVm.sKind not in ('WindowsNT4', 'Windows2000', 'WindowsXP', 'Windows2003'): 387 388 fRc = self.txsRunTest(oTxsSession, 'VBoxCertUtil.exe', 1 * 60 * 1000, 388 ' %s/cert/VBoxCertUtil.exe' % self.sPathGaISO,389 (' %s/cert/VBoxCertUtil.exe' % self.sPathGaISO, 'add-trusted-publisher',390 ' %s/cert/vbox-sha1.cer' % self.sPathGaISO),389 '${CDROM}/%s/cert/VBoxCertUtil.exe' % self.sGstPathGaPrefix, 390 ('${CDROM}/%s/cert/VBoxCertUtil.exe' % self.sGstPathGaPrefix, 'add-trusted-publisher', 391 '${CDROM}/%s/cert/vbox-sha1.cer' % self.sGstPathGaPrefix), 391 392 fCheckSessionStatus = True); 392 393 if not fRc: … … 394 395 else: 395 396 fRc = self.txsRunTest(oTxsSession, 'VBoxCertUtil.exe', 1 * 60 * 1000, 396 ' %s/cert/VBoxCertUtil.exe' % self.sPathGaISO,397 (' %s/cert/VBoxCertUtil.exe' % self.sPathGaISO, 'add-trusted-publisher',398 ' %s/cert/vbox-sha256.cer' % self.sPathGaISO), fCheckSessionStatus = True);397 '${CDROM}/%s/cert/VBoxCertUtil.exe' % self.sGstPathGaPrefix, 398 ('${CDROM}/%s/cert/VBoxCertUtil.exe' % self.sGstPathGaPrefix, 'add-trusted-publisher', 399 '${CDROM}/%s/cert/vbox-sha256.cer' % self.sGstPathGaPrefix), fCheckSessionStatus = True); 399 400 if not fRc: 400 401 reporter.error('Error installing SHA256 certificate'); … … 432 433 # 433 434 fRc = self.txsRunTest(oTxsSession, 'VBoxWindowsAdditions.exe', 5 * 60 * 1000, 434 ' %s/VBoxWindowsAdditions.exe' % self.sPathGaISO,435 (' %s/VBoxWindowsAdditions.exe' % self.sPathGaISO, '/S', '/l', '/with_autologon'),435 '${CDROM}/%s/VBoxWindowsAdditions.exe' % self.sGstPathGaPrefix, 436 ('${CDROM}/%s/VBoxWindowsAdditions.exe' % self.sGstPathGaPrefix, '/S', '/l', '/with_autologon'), 436 437 fCheckSessionStatus = True); 437 438 … … 491 492 fRc = self.txsRunTest(oTxsSession, 'VBoxLinuxAdditions.run', 30 * 60 * 1000, 492 493 self.getGuestSystemShell(oTestVm), 493 (self.getGuestSystemShell(oTestVm), '%s/VBoxLinuxAdditions.run' % self.sPathGaISO, '--nox11')); 494 (self.getGuestSystemShell(oTestVm), 495 '${CDROM}/%s/VBoxLinuxAdditions.run' % self.sGstPathGaPrefix, '--nox11')); 494 496 if not fRc: 495 497 iRc = self.getAdditionsInstallerResult(oTxsSession);
Note:
See TracChangeset
for help on using the changeset viewer.