--- NetTest/NetTestCommand.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/NetTest/NetTestCommand.py b/NetTest/NetTestCommand.py index aefd173..ca28abf 100644 --- a/NetTest/NetTestCommand.py +++ b/NetTest/NetTestCommand.py @@ -105,7 +105,11 @@ class NetTestCommandExec(NetTestCommandGeneric): exec_cmd(self._command["value"]) self.set_pass() except ExecCmdFail: - self.set_fail("Command failed to execute") + if "bg_id" in self._command: + logging.info("Command probably intentionally killed. Passing.") + self.set_pass() + else: + self.set_fail("Command failed to execute")
class BgProcessException(Exception): """Base class for client errors."""