tests: Convert two more exit 77 instances into TAP-compatible SKIP
Followup to https://github.com/GNOME/ostree/pull/194
This commit is contained in:
1 parent
d49718a619
commit
0174224a2d
2 files changed
+9
-5
No files matched your search
@@ -19,6 +19,11 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
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"
|
||||||
|
fi
|
||||||
|
|
||||||
. $(dirname $0)/libtest.sh
|
. $(dirname $0)/libtest.sh
|
||||||
|
|
||||||
setup_fake_remote_repo1 "archive-z2"
|
setup_fake_remote_repo1 "archive-z2"
|
||||||
@@ -47,9 +52,6 @@ do_corrupt_pull_test() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# If gjs is not installed, skip the test
|
|
||||||
gjs --help >/dev/null 2>&1 || exit 77
|
|
||||||
|
|
||||||
# FIXME - ignore errors here since gjs in RHEL7 has the final
|
# FIXME - ignore errors here since gjs in RHEL7 has the final
|
||||||
# unrooting bug
|
# unrooting bug
|
||||||
gjs $(dirname $0)/corrupt-repo-ref.js ${repopath} main || true
|
gjs $(dirname $0)/corrupt-repo-ref.js ${repopath} main || true
|
||||||
|
|||||||
@@ -19,12 +19,14 @@
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
echo "1..5"
|
if ! fusermount --version >/dev/null 2>&1; then
|
||||||
|
echo "1..0 # SKIP no fusermount"
|
||||||
|
fi
|
||||||
|
|
||||||
. $(dirname $0)/libtest.sh
|
. $(dirname $0)/libtest.sh
|
||||||
setup_test_repository "bare-user"
|
setup_test_repository "bare-user"
|
||||||
|
|
||||||
fusermount --version >/dev/null 2>&1 || exit 77
|
echo "1..5"
|
||||||
|
|
||||||
mkdir mnt
|
mkdir mnt
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user