[Qa-jenkins-scm] [jenkins.debian.net] 01/01: torbrowser tests: only send debug output when needed
Holger Levsen
holger at moszumanska.debian.org
Mon Dec 7 15:32:45 UTC 2015
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 dad67b941c56845a20288451aed17a3601638570
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Dec 7 16:32:15 2015 +0100
torbrowser tests: only send debug output when needed
---
bin/test_torbrowser-launcher.sh | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index c3d2a4e..4245e4e 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -281,10 +281,12 @@ download_and_launch() {
echo "$(date -u) - $URL loaded fine, very much an archive in there, great."
BONUS_LEVEL_1="yes"
break
- else
- echo "$(date -u) - URL_LOADED = '$URL_LOADED'"
fi
done
+ # for debugging
+ if [ $URL_LOADED -lt 4 ] ; then
+ echo "$(date -u) - URL_LOADED = '$URL_LOADED'"
+ fi
BONUS_LEVEL_2=""
URL="https://www.debian.org"
echo "$(date -u) - pressing <ctrl>-l - about to enter $URL as URL."
@@ -303,10 +305,12 @@ download_and_launch() {
echo "$(date -u) - $URL loaded fine, very much Debian in there, great."
BONUS_LEVEL_2="yes"
break
- else
- echo "$(date -u) - URL_LOADED = '$URL_LOADED'"
fi
done
+ # for debugging
+ if [ $URL_LOADED -lt 6 ] ; then
+ echo "$(date -u) - URL_LOADED = '$URL_LOADED'"
+ fi
if [ -n "$BONUS_LEVEL_1" ] && [ -n "$BONUS_LEVEL_2" ] ; then
STATUS_MSG="Very well done."
STATUS_COLORS="-bg green -fg black"
--
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