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.

Bug: ostreedev/ostree#3183
Signed-off-by: Simon McVittie <[email protected]>
Forwarded: ostreedev/ostree#3184

Gbp-Pq: Name test-admin-deploy-var-Don-t-rely-on-OSTREE_FEATURES.patch
  • Loading branch information
smcv committed Feb 19, 2024
1 parent e5f7fbe commit 50c0b2c
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 50c0b2c

Please sign in to comment.