projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c98a993
)
tests/libtest.sh: Add skip_without_sign_ed25519() function
author
Frédéric Danis
<frederic.danis@collabora.com>
Thu, 23 Apr 2020 13:24:53 +0000
(15:24 +0200)
committer
Frédéric Danis
<frederic.danis@collabora.com>
Mon, 14 Sep 2020 07:27:19 +0000
(09:27 +0200)
Signed-off-by: Frédéric Danis <frederic.danis@collabora.com>
tests/libtest.sh
patch
|
blob
|
history
diff --git
a/tests/libtest.sh
b/tests/libtest.sh
index ca457fa21bd7779bbdb7665df35e66a359f1c6be..7c66a5c6adc588cff22930d70758dc76699faf75 100755
(executable)
--- a/
tests/libtest.sh
+++ b/
tests/libtest.sh
@@
-700,6
+700,12
@@
has_sign_ed25519 () {
return ${ret}
}
+skip_without_sign_ed25519() {
+ if ! has_sign_ed25519; then
+ skip "no ed25519 support compiled in"
+ fi
+}
+
# Keys for ed25519 signing tests
ED25519PUBLIC=
ED25519SEED=