From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17398 invoked by alias); 6 Dec 2016 23:45:40 -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: 40109 Received: (qmail 11808 invoked from network); 6 Dec 2016 23:45:40 -0000 X-Qmail-Scanner-Diagnostics: from lorien.comfychair.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(173.8.144.98):SA:0(-3.0/5.0):. Processed in 0.63211 secs); 06 Dec 2016 23:45:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=RP_MATCHES_RCVD,SPF_HELO_PASS, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: duvall@lorien.comfychair.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at lorien.comfychair.org designates 173.8.144.98 as permitted sender) Date: Tue, 6 Dec 2016 15:33:18 -0800 From: Danek Duvall To: Peter Stephenson Cc: zsh-workers@zsh.org Subject: test failures on Solaris (was Re: zsh-5.2-test-2) Message-ID: <20161206233318.GA63@lorien.comfychair.org> Mail-Followup-To: Danek Duvall , Peter Stephenson , zsh-workers@zsh.org References: <20161206194916.10448440@ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161206194916.10448440@ntlworld.com> User-Agent: Mutt/1.5.20 (2010-04-22) I have two failures on Solaris, but what seem like the obvious fixes don't seem to work. First: .../zsh.git/Test/B02typeset.ztst: starting. --- /tmp/zsh.ztst.28063/ztst.err 2016-12-06 14:57:07.724783240 -0800 +++ /tmp/zsh.ztst.28063/ztst.terr 2016-12-06 14:57:07.725902052 -0800 @@ -1 +1 @@ -(eval):2: failed to change user ID: operation not permitted +(eval):2: failed to change user ID: not owner Test .../zsh.git/Test/B02typeset.ztst failed: error output differs from expected as shown above for: if (( UID )); then UID=$((UID+1)) date; echo "Status is printed, $?" else ZTST_skip="cannot test setuid error when tests run as superuser" fi Was testing: when cannot change UID, the command isn't run I tried --- a/Test/B02typeset.ztst +++ b/Test/B02typeset.ztst @@ -720,4 +720,4 @@ 0:when cannot change UID, the command isn't run # 'date' did not run. >Status is printed, 1 -?(eval):2: failed to change user ID: operation not permitted +*?(eval):2: failed to change user ID: * But then it complained with -(eval):2: failed to change user ID: * +(eval):2: failed to change user ID: not owner as if it wasn't expanding properly. The second: .../zsh.git/Test/C02cond.ztst: starting. This test takes up to 60 seconds... --- /tmp/zsh.ztst.671/ztst.err 2016-12-06 15:09:45.098489090 -0800 +++ /tmp/zsh.ztst.671/ztst.terr 2016-12-06 15:09:45.104223363 -0800 @@ -0,0 +1 @@ +(eval):1: command not found: mount Test .../zsh.git/Test/C02cond.ztst failed: error output differs from expected as shown above for: ... I tried --- a/Test/C02cond.ztst +++ b/Test/C02cond.ztst @@ -146,7 +146,7 @@ # can't be bothered with -S - if [[ ${mtab::="$({mount || /sbin/mount})"} = *[(]?*[)] ]]; then + if [[ ${mtab::="$({mount || /sbin/mount || /usr/sbin/mount})"} = *[(]?*[)] ]]; then print -u $ZTST_fd 'This test takes two seconds...' else unmodified_ls="$(ls -lu $unmodified)" but it failed with the same error. I also see V10private.ztst, but I think that's just repeating the B02typeset.ztst error. Thanks, Danek