]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: misc/write-errors.sh: increase memory limit
authorPádraig Brady <P@draigBrady.com>
Wed, 15 Jan 2025 22:47:50 +0000 (22:47 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 15 Jan 2025 22:50:05 +0000 (22:50 +0000)
* tests/head/head-c.sh: Use a larger VM limit to avoid
mem allocation failures, which were seen on CheriBSD.

tests/misc/write-errors.sh

index 13e6d11fab7d7aa7b2bac10469ef04e57d49028d..35487c6e03ca64b4b23f3145f83d392f8fa77482 100755 (executable)
@@ -61,7 +61,7 @@ while read writer; do
   # Enforce mem usage limits if possible
   cmd=$(printf '%s\n' "$writer" | cut -d ' ' -f1) || framework_failure_
   base_mem=$(get_min_ulimit_v_ $cmd --version) \
-    && ulimit="ulimit -v $(($base_mem+8000))" \
+    && ulimit="ulimit -v $(($base_mem+12000))" \
     || skip_ 'unable to determine ulimit -v'
 
   # Check /dev/full handling