Merge pull request #1956 from akiernan/us-test-export

tests/export: Guard with check for libarchive
This commit is contained in:
OpenShift Merge Robot 2019-10-25 15:50:49 +02:00 committed by GitHub
commit 4b496264b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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"