diff options
| author | Pádraig Brady <P@draigBrady.com> | 2025-10-13 13:22:38 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2025-10-13 13:22:38 +0100 |
| commit | b4e02e0ef4dd1a84f9a08e16612c7659caedbee5 (patch) | |
| tree | 5b0ab972eac4a2d6645d7c286bdc4dc52cc8f9cb /tests | |
| parent | numfmt: fix buffer over-read (CWE-126) (diff) | |
| download | coreutils-b4e02e0ef4dd1a84f9a08e16612c7659caedbee5.tar.gz coreutils-b4e02e0ef4dd1a84f9a08e16612c7659caedbee5.zip | |
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.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/basenc/bounded-memory.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/basenc/bounded-memory.sh b/tests/basenc/bounded-memory.sh index 7f85189b0..55e7cc310 100755 --- a/tests/basenc/bounded-memory.sh +++ b/tests/basenc/bounded-memory.sh @@ -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' \ |
