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:
1 parent
b1ace57ef8
commit
82f444020e
4 files changed
+32
No files matched your search
@@ -19,6 +19,10 @@
|
||||
|
||||
set -e
|
||||
|
||||
if ! ostree --version | grep -q -e '\+libarchive'; then
|
||||
exit 77
|
||||
fi
|
||||
|
||||
echo "1..7"
|
||||
|
||||
. $(dirname $0)/libtest.sh
|
||||
|
||||
Reference in new issue
Block a user