From 52364258654418127d544d31b3c49b61019e2c7e Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 6 Oct 2013 21:35:27 +0100 Subject: users:18023: Add PIPEFAIL option --- Test/E01options.ztst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Test') diff --git a/Test/E01options.ztst b/Test/E01options.ztst index bcb34c352..e00eb0e9c 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -1096,3 +1096,18 @@ 0:IGNORE_CLOSE_BRACES option >this is OK >6 + + (setopt pipefail + true | true | true + print $? + true | false | true + print $? + exit 2 | false | true + print $? + false | exit 2 | true + print $?) +0:PIPE_FAIL option +>0 +>1 +>1 +>2 -- cgit 1.4.1