aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2025-09-20 17:46:11 +0100
committerPádraig Brady <P@draigBrady.com>2025-09-20 22:12:58 +0100
commitdf30ce36e837a2600a6559a563ed611cd541dfe9 (patch)
treeaa947eb80d05ebca81de054a658ce7d2688268a1 /tests
parenttests: avoid false failure on CentOS 5,6,7 (diff)
downloadcoreutils-df30ce36e837a2600a6559a563ed611cd541dfe9.tar.gz
coreutils-df30ce36e837a2600a6559a563ed611cd541dfe9.zip
tests: dd: avoid false failure on Solaris 10
* tests/dd/no-allocate.sh: Give some extra space to the determined vm limit.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/dd/no-allocate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dd/no-allocate.sh b/tests/dd/no-allocate.sh
index c9df21d40..6746d5c70 100755
--- a/tests/dd/no-allocate.sh
+++ b/tests/dd/no-allocate.sh
@@ -43,7 +43,7 @@ check_dd_seek_alloc() {
timeout 10 dd count=1 if=/dev/zero of=tape&
# Allocate buffer and read from the "tape"
- (ulimit -v $vm \
+ (ulimit -v $(($vm+4000)) \
&& timeout 10 dd $dd_buf=30M $dd_op=1 count=0 $dd_file=tape)
local ret=$?