diff options
author | Robert Loehning <robert.loehning@digia.com> | 2013-09-10 16:38:48 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@digia.com> | 2013-09-10 17:36:13 +0200 |
commit | 94274c1f5797cc658c33d116b33926ee8bc5e6e6 (patch) | |
tree | b111f749c9ab76ff7fc0c8cfadd347f3e248c996 | |
parent | 8b9b977f0fc3259efd86cb96173081bf988422ba (diff) | |
download | qt-creator-94274c1f5797cc658c33d116b33926ee8bc5e6e6.tar.gz |
Squish: Fine-tuning of tst_git_clone
Change-Id: I8fdf1e663c2149ec418c2e6760bac151c0d34847
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
-rw-r--r-- | tests/system/suite_tools/tst_git_clone/test.py | 4 |
1 files 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 3f010ec8ea..0bc5400bc0 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)), |