diff options
author | Tony Cook <tony@develop-help.com> | 2023-01-18 10:47:39 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2023-01-19 11:04:18 +1100 |
commit | 09b3a407e87f128d7aecd14f9c8d75dcff9aaaf8 (patch) | |
tree | c9d4155af45145cb247cb19205f1c3c8a094a953 | |
parent | f509a5163af6281fb894ec68237c699a4857fbe9 (diff) | |
download | perl-09b3a407e87f128d7aecd14f9c8d75dcff9aaaf8.tar.gz |
op/fork.t: skip the ulimit fork test under LSAN
This was producing noise, at least on Linux, since the -u limit on
Linux also limits threads.
Fixes #20712
-rw-r--r-- | t/op/fork.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/op/fork.t b/t/op/fork.t index 52206c7c68..82e90fee25 100644 --- a/t/op/fork.t +++ b/t/op/fork.t @@ -21,6 +21,8 @@ my $shell = $ENV{SHELL} || ''; SKIP: { skip "This test can only be run under bash or zsh" unless $shell =~ m{/(?:ba|z)sh$}; + skip "LSAN noise failing to create a thread due to limits" + if $Config::Config{ccflags} =~ /sanitize=address/; my $probe = qx{ $shell -c 'ulimit -u 1 2>/dev/null && echo good' }; |