VirtualBox

Changeset 54585 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 2, 2015 5:06:49 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
98724
Message:

ValidationKit: disabled network cleanup script for all test boxes

File:
1 edited

Legend:

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

    r54548 r54585  
    714714        # It seems that running the NDIS cleanup script upon uninstallation is not
    715715        # a good idea, so let's run it before installing VirtualBox.
    716         sHostName = socket.getfqdn();
    717         if    not sHostName.startswith('testboxwin3') \
    718           and not sHostName.startswith('testboxharp2') \
    719           and not sHostName.startswith('wei01-b6ka-3') \
    720           and utils.getHostOsVersion() in ['8', '8.1', '9', '2008Server', '2008ServerR2', '2012Server']:
    721             reporter.log('Peforming extra NDIS cleanup...');
    722             sMagicScript = os.path.abspath(os.path.join(g_ksValidationKitDir, 'testdriver', 'win-vbox-net-uninstall.ps1'));
    723             fRc2, _ = self._sudoExecuteSync(['powershell.exe', '-Command', 'set-executionpolicy unrestricted']);
    724             if not fRc2:
    725                 reporter.log('set-executionpolicy failed.');
    726             self._sudoExecuteSync(['powershell.exe', '-Command', 'get-executionpolicy']);
    727             fRc2, _ = self._sudoExecuteSync(['powershell.exe', '-File', sMagicScript]);
    728             if not fRc2:
    729                 reporter.log('NDIS cleanup failed.');
     716        #sHostName = socket.getfqdn();
     717        #if    not sHostName.startswith('testboxwin3') \
     718        #  and not sHostName.startswith('testboxharp2') \
     719        #  and not sHostName.startswith('wei01-b6ka-3') \
     720        #  and utils.getHostOsVersion() in ['8', '8.1', '9', '2008Server', '2008ServerR2', '2012Server']:
     721        #    reporter.log('Peforming extra NDIS cleanup...');
     722        #    sMagicScript = os.path.abspath(os.path.join(g_ksValidationKitDir, 'testdriver', 'win-vbox-net-uninstall.ps1'));
     723        #    fRc2, _ = self._sudoExecuteSync(['powershell.exe', '-Command', 'set-executionpolicy unrestricted']);
     724        #    if not fRc2:
     725        #        reporter.log('set-executionpolicy failed.');
     726        #    self._sudoExecuteSync(['powershell.exe', '-Command', 'get-executionpolicy']);
     727        #    fRc2, _ = self._sudoExecuteSync(['powershell.exe', '-File', sMagicScript]);
     728        #    if not fRc2:
     729        #        reporter.log('NDIS cleanup failed.');
    730730        # TEMPORARY HACK - END
    731731
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