Skip to content

Commit

Permalink
test-admin-deploy-var: Don't rely on OSTREE_FEATURES
Browse files Browse the repository at this point in the history
This is set during build-time testing, but unset during "as-installed"
tests.

Resolves: ostreedev#3183
Signed-off-by: Simon McVittie <[email protected]>
  • Loading branch information
smcv committed Feb 19, 2024
1 parent 37466ec commit 035b2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-admin-deploy-var.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 035b2c1

Please sign in to comment.