summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-14 16:46:31 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-14 16:46:31 +0100
commit91d9a9aae386044c27137334094b298ec043452f (patch)
tree8d28be19ff77133af4a862995dd1d13def07a647
parentae15e1e5904e67f38a7187429f62eb5741979df3 (diff)
downloadjenkins.debian.net-91d9a9aae386044c27137334094b298ec043452f.tar.xz
create $HOME before using it
-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 32673f86..6a340653 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -22,7 +22,8 @@ first_test() {
set -x
local SESSION="tbb-launcher-$SUITE-$(basename $TMPDIR)"
schroot --begin-session --session-name=$SESSION -c jenkins-torbrowser-launcher-$SUITE
- xvfb-run schroot --run-session -c $SESSION --directory /tmp -- torbrowser-launcher https://www.debian.org
+ schroot --run-session -c $SESSION --directory /tmp -- mkdir $HOME
+ xvfb-run schroot --run-session -c $SESSION -- torbrowser-launcher https://www.debian.org
schroot --end-session -c $SESSION
if ! "$DEBUG" ; then set +x ; fi
}