From 8939a336ae73715b0175774f3abc7c7e0962650a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 9 Mar 2021 13:05:35 +0100 Subject: [PATCH] run-tests: fix local_copy_dir test, it broke when /tmp/fdroid existed --- tests/run-tests | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/run-tests b/tests/run-tests index af415243..f13741cc 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -735,8 +735,9 @@ cd $REPOROOT $fdroid init $fdroid update --create-metadata --verbose $fdroid readmeta -$fdroid deploy --local-copy-dir=/tmp/fdroid -$fdroid deploy --local-copy-dir=/tmp/fdroid --verbose +LOCAL_COPY_DIR=`create_test_dir`/fdroid +$fdroid deploy --local-copy-dir=$LOCAL_COPY_DIR +$fdroid deploy --local-copy-dir=$LOCAL_COPY_DIR --verbose # now test the errors work set +e