diff options
author | Frédéric Danis <frederic.danis@collabora.com> | 2020-04-23 15:24:53 +0200 |
---|---|---|
committer | Frédéric Danis <frederic.danis@collabora.com> | 2020-09-14 09:27:19 +0200 |
commit | 96bcc25632fa0b1b4de637845bf43535f4eb3628 (patch) | |
tree | 99d9d478d9606452b154a20a01aa185db5d6f2a7 /tests/libtest.sh | |
parent | c98a993c996713e16af8e36cbbde63f6000d1341 (diff) | |
download | ostree-96bcc25632fa0b1b4de637845bf43535f4eb3628.tar.gz |
tests/libtest.sh: Add skip_without_sign_ed25519() function
Signed-off-by: Frédéric Danis <frederic.danis@collabora.com>
Diffstat (limited to 'tests/libtest.sh')
-rwxr-xr-x | tests/libtest.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/libtest.sh b/tests/libtest.sh index ca457fa2..7c66a5c6 100755 --- 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= |