From 24ea77ea6d6b122338d3bcb8cf27af6634f15aaa Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 19 Feb 2024 13:04:14 +0000 Subject: [PATCH] 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 --- tests/test-admin-deploy-var.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-admin-deploy-var.sh b/tests/test-admin-deploy-var.sh index 3079490d5e..7b1de76730 100755 --- a/tests/test-admin-deploy-var.sh +++ b/tests/test-admin-deploy-var.sh @@ -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