summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-01-28 00:34:30 +0100
committerHolger Levsen <holger@layer-acht.org>2016-01-28 00:34:30 +0100
commitd9aafa4637901fe345084385c676d7a56c40dec8 (patch)
treea36ea141683ff23ab14522dcf1ccb08410d8a174 /bin
parent541b9ee2f4abe5595181402c1786f8cd4f57de5b (diff)
downloadjenkins.debian.net-d9aafa4637901fe345084385c676d7a56c40dec8.tar.xz
torbrowser tests: be more relaxed when detecting a Debian mirror
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test_torbrowser-launcher.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index bc1a7690..ca7c7375 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."