summaryrefslogtreecommitdiffstats
path: root/debian/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 08:38:46 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 08:38:46 +0000
commit6dbe38986e3963a8d21173d443d1a32e089e5876 (patch)
tree72dffc1c33f57ca55d333bba6baa02cd3f39836c /debian/tests
parentMerging upstream version 2:2.7.2. (diff)
downloadcryptsetup-6dbe38986e3963a8d21173d443d1a32e089e5876.tar.xz
cryptsetup-6dbe38986e3963a8d21173d443d1a32e089e5876.zip
Merging debian version 2:2.7.2-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/tests/crypto-backend6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/tests/crypto-backend b/debian/tests/crypto-backend
index 47dc5a8..f78efe9 100755
--- a/debian/tests/crypto-backend
+++ b/debian/tests/crypto-backend
@@ -42,7 +42,7 @@ sed -ri 's/^[^\[]*//' "$DEBUG"
# " [cryptsetup libargon2]": bundled libargon2
# " [external libargon2]": system libargon2
# "][argon2]": crypto backend's own implementation
-if ! grep -qF " [external libargon2]" <"$DEBUG"; then
+if ! grep -qF "][argon2]" <"$DEBUG"; then
echo "ERROR: Unexpected argon2 backend" >&2
exit 1
fi
@@ -55,8 +55,8 @@ fi
assert_linked_argon2() {
local path="$1"
- if ! env --unset=LD_PRELOAD ldd "$path" | grep -qE '^\s*libargon2\.so(\.[0-9]+)*\s+=>\s'; then
- echo "ERROR: $path does not link against libargon2" >&2
+ if env --unset=LD_PRELOAD ldd "$path" | grep -qE '^\s*libargon2\.so(\.[0-9]+)*\s+=>\s'; then
+ echo "ERROR: $path links against libargon2" >&2
exit 1
fi
return 0