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: #3183
Signed-off-by: Simon McVittie <smcv@debian.org>
  • Loading branch information
smcv committed Feb 19, 2024
1 parent 549f9d6 commit 24ea77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-admin-deploy-var.sh
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 ! ${CMD_PREFIX} ostree --version | grep --quiet --no-messages -e "- initial-var"; then
fatal missing initial-var
fi

Expand Down

0 comments on commit 24ea77e

Please sign in to comment.