mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-21 13:34:34 +03:00
test-admin-deploy-var: Don't rely on OSTREE_FEATURES
This is set during build-time testing, but unset during "as-installed" tests. Resolves: https://github.com/ostreedev/ostree/issues/3183 Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
parent
37466ec35b
commit
035b2c1647
@ -21,7 +21,7 @@ set -euox pipefail
|
||||
|
||||
. $(dirname $0)/libtest.sh
|
||||
|
||||
if ! echo "$OSTREE_FEATURES" | grep --quiet --no-messages "initial-var"; then
|
||||
if ! has_ostree_feature initial-var; then
|
||||
fatal missing initial-var
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user