summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Test/A05execution.ztst7
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 09201dd38..416e8de76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2013-10-24 Peter Stephenson <p.stephenson@samsung.com>
+ * 31888: Test/A05execution.ztst: add test of pipestatus
+ that was reliable failing before 31879.
+
* 31882: Src/Zle/compcore.c: better insulation of
completion widget excecution against job environment.
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.