commit | 385620b87c63eeaa7a5d0085425671bb19839e2f | [log] [tgz] |
---|---|---|
author | Christopher Wiley <[email protected]> | Sat Mar 21 21:50:53 2015 -0700 |
committer | ChromeOS Commit Bot <[email protected]> | Mon Mar 23 19:24:11 2015 +0000 |
tree | 0fd9b93e8ab0e83bcbb0cd023875bcb607df6d1a | |
parent | 15a62fd08898b4a7057d101e0e1b8e5d7559e280 [diff] |
autotest: Fix ProcessWatcher behavior for arg-less processes When no args are specified, ProcessWatcher tried to kill a process like "command_name " rather than "command_name". This caused the pgrep/pkill pattern to not match, and the proces to live on. BUG=brillo:641 TEST=Fake GCD servers are properly killed after this change. Change-Id: Ibcda63dfb220d1e8c70347adc37577f7da112a59 Reviewed-on: https://chromium-review.googlesource.com/261774 Tested-by: Christopher Wiley <[email protected]> Reviewed-by: David Zeuthen <[email protected]> Commit-Queue: Christopher Wiley <[email protected]>