VirtualBox

Changeset 78797 in vbox for trunk/src


Ignore:
Timestamp:
May 28, 2019 1:51:18 AM (6 years ago)
Author:
vboxsync
Message:

ValKit: various updates.

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

Legend:

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

    r78675 r78797  
    208208            (fRc, oTxsSession) = self.testLinuxInstallAdditions(oSession, oTxsSession, oTestVm);
    209209        else:
    210             reporter.error('Guest Additions installation not implemented for %s yet! (%s)' % \
     210            reporter.error('Guest Additions installation not implemented for %s yet! (%s)' %
    211211                           (oTestVm.sKind, oTestVm.sVmName,));
    212212            fRc = False;
     
    249249        Since this involves rebooting the guest, we will have to create a new TXS session.
    250250        """
     251
     252        #
     253        # Install the public signing key.
     254        #
     255        if oTestVm.sKind not in ('WindowsNT4', 'Windows2000', 'WindowsXP', 'Windows2003'):
     256            self.txsRunTest(oTxsSession, 'VBoxCertUtil.exe', 1 * 60 * 1000, '${CDROM}/cert/VBoxCertUtil.exe',
     257                            ('${CDROM}/cert/VBoxCertUtil.exe', 'add-trusted-publisher', '${CDROM}/cert/vbox-sha1.cer'));
     258            self.txsRunTest(oTxsSession, 'VBoxCertUtil.exe', 1 * 60 * 1000, '${CDROM}/cert/VBoxCertUtil.exe',
     259                            ('${CDROM}/cert/VBoxCertUtil.exe', 'add-trusted-publisher', '${CDROM}/cert/vbox-sha256.cer'));
     260
     261        #
     262        # Delete relevant log files.
     263        #
     264        # Note! On some guests the files in question still can be locked by the OS, so ignore
     265        #       deletion errors from the guest side (e.g. sharing violations) and just continue.
     266        #
    251267        asLogFiles = [];
    252 
    253268        fHaveSetupApiDevLog = False;
    254 
    255         # Delete relevant log files.
    256269        if oTestVm.sKind in ('WindowsNT4',):
    257270            sWinDir = 'C:/WinNT/';
     
    268281                                                   '/v', 'LogLevel', '/t', 'REG_DWORD', '/d', '0xFF'));
    269282
    270         # On some guests the files in question still can be locked by the OS, so ignore deletion
    271         # errors from the guest side (e.g. sharing violations) and just continue.
    272283        for sFile in asLogFiles:
    273284            self.txsRmFile(oSession, oTxsSession, sFile, 10 * 1000, fIgnoreErrors = True);
    274 
    275         # Install the public signing key.
    276         if oTestVm.sKind not in ('WindowsNT4', 'Windows2000', 'WindowsXP', 'Windows2003'):
    277             ## TODO
    278             pass;
    279285
    280286        #
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddSharedFolders1.py

    r78678 r78797  
    8282        reporter.log('  --add-shared-folders-tests <t1[:t2[:]]>');
    8383        reporter.log('      Default: all  (%s)' % (':'.join(self.asTestsDef)));
    84         reporter.log('  --add-shared-folders-extra-args <fsperf-arg>');
     84        reporter.log('  --add-shared-folders-extra-arg <fsperf-arg>');
    8585        reporter.log('      Adds an extra FsPerf argument.  Can be repeated.');
    8686
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