FUNCTEST-128 39/8139/1
authorCNlukai <lukai1@huawei.com>
Wed, 27 Jan 2016 10:18:15 +0000 (18:18 +0800)
committerJose Lausuch <jose.lausuch@ericsson.com>
Wed, 27 Jan 2016 10:24:34 +0000 (10:24 +0000)
Modify the ssh output match

Change-Id: Ic21823781aa77bdc216dac4c048cd04884516a53
Signed-off-by: CNlukai <lukai1@huawei.com>
(cherry picked from commit 77e92f96dd56659d14d496d86d3814ea69fb2b3d)

testcases/vPing/CI/libraries/vPing2.py

index 7714dfc..1a9a531 100644 (file)
@@ -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