summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-14 16:48:44 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-14 16:48:44 +0100
commita39b3bdea39f0ff22226e903835f6d54e69553d5 (patch)
treeb96408a9166bdfabd550b353e29e4cc8c098f9f0
parent91d9a9aae386044c27137334094b298ec043452f (diff)
downloadjenkins.debian.net-a39b3bdea39f0ff22226e903835f6d54e69553d5.tar.xz
chown $HOME
-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 6a340653..0a2698fe 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
- schroot --run-session -c $SESSION --directory /tmp -- mkdir $HOME
+ schroot --run-session -c $SESSION --directory /tmp -u root -- mkdir $HOME
+ schroot --run-session -c $SESSION --directory /tmp -u root -- chown jenkins:jenkins $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