Commit 94274c1f authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Fine-tuning of tst_git_clone



Change-Id: I8fdf1e663c2149ec418c2e6760bac151c0d34847
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 8b9b977f
......@@ -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)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment