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 92438bbf78
commit 8939a336ae

View file

@ -735,8 +735,9 @@ cd $REPOROOT
$fdroid init $fdroid init
$fdroid update --create-metadata --verbose $fdroid update --create-metadata --verbose
$fdroid readmeta $fdroid readmeta
$fdroid deploy --local-copy-dir=/tmp/fdroid LOCAL_COPY_DIR=`create_test_dir`/fdroid
$fdroid deploy --local-copy-dir=/tmp/fdroid --verbose $fdroid deploy --local-copy-dir=$LOCAL_COPY_DIR
$fdroid deploy --local-copy-dir=$LOCAL_COPY_DIR --verbose
# now test the errors work # now test the errors work
set +e set +e