diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-07 16:32:15 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-07 16:32:23 +0100 |
commit | dad67b941c56845a20288451aed17a3601638570 (patch) | |
tree | 650626aebcbf95c77b10f897a4165f42821db790 /bin | |
parent | d0b3c2ca3226635fe249fb1c26e4c6740f12e58e (diff) | |
download | jenkins.debian.net-dad67b941c56845a20288451aed17a3601638570.tar.xz |
torbrowser tests: only send debug output when needed
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/test_torbrowser-launcher.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh index c3d2a4e0..4245e4e5 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" |