VirtualBox

儲存庫 vbox 的更動 65310


忽略:
時間撮記:
2017-1-16 上午09:44:56 (8 年 以前)
作者:
vboxsync
訊息:

testdriver/vbox.py: On 'abort', kill the pids in the pid file before terminating VBoxSVC. Try get rid of the timed out testscript early.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r64431 r65310  
    17401740        Terminate VBoxSVC if we've got a pid file.
    17411741        """
    1742         self._killVBoxSVCByPidFile('%s/VBoxSVC.pid' % (self.sScratchPath,));
    1743         return base.TestDriver.actionAbort(self);
     1742        #
     1743        # Take default action first, then kill VBoxSVC.  The other way around
     1744        # is problematic since the testscript would continue running and possibly
     1745        # trigger a new VBoxSVC to start.
     1746        #
     1747        fRc1 = base.TestDriver.actionAbort(self);
     1748        fRc2 = self._killVBoxSVCByPidFile('%s/VBoxSVC.pid' % (self.sScratchPath,));
     1749        return fRc1 is True and fRc2 is True;
    17441750
    17451751    def onExit(self, iRc):
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette