From f91bf85cc3c056cc4109eb5f34515bec35006d84 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 24 Oct 2013 17:51:19 +0100 Subject: 31888: Add another test for pipestatus. This one was reliably failing before the fix, see zsh-workers-31870 --- Test/A05execution.ztst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Test') diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst index fd13e9134..8578016ab 100644 --- a/Test/A05execution.ztst +++ b/Test/A05execution.ztst @@ -189,3 +189,10 @@ >2048 0 0 0 F:This test checks for a bug in `$pipestatus[]' handling. If it breaks then F:the bug is still there or it reappeared. See workers-29973 for details. + + externFunc() { awk >/dev/null 2>&1; true; } + false | true | false | true | externFunc + echo $pipestatus +0:Check $pipestatus with a known difficult case +>1 0 1 0 0 +F:This similar test was triggering a reproducible failure with pipestatus. -- cgit 1.4.1