Add a --version argument that also outputs features

And use it in the tests to skip libarchive tests when the build
doesn't support it.
This commit is contained in:
Colin Walters committed 2013-05-01 19:15:06 -04:00
1 parent b1ace57ef8
commit 82f444020e
4 files changed
+32

No files matched your search

+4
View File
@@ -19,6 +19,10 @@
set -e
if ! ostree --version | grep -q -e '\+libarchive'; then
exit 77
fi
echo "1..7"
. $(dirname $0)/libtest.sh