summaryrefslogtreecommitdiff
path: root/tests/dd/no-allocate.sh
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2013-04-25 11:03:22 +0100
committerPádraig Brady <P@draigBrady.com>2013-04-25 11:13:48 +0100
commit94f4f658f029f5d0083c6e8fab75d74b73ee5a33 (patch)
treebe1b2eb4beb44298ae0a6bc5a03de20c2a721532 /tests/dd/no-allocate.sh
parent090294b0e4b496137fcb3a672c979c679d0e47f8 (diff)
downloadcoreutils-94f4f658f029f5d0083c6e8fab75d74b73ee5a33.tar.xz
tests: fix usage of require_ulimit_
* init.cfg (require_ulimit_v_): Renamed from require_ulimit_ as this only checks for ulimit -v support. Other uses of ulimit -t and ulimit -n in tests shouldn't cause false failures if not supported. * cfg.mk (sc_prohibit_test_ulimit_without_require_): A new syntax check to ensure that require_ulimit_v_() is used iff required. * tests/misc/head-c.sh: Add missing call to require_ulimit_v_. * tests/rm/many-dir-entries-vs-OOM.sh: Likewise. * tests/split/r-chunk.sh: Remove non mandatory require_ulimit_ call. * tests/misc/sort-merge-fdlimit.sh: Likewise. * tests/cp/link-heap.sh: Adjust to renamed require_ulimit_v_. * tests/dd/no-allocate.sh: Likewise. * tests/misc/csplit-heap.sh: Likewise. * tests/misc/cut-huge-to-eol-range.sh: Likewise. * tests/misc/printf-surprise.sh: Likewise.
Diffstat (limited to 'tests/dd/no-allocate.sh')
-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 e45dd5cf9..dd1a7408b 100755
--- a/tests/dd/no-allocate.sh
+++ b/tests/dd/no-allocate.sh
@@ -18,7 +18,7 @@
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ dd
-require_ulimit_
+require_ulimit_v_
# count and skip is zero, we don't need to allocate memory
(ulimit -v 20000; dd bs=30M count=0) || fail=1