From 06b22f95a86a59966b460870bdffe91363ea4822 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Tue, 11 Apr 2017 14:11:40 -0600 Subject: [PATCH] t/op/fork.t: Don't output shell warning 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. --- t/op/fork.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/op/fork.t b/t/op/fork.t index b69a929..be3125d 100644 --- a/t/op/fork.t +++ b/t/op/fork.t @@ -22,7 +22,7 @@ SKIP: { 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" -- 1.8.3.1