projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb5d92
)
test-commit-sign.sh: Skip a unit test when running as an installed-test
author
Simon McVittie
<smcv@debian.org>
Tue, 5 Oct 2021 22:51:37 +0000
(23:51 +0100)
committer
Simon McVittie
<smcv@debian.org>
Tue, 5 Oct 2021 22:51:55 +0000
(23:51 +0100)
Signed-off-by: Simon McVittie <smcv@debian.org>
tests/test-commit-sign.sh
patch
|
blob
|
history
diff --git
a/tests/test-commit-sign.sh
b/tests/test-commit-sign.sh
index c3f9ce6328b589f19d75c746ab766d1ae8ec95c4..e17591982ca518d3a4384e0f07f11f1876e4b890 100755
(executable)
--- a/
tests/test-commit-sign.sh
+++ b/
tests/test-commit-sign.sh
@@
-88,8
+88,12
@@
assert_file_has_content_literal show.txt 'Found 1 signature'
echo "ok pull verify"
# Run tests written in C
-${OSTREE_UNINSTALLED}/tests/test-commit-sign-sh-ext
-echo "ok extra C tests"
+if [ -n "${OSTREE_UNINSTALLED:-}" ]; then
+ ${OSTREE_UNINSTALLED}/tests/test-commit-sign-sh-ext
+ echo "ok extra C tests"
+else
+ echo "ok # SKIP test only available when running uninstalled"
+fi
# Clean things up and reinit
rm repo -rf