From 668102a5ba79fe4ac46931697cff132e67867880 Mon Sep 17 00:00:00 2001 From: CNlukai Date: Wed, 27 Jan 2016 18:18:15 +0800 Subject: [PATCH] FUNCTEST-128 Modify the ssh output match Change-Id: Ic21823781aa77bdc216dac4c048cd04884516a53 Signed-off-by: CNlukai (cherry picked from commit 77e92f96dd56659d14d496d86d3814ea69fb2b3d) --- testcases/vPing/CI/libraries/vPing2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/vPing/CI/libraries/vPing2.py b/testcases/vPing/CI/libraries/vPing2.py index 7714dfcb8..1a9a531c3 100644 --- a/testcases/vPing/CI/libraries/vPing2.py +++ b/testcases/vPing/CI/libraries/vPing2.py @@ -510,7 +510,7 @@ def main(): # print "--"+console_log # report if the test is failed for line in output: - if "vPing OK" in output: + if "vPing OK" in line: logger.info("vPing detected!") # we consider start time at VM1 booting -- 2.16.6