mirror of
https://github.com/ostreedev/ostree.git
synced 2024-10-26 17:25:36 +03:00
tests/export: Guard with check for libarchive
If we are built without libarchive support, this test fails: error: This version of ostree is not compiled with libarchive support ... ERROR: tests/test-export.sh - too few tests run (expected 5, got 0) ERROR: tests/test-export.sh - exited with status 1 Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
This commit is contained in:
parent
f333ae74f4
commit
e314b31ec9
@ -21,6 +21,11 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
if ! ostree --version | grep -q -e '- libarchive'; then
|
||||
echo "1..0 #SKIP no libarchive support compiled in"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
. $(dirname $0)/libtest.sh
|
||||
|
||||
setup_test_repository "archive"
|
||||
|
Loading…
Reference in New Issue
Block a user