FUNCTEST-128 37/8137/1
authorCNlukai <lukai1@huawei.com>
Wed, 27 Jan 2016 10:18:15 +0000 (18:18 +0800)
committerCNlukai <lukai1@huawei.com>
Wed, 27 Jan 2016 10:20:52 +0000 (18:20 +0800)
Modify the ssh output match

Change-Id: Ic21823781aa77bdc216dac4c048cd04884516a53
Signed-off-by: CNlukai <lukai1@huawei.com>
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