summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
20d1d40)
If the shell doesn't support 'ulimit -u', it can cause unexpected
warnings that can cause the tests to fail. This happens on s/390.
skip "This test can only be run under bash or zsh"
unless $shell =~ m{/(?:ba|z)sh$};
my $probe = qx{
skip "This test can only be run under bash or zsh"
unless $shell =~ m{/(?:ba|z)sh$};
my $probe = qx{
- $shell -c 'ulimit -u 1 2>&1 && echo good'
+ $shell -c 'ulimit -u 1 2>/dev/null && echo good'
};
chomp $probe;
skip "Can't set ulimit -u on this system: $probe"
};
chomp $probe;
skip "Can't set ulimit -u on this system: $probe"