[Qa-jenkins-scm] [jenkins.debian.net] 01/01: torbrowser tests: be more relaxed when detecting a Debian mirror
Holger Levsen
holger at moszumanska.debian.org
Wed Jan 27 23:34:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit d9aafa4637901fe345084385c676d7a56c40dec8
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Jan 28 00:34:30 2016 +0100
torbrowser tests: be more relaxed when detecting a Debian mirror
---
bin/test_torbrowser-launcher.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index bc1a769..ca7c737 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -346,7 +346,8 @@ download_and_launch() {
# allow up up to 76 seconds to load the url
for i in $(seq 1 8) ; do
sleep 5 ; sleep $i
- URL_LOADED=$(gocr $WORKSPACE/screenshot.png 2>/dev/null | grep -c -i "README" || true)
+ # ocr'ing README only sometimes works well and not so much with the new rendering
+ URL_LOADED=$(gocr $WORKSPACE/screenshot.png 2>/dev/null | egrep -c '(README|RE_ADh1E)' || true)
update_screenshot
if [ $URL_LOADED -ge 4 ] ; then
echo "$(date -u) - $URL loaded fine, very much an archive in there, great."
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list