summaryrefslogtreecommitdiff
path: root/tests/test-signed-pull-summary.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2020-04-16 16:43:43 +0000
committerColin Walters <walters@verbum.org>2020-04-16 16:43:43 +0000
commitd1e5ed379ebcfca7d9623c006528475bac88993b (patch)
tree8e39f90fd20e9fcbf006b8e7e29b756da76ce728 /tests/test-signed-pull-summary.sh
parenteae41ea20337e131594aaabce25a358b31263c4b (diff)
downloadostree-d1e5ed379ebcfca7d9623c006528475bac88993b.tar.gz
Use `sign-ed25519` for the feature name
`libsodium` is an implementation detail. In particular, I'd like to consider using OpenSSL for ed25519 (if libsodium isn't configured and openssl is). So switch the name of the exposed feature and adjust the tests.
Diffstat (limited to 'tests/test-signed-pull-summary.sh')
-rwxr-xr-xtests/test-signed-pull-summary.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-signed-pull-summary.sh b/tests/test-signed-pull-summary.sh
index 7a7dd073..6a240635 100755
--- a/tests/test-signed-pull-summary.sh
+++ b/tests/test-signed-pull-summary.sh
@@ -51,7 +51,7 @@ do
PUBLIC_KEY="dummysign"
;;
ed25519)
- if ! has_libsodium; then
+ if ! has_sign_ed25519; then
echo "ok ${engine} pull mirror summary # SKIP due libsodium unavailability"
echo "ok ${engine} pull with signed summary # SKIP due libsodium unavailability"
echo "ok ${engine} prune summary cache # SKIP due libsodium unavailability"
@@ -173,7 +173,7 @@ do
done
-if ! has_libsodium; then
+if ! has_sign_ed25519; then
echo "ok ${engine} pull with signed summary remote old summary # SKIP due libsodium unavailability"
echo "ok ${engine} pull with signed summary broken cache # SKIP due libsodium unavailability"
exit 0