diff options
Diffstat (limited to 'debian/patches/fix-A05execution-ztst-setopt-MONITOR.patch')
-rw-r--r-- | debian/patches/fix-A05execution-ztst-setopt-MONITOR.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/fix-A05execution-ztst-setopt-MONITOR.patch b/debian/patches/fix-A05execution-ztst-setopt-MONITOR.patch new file mode 100644 index 000000000..cf1b6ab22 --- /dev/null +++ b/debian/patches/fix-A05execution-ztst-setopt-MONITOR.patch @@ -0,0 +1,27 @@ +Description: Make A05execution.ztst not fail if setopt MONITOR fails +Author: Bart E. Schaefer <schaefer@brasslantern.com> +Origin: http://www.zsh.org/mla/workers/2013/msg01135.html +Origin: http://www.zsh.org/mla/workers/2013/msg01142.html + +Index: zsh/Test/A05execution.ztst +=================================================================== +--- zsh.orig/Test/A05execution.ztst 2013-12-03 08:49:42.000000000 +0100 ++++ zsh/Test/A05execution.ztst 2013-12-03 08:49:58.000000000 +0100 +@@ -179,7 +179,7 @@ + 0:Status reset by starting a backgrounded command + >0 + +- setopt MONITOR ++ { setopt MONITOR } 2>/dev/null + [[ -o MONITOR ]] || print -u $ZTST_fd 'Unable to change MONITOR option' + repeat 2048; do (return 2 | + return 1 | +@@ -195,7 +195,7 @@ + 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. + +- setopt MONITOR ++ { setopt MONITOR } 2>/dev/null + externFunc() { awk >/dev/null 2>&1; true; } + false | true | false | true | externFunc + echo $pipestatus |