projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37466ec
)
test-admin-deploy-var: Don't rely on OSTREE_FEATURES
author
Simon McVittie
<smcv@debian.org>
Mon, 19 Feb 2024 13:04:14 +0000
(13:04 +0000)
committer
Simon McVittie
<smcv@collabora.com>
Mon, 19 Feb 2024 21:01:15 +0000
(21:01 +0000)
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>
tests/test-admin-deploy-var.sh
patch
|
blob
|
history
diff --git
a/tests/test-admin-deploy-var.sh
b/tests/test-admin-deploy-var.sh
index 3079490d5e9e971c206e8f702e71e5c4093bd2ca..fc61576fab3e4ba6228f7b076d8778de432359d0 100755
(executable)
--- 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 !
has_ostree_feature initial-var
; then
fatal missing initial-var
fi