From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15419 invoked by alias); 18 Jun 2013 23:14:49 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31486 Received: (qmail 23605 invoked from network); 18 Jun 2013 23:14:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at sym2.noone.org does not designate permitted sender hosts) Date: Wed, 19 Jun 2013 01:08:07 +0200 From: Axel Beckert To: zsh-workers@zsh.org Subject: Test suite failures on GNU Hurd: Test ../../Test/C02cond.ztst failed: bad status 1, expected 0 Message-ID: <20130618230807.GM30957@sym.noone.org> Mail-Followup-To: zsh-workers@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: Linux 2.6.32-5-xen-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 23.2.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: Mutt/1.5.20 (2009-06-14) Hi, I just noticed that all zsh builds on Debian GNU/Hurd consistently failed for one test (occassionally for others, too) in the test suite, at least since 4.3.10 of 2009 and still fail with 5.0.2: 4.3.10 build from 2009: ../../Test/C02cond.ztst: starting. Warning: Not testing [[ -b blockdevice ]] (no devices found) Test ../../Test/C02cond.ztst failed: bad status 1, expected 0 from: # Use hardcoded /dev/tty because globbing inside /dev fails on Cygwin char=/dev/tty [[ -c $char && ! -c $zerolength ]] Was testing: -c cond ../../Test/C02cond.ztst: test failed. 5.0.2 build from 2013: ../../Test/C02cond.ztst: starting. Test ../../Test/C02cond.ztst failed: bad status 1, expected 0 from: # Use hardcoded /dev/tty because globbing inside /dev fails on Cygwin char=/dev/tty [[ -c $char && ! -c $zerolength ]] Was testing: -c cond ../../Test/C02cond.ztst: test failed. All builds on https://buildd.debian.org/status/logs.php?pkg=zsh&arch=hurd-i386 (failed and succeeded ones; except those two of ancient zsh 4.0.x releases) show this test suite failure. But logging into a Debian GNU/Hurd box and running these checks on the commandline, works as expected and correct (the return code is in the prompt on the next line after the question mark): !129 Z9 ?0 L1 abe@strauss:ttyp1 (-zsh) 23:19:03 [~] > uname -a GNU strauss 0.3 GNU-Mach 1.3.99/Hurd-0.3 i686-AT386 GNU !130 Z10 ?0 L1 abe@strauss:ttyp1 (-zsh) 23:19:07 [~] > touch foobar !131 Z11 ?0 L1 abe@strauss:ttyp1 (-zsh) 23:19:08 [~] > ls -l foobar -rw-rw-r-- 1 abe Debian 0 Jun 18 23:19 foobar !132 Z12 ?0 L1 abe@strauss:ttyp1 (-zsh) 23:19:13 [~] > [[ -c foobar ]] !133 Z13 ?1 L1 abe@strauss:ttyp1 (-zsh) 23:19:28 [~] > char=/dev/tty !134 Z14 ?0 L1 abe@strauss:ttyp1 (-zsh) 23:19:33 [~] > [[ -c $char ]] !135 Z15 ?0 L1 abe@strauss:ttyp1 (-zsh) 23:19:41 [~] > zerolength=foobar !136 Z16 ?0 L1 abe@strauss:ttyp1 (-zsh) 23:19:46 [~] > [[ -c $char && ! -c $zerolength ]] !137 Z17 ?0 L1 abe@strauss:ttyp1 (-zsh) 23:19:52 [~] > echo $ZSH_VERSION 4.3.10 !138 Z18 ?0 L1 abe@strauss:ttyp1 (-zsh) 23:20:50 [~] > I also got the same results with zsh 4.3.17 on Debian GNU/Hurd. (No zsh 5.0.2 accessible on Hurd for me at the moment, and building takes ages. :-) I have been assured, that /dev/tty exists on all build daemons, so it shouldn't be a non-existent /dev/tty. So I wonder: Why does the test suite fail while -c seems to work fine on the command line on GNU Hurd? Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe@deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)