[Pkg-zsh-commits] [zsh] 09/09: Add patch by Bart Schaefer which should further mitigate #759870

Axel Beckert abe at deuxchevaux.org
Mon Oct 13 21:11:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch debian
in repository zsh.

commit 35069efefb815ffbbbc3913720d3a491a5549542
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Oct 13 23:10:46 2014 +0200

    Add patch by Bart Schaefer which should further mitigate #759870
---
 debian/patches/further-mitigate-test-suite-hangs.patch | 17 +++++++++++++++++
 debian/patches/series                                  |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/further-mitigate-test-suite-hangs.patch b/debian/patches/further-mitigate-test-suite-hangs.patch
new file mode 100644
index 0000000..887b8d5
--- /dev/null
+++ b/debian/patches/further-mitigate-test-suite-hangs.patch
@@ -0,0 +1,17 @@
+Origin: http://www.zsh.org/mla/workers/2014/msg01250.html
+Author: Bart Schaefer <schaefer at brasslantern.com>
+Bug-Debian: https://bugs.debian.org/759870
+Description: Add a sleep call which should prevent a race condition in coproc
+
+diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst
+index ca97f4f..0b40a73 100644
+--- a/Test/A05execution.ztst
++++ b/Test/A05execution.ztst
+@@ -208,6 +208,7 @@ F:This similar test was triggering a reproducible failure with pipestatus.
+   print -u $ZTST_fd 'This test takes 5 seconds to fail...'
+   { printf "%d\n" {1..20000} } | ( read -e )
+   hang(){ printf "%d\n" {2..20000} | cat }; hang | ( read -e )
++  sleep 1 ;: avoid coproc exit race condition
+   print -p done
+   read -et 6 -p
+ 0:Bug regression: piping a shell construct to an external process may hang
diff --git a/debian/patches/series b/debian/patches/series
index f481959..af374d2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ cherry-pick-22c4ea42-33403-be-conservative-about-redirecting-call-program-stderr
 cherry-pick-605a73e4-33429-disallow-non-integer-values-for-histsize-and-savehist-of-fc-p-and-fix-crash-on-zero-values-for-same.patch
 cherry-pick-521313b4-tests-for-workers-33429.patch
 cherry-pick-2d14c085-33445-fix-handling-of-s-when-combined-with-i-at-shell-invocation.patch
+further-mitigate-test-suite-hangs.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/zsh.git



More information about the Pkg-zsh-commits mailing list