Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[SOLVED] Re: Test suite failures in 5.0.2-test-1 _and_ 5.0.2-test-3 on automatic build (was: Re: 5.0.2-test-2 is available)



Hi,

On Mon, Dec 02, 2013 at 10:34:16AM -0800, Bart Schaefer wrote:
> On Dec 2,  7:25pm, Axel Beckert wrote:
> }
> } Test ../../Test/A05execution.ztst failed: error output differs from expected as shown above for:
> }   setopt MONITOR
> }   externFunc() { awk >/dev/null 2>&1; true; }
> 
> Oops, my mistake -- didn't realize there were two "setopt MONITOR" in
> there.

Yay, with patching both occurrences, the package builds fine again.
Thanks for the help!

Full patch so far:

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

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@xxxxxxxxxxxxxxx  (Mail)
 X   See http://www.asciiribbon.org/              | abe@xxxxxxxxx (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)



Messages sorted by: Reverse Date, Date, Thread, Author