Changeset 75625 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Nov 20, 2018 4:43:18 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxinstaller.py
r75623 r75625 468 468 if sHost == 'darwin': fRc = self._uninstallVBoxOnDarwin(); 469 469 elif sHost == 'linux': fRc = self._uninstallVBoxOnLinux(); 470 elif sHost == 'solaris': fRc = self._uninstallVBoxOnSolaris( );470 elif sHost == 'solaris': fRc = self._uninstallVBoxOnSolaris(True); 471 471 elif sHost == 'win': fRc = self._uninstallVBoxOnWindows(True); 472 472 else: … … 703 703 704 704 # Uninstall first (ignore result). 705 self._uninstallVBoxOnSolaris( );705 self._uninstallVBoxOnSolaris(False); 706 706 707 707 # Install the new one. … … 709 709 return fRc; 710 710 711 def _uninstallVBoxOnSolaris(self ):711 def _uninstallVBoxOnSolaris(self, fRestartSvcConfigD): 712 712 """ Uninstalls VBox on Solaris.""" 713 713 reporter.flushall(); … … 723 723 # The restarter will then start a new instance of it. 724 724 # 725 time.sleep(1); # Give it a chance to flush pkgrm stuff. 726 self._sudoExecuteSync(['pkill', '-HUP', 'svc.configd']); 727 time.sleep(5); # Spare a few cpu cycles it to shutdown and restart. 725 if fRestartSvcConfigD: 726 time.sleep(1); # Give it a chance to flush pkgrm stuff. 727 self._sudoExecuteSync(['pkill', '-HUP', 'svc.configd']); 728 time.sleep(5); # Spare a few cpu cycles it to shutdown and restart. 728 729 729 730 return fRc;
Note:
See TracChangeset
for help on using the changeset viewer.