summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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