From: Ondrej Lichtner <olichtne(a)redhat.com>
Removing the immediate False return if there's any stderr output.
Instead only fail based on the returncode. This is the same as what
we've had to fix for the iperf module.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/Tests/Ping.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/lnst/Tests/Ping.py b/lnst/Tests/Ping.py
index 390a8e4..17de8ab 100644
--- a/lnst/Tests/Ping.py
+++ b/lnst/Tests/Ping.py
@@ -59,7 +59,6 @@ def run(self):
self._res_data["msg"] = "errors reported by ping"
logging.error(self._res_data["msg"])
logging.error(self._res_data["stderr"])
- return False
if ping_process.returncode > 0:
self._res_data["msg"] = "returncode =
{}".format(ping_process.returncode)
--
2.22.0