]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: fix memory limit determination in new test
authorPádraig Brady <P@draigBrady.com>
Sat, 11 Oct 2025 10:21:38 +0000 (11:21 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 11 Oct 2025 10:27:47 +0000 (11:27 +0100)
* tests/basenc/basenc-bounded-memory.sh: The passed command
needs to succeed for memory limit determination to work.

tests/basenc/basenc-bounded-memory.sh

index 8ac2d1e1a2e108e17f00b27e0a40e8a1197061df..7f85189b097065ebacf0af0122bb18642cbe161b 100755 (executable)
@@ -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' \