Changeset 90644 in vbox for trunk/src/VBox/ValidationKit/tests
- Timestamp:
- Aug 12, 2021 7:37:31 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 146256
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/audio/tdAudioTest.py
r90643 r90644 214 214 os.system('taskkill /IM "%s.exe" /F' % (sProcName)); 215 215 else: # Note: killall is not available on older Debians (requires psmisc). 216 procPs = subprocess.Popen(['ps', 'ax'], stdout=subprocess.PIPE); # Using the BSD syntax here; MacOS also should understand this. 216 # Using the BSD syntax here; MacOS also should understand this. 217 procPs = subprocess.Popen(['ps', 'ax'], stdout=subprocess.PIPE); 217 218 out, _ = procPs.communicate(); 218 219 for sLine in out.decode("utf-8").splitlines(): … … 220 221 pid = int(sLine.split(None, 1)[0]); 221 222 reporter.log2('Killing PID %d' % (pid,)); 222 os.kill(pid, signal.SIGKILL); 223 os.kill(pid, signal.SIGKILL); # pylint: disable=no-member 223 224 224 225 def killHstVkat(self):
Note:
See TracChangeset
for help on using the changeset viewer.