summaryrefslogtreecommitdiffstats
path: root/tests/printf
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/printf
parentc4c5ed8f4e9cd55a12966d4f520e3a13101637d9 (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/printf')
-rwxr-xr-xtests/printf/printf-surprise.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/printf/printf-surprise.sh b/tests/printf/printf-surprise.sh
index 652cb5485..d51ab0678 100755
--- a/tests/printf/printf-surprise.sh
+++ b/tests/printf/printf-surprise.sh
@@ -22,7 +22,7 @@ prog=printf
print_ver_ printf
vm=$(get_min_ulimit_v_ env $prog %20f 0) \
- || skip_ "this shell lacks ulimit support"
+ || skip_ 'shell lacks ulimit, or ASAN enabled'
# Up to coreutils-6.9, "printf %.Nf 0" would encounter an ENOMEM internal
# error from glibc's printf(3) function whenever N was large relative to