mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-09 01:18:35 +03:00
tests: More TAP fixups
Hopefully getting closer now.
This commit is contained in:
parent
fbd9409ebb
commit
12db46e5af
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user