run-tests: fix local_copy_dir test, it broke when /tmp/fdroid existed

This commit is contained in:
Hans-Christoph Steiner 2021-03-09 13:05:35 +01:00
parent 8bb2c7d4b1
commit 65836d9e9b
1 changed files with 3 additions and 2 deletions

View File

@ -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