[Qa-jenkins-scm] [jenkins.debian.net] 01/01: torbrowser tests: add a new ocr variant for README

Holger Levsen holger at layer-acht.org
Thu Jun 2 11:48:37 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 f034ded77c9e1c7682da2520627e89e99596bb1f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Jun 2 13:48:17 2016 +0200

    torbrowser tests: add a new ocr variant for README
---
 bin/test_torbrowser-launcher.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index 72afd21..2b60f97 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -363,7 +363,7 @@ download_and_launch() {
 	for i in $(seq 1 8) ; do
 		sleep 5 ; sleep $i
 		# 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)
+		URL_LOADED=$(gocr $WORKSPACE/screenshot.png 2>/dev/null | egrep -c '(README|RE_ADh1E|REnDmE)' || 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