summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-07-12 20:43:14 +0200
committerHolger Levsen <holger@layer-acht.org>2016-07-12 20:43:14 +0200
commit1a9ef1a3ce50ffcc8490743398dbefc69e72e2c6 (patch)
treec9b577ff208581587be0e15ec334be3b90a8e457
parent55dde865bdfda0d7c69f9467c6d084f24a152cbb (diff)
downloadjenkins.debian.net-1a9ef1a3ce50ffcc8490743398dbefc69e72e2c6.tar.xz
torbrowser tests: try to adopt for tbl >=0.2.5-1~
-rwxr-xr-xbin/test_torbrowser-launcher.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index 2b60f97c..95d874da 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -275,10 +275,14 @@ download_and_launch() {
echo "$(date -u) - torbrowser-launcher version <0.2.2-1~ detected ($TBL_VERSION), pressing <tab> twice more."
xvkbd -text "\t\t" > /dev/null 2>&1
sleep 1
- elif dpkg --compare-versions $TBL_VERSION gt 0.2.3-1~ ; then
- echo "$(date -u) - torbrowser-launcher version >0.2.3-1~ detected ($TBL_VERSION), pressing <tab> once more."
+ elif dpkg --compare-versions $TBL_VERSION gt 0.2.3-1~ && dpkg --compare-versions $TBL_VERSION lt 0.2.5-1~ && ; then
+ echo "$(date -u) - torbrowser-launcher version >0.2.3-1~ <0.2.5-1~ detected ($TBL_VERSION), pressing <tab> once more."
xvkbd -text "\t" > /dev/null 2>&1
sleep 1
+ elif dpkg --compare-versions $TBL_VERSION ge 0.2.5-1~ ; then
+ echo "$(date -u) - torbrowser-launcher version >=0.2.5-1~ detected ($TBL_VERSION), pressing <tab> twice more."
+ xvkbd -text "\t\t" > /dev/null 2>&1
+ sleep 1
fi
update_screenshot
echo "$(date -u) - pressing <return>"