VirtualBox

Changeset 80236 in vbox


Ignore:
Timestamp:
Aug 12, 2019 8:46:57 PM (5 years ago)
Author:
vboxsync
Message:

ValKit/vboxinstaller.py: Seems we're not quite uninstalling vboxnetadp, so we'll have to check whether it is stopped or running before really complaining about it. Sigh.

File:
1 edited

Legend:

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

    r80234 r80236  
    927927            fRc2, _ = self._sudoExecuteSync(['sc.exe', 'query', sService]);
    928928            if fRc2 is True:
     929                if sService in ['vboxnetadp',]: # Temp hack! ## @todo fix uninstallation of vboxnetadp!
     930                    try:
     931                        sOutput = utils.sudoProcessOutputChecked(['sc.exe', 'query', sService]);
     932                    except:
     933                        reporter.logXcpt();
     934                    else:
     935                        if re.search(r'STATE\s+:\s*1\s*STOPPED', sOutput) is not None:
     936                            reporter.log('Ignoring "%s" as it seems to be stopped!' % (sService,));
     937                            continue;
    929938                asLeftovers.append(sService,);
    930939                if fIgnoreServices is False:
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