diff --git a/tests/basic-test.sh b/tests/basic-test.sh index 5e8ac5ed..c7ff0460 100755 --- a/tests/basic-test.sh +++ b/tests/basic-test.sh @@ -425,6 +425,8 @@ if test "$(id -u)" != "0"; then assert_has_file expected-fail assert_file_has_content error-message "Permission denied" echo "ok unwritable repo was caught" +else + echo "ok # SKIP not run when root" fi cd ${test_tmpdir} diff --git a/tests/test-pull-corruption.sh b/tests/test-pull-corruption.sh index f6d1605f..646113a1 100755 --- a/tests/test-pull-corruption.sh +++ b/tests/test-pull-corruption.sh @@ -22,6 +22,7 @@ set -euo pipefail # If gjs is not installed, skip the test if ! gjs --help >/dev/null 2>&1; then echo "1..0 # SKIP no gjs" + exit 0 fi . $(dirname $0)/libtest.sh diff --git a/tests/test-rofiles-fuse.sh b/tests/test-rofiles-fuse.sh index 20095710..444fbce2 100755 --- a/tests/test-rofiles-fuse.sh +++ b/tests/test-rofiles-fuse.sh @@ -21,6 +21,7 @@ set -euo pipefail if ! fusermount --version >/dev/null 2>&1; then echo "1..0 # SKIP no fusermount" + exit 0 fi . $(dirname $0)/libtest.sh