aboutsummaryrefslogtreecommitdiffstats
path: root/tests/rm
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2024-01-17 23:49:52 +0000
committerPádraig Brady <P@draigBrady.com>2024-01-17 23:59:49 +0000
commitaa50ea55ea68aa5f5475bf46357bcf5febcde1bb (patch)
tree660b73405a492c01ef53e74b3d0532293ced51f1 /tests/rm
parentsplit: do not shrink hold buffer (diff)
downloadcoreutils-aa50ea55ea68aa5f5475bf46357bcf5febcde1bb.tar.gz
coreutils-aa50ea55ea68aa5f5475bf46357bcf5febcde1bb.zip
tests: make ulimit -v interact better with ASAN
ulimit -v is generally not supported with ASAN, giving errors like: "ReserveShadowMemoryRange failed while trying to map 0x... bytes. Perhaps you're using ulimit -v" * tests/cp/link-heap.sh: Mention ASAN as a possible reason for skipping. * tests/csplit/csplit-heap.sh: Likewise. * tests/cut/cut-huge-range.sh: Likewise. * tests/dd/no-allocate.sh: Likewise. * tests/printf/printf-surprise.sh: Likewise. * tests/rm/many-dir-entries-vs-OOM.sh: Likewise. * tests/head/head-c.sh: Only skip the part of the test needing ulimit. * tests/split/line-bytes.sh: Likewise.
Diffstat (limited to 'tests/rm')
-rwxr-xr-xtests/rm/many-dir-entries-vs-OOM.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rm/many-dir-entries-vs-OOM.sh b/tests/rm/many-dir-entries-vs-OOM.sh
index f0da2c795..68c0066b0 100755
--- a/tests/rm/many-dir-entries-vs-OOM.sh
+++ b/tests/rm/many-dir-entries-vs-OOM.sh
@@ -27,7 +27,7 @@ mkdir d2 \
# Restrict memory. Each of these coreutils-8.12 programs would fail
# with a diagnostic like "rm: fts_read failed: Cannot allocate memory".
vm=$(get_min_ulimit_v_ du -sh d2) \
- || skip_ "this shell lacks ulimit support"
+ || skip_ 'shell lacks ulimit, or ASAN enabled'
# With many files in a single directory...
mkdir d || framework_failure_