summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-01-28 02:41:42 +0100
committerHolger Levsen <holger@layer-acht.org>2016-01-28 02:41:42 +0100
commit21eac200b6e295fb92a7658b9efdbfe54d326cf1 (patch)
tree0b71289807857566d7392aa2f8b696930fbfa8c0
parent09d41f522237f3bded5c7de0b089f4eb4cd3adfd (diff)
downloadjenkins.debian.net-21eac200b6e295fb92a7658b9efdbfe54d326cf1.tar.xz
torbrowser tests: avoid more suboptimal cleanup…
-rwxr-xr-xbin/schroot-create.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 6b4fae7d..d5c7437e 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -232,7 +232,10 @@ then
fi
fi
-cleanup_schroot_sessions
+# no needed for torbrowser-launcher as race conditions are mostly avoided by timings
+if [ "${TARGET:0:19}" != "torbrowser-launcher" ] ; then
+ cleanup_schroot_sessions
+fi
echo "$(date -u ) - renaming $SCHROOT_TARGET to $SCHROOT_BASE/$TARGET"
set +e
sudo mv $SCHROOT_TARGET $SCHROOT_BASE/"$TARGET"