a15c849563
Without this commit, the run_as_root parameter is always True when stopping a process, which leads to the usage of unnecessary sudo such as in some functional tests, like the keepalived ones. This commit fixes the aforemetioned problem by taking run_as_root into account when stopping a process. However, run_as_root will still always be True if the process is spawned in a netns. Closes-Bug: #1491581 Change-Id: Ib40e1e3357b9a38e760f4e552bf615cdfd54ee5a Signed-off-by: Hunt Xu <mhuntxu@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_agent.py | ||
test_driver.py |