tests: fix false failure in recent memory limit test

* tests/basenc/bounded-memory.sh: Ensure we skip the test
upon failure to determine the memory lower bound.
Reported by Bruno Haible.
This commit is contained in:
Pádraig Brady 2025-10-13 13:22:38 +01:00
parent b880b02c44
commit b4e02e0ef4

View File

@ -19,7 +19,8 @@
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ basenc
vm=$(get_min_ulimit_v_ basenc --base64 /dev/null)
vm=$(get_min_ulimit_v_ basenc --base64 /dev/null) ||
skip_ 'failed to determine memory limit'
# Check all except for --base58.
for algorithm in '--base64' '--base64url' '--base32' '--base32hex' '--base16' \