aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2025-10-11 11:21:38 +0100
committerPádraig Brady <P@draigBrady.com>2025-10-11 11:27:47 +0100
commit86234ebffa84e4cfccdf06b1334d45cf14d16ac3 (patch)
treeb6aaef8a32569d97e3ff15d2a07a4e63273c4ef5
parenttests: basenc: add a test for bounded memory operation (diff)
downloadcoreutils-86234ebffa84e4cfccdf06b1334d45cf14d16ac3.tar.gz
coreutils-86234ebffa84e4cfccdf06b1334d45cf14d16ac3.zip
tests: fix memory limit determination in new test
* tests/basenc/basenc-bounded-memory.sh: The passed command needs to succeed for memory limit determination to work.
-rwxr-xr-xtests/basenc/basenc-bounded-memory.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basenc/basenc-bounded-memory.sh b/tests/basenc/basenc-bounded-memory.sh
index 8ac2d1e1a..7f85189b0 100755
--- a/tests/basenc/basenc-bounded-memory.sh
+++ b/tests/basenc/basenc-bounded-memory.sh
@@ -19,7 +19,7 @@
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ basenc
-vm=$(get_min_ulimit_v_ basenc /dev/null)
+vm=$(get_min_ulimit_v_ basenc --base64 /dev/null)
# Check all except for --base58.
for algorithm in '--base64' '--base64url' '--base32' '--base32hex' '--base16' \