From 94274c1f5797cc658c33d116b33926ee8bc5e6e6 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Tue, 10 Sep 2013 16:38:48 +0200 Subject: [PATCH] Squish: Fine-tuning of tst_git_clone Change-Id: I8fdf1e663c2149ec418c2e6760bac151c0d34847 Reviewed-by: Christian Stenger --- tests/system/suite_tools/tst_git_clone/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system/suite_tools/tst_git_clone/test.py b/tests/system/suite_tools/tst_git_clone/test.py index 3f010ec8ea4..0bc5400bc09 100644 --- a/tests/system/suite_tools/tst_git_clone/test.py +++ b/tests/system/suite_tools/tst_git_clone/test.py @@ -41,12 +41,12 @@ def verifyCloneLog(targetDir, canceled): "Searching for git parameters in clone log") test.verify(("Stopping..." in str(cloneLog.plainText)) ^ (not canceled), "Searching for 'Stopping...' in clone log") - test.verify(("'" + cloneDir + "'..." in str(cloneLog.plainText)), - "Searching for clone directory in clone log") if canceled: result = "The process terminated in an abnormal way." summary = "Failed." else: + test.verify(("'" + cloneDir + "'..." in str(cloneLog.plainText)), + "Searching for clone directory in clone log") result = "The process terminated with exit code 0." summary = "Succeeded." test.verify((result in str(cloneLog.plainText)),