From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21716 invoked by alias); 7 Dec 2016 00:36:07 -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: 40110 Received: (qmail 26122 invoked from network); 7 Dec 2016 00:36:07 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f51.google.com 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(209.85.213.51):SA:0(-0.0/5.0):. Processed in 0.858114 secs); 07 Dec 2016 00:36:07 -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=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.213.51 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=3RE0F/Nr6wOJC9WsyzQXzIDFIQ4SRgLnsAJVFqJxbBI=; b=hqgiIxqYXoNBAzMOZb9YApYN/mPNBgvfa46mSGHWU5URWA9PR9Ssu8aYdekcrY45gI NlrZBKLRb38TO8tUG3C5KrxgHO04rz70sIfW5o87G9SHa7bW1h0t2xln/0yS+kg+9MjK s9L9nZ/axDhueA34VSLtWFf5CMqs+P8zGYvoZmHEvi+qC4okTmxR9F44C8mV5Vyqw+1D ag6WZqT4O/ZrzCmcMPDZA5NaQqjFkpsWyv9Td8abnVUDcfznlXqjxkg88MTlff8myZuX rDbDgxYZguhgaHaw+SLEEuuMkpD+VQgrUZzoZibXSz6l6BAruXmIRee5wk65KyNjW8Qq rCDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=3RE0F/Nr6wOJC9WsyzQXzIDFIQ4SRgLnsAJVFqJxbBI=; b=EzmRR2NRc1QzkRlwtwtkQr4kfUoCnpR8cLn4IAuG0EM/RTNgQnOIZj4CDc4/Hxwu8J vtGGvcPNa/pt1eUSpvlSyG+IBihNe2VUfcobla4QVMw2aaYB5va1JVTGUzlAdUFFKtzO FSUr4ta592dj8ZlYkWMvPLghKkp/Pj4DbLldRZ1FcDwyUaDs500IKXtr4cpjcOfHAKHE aDGJTfJxmBZql6j7qw+bIUp3YgSqZbVmNj+3r4byob0QzRSnGLPdMO5cD6nyC2sFTx/g 0C6GZ9EMAQoUNs15NjhtU+jkw8jWpoBuTbD6fNaPPGihRaoDaek+I30nSw4HxUTJQakI KvHQ== X-Gm-Message-State: AKaTC00q7Ev1ynI3RBlE1ymJf0FJIeX+8H3Lx3gVb4+5G5O/Oe9klEfP9I/8N5r2UO2ARQ== X-Received: by 10.31.32.213 with SMTP id g204mr25783011vkg.152.1481070958553; Tue, 06 Dec 2016 16:35:58 -0800 (PST) From: Bart Schaefer Message-Id: <161206163611.ZM30249@torch.brasslantern.com> Date: Tue, 6 Dec 2016 16:36:11 -0800 In-Reply-To: <20161206233318.GA63@lorien.comfychair.org> Comments: In reply to Danek Duvall "test failures on Solaris (was Re: zsh-5.2-test-2)" (Dec 6, 3:33pm) References: <20161206194916.10448440@ntlworld.com> <20161206233318.GA63@lorien.comfychair.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org, Danek Duvall Subject: Re: test failures on Solaris (was Re: zsh-5.2-test-2) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Dec 6, 3:33pm, Danek Duvall wrote: } } --- 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: * The parens in (eval) are pattern characters, so [[ "(eval):" != (eval): ]] } - if [[ ${mtab::="$({mount || /sbin/mount})"} = *[(]?*[)] ]]; then } + if [[ ${mtab::="$({mount || /sbin/mount || /usr/sbin/mount})"} = *[(]?*[)] ]]; then "mount" is going to print "command not found" even if /sbin/mount is subsequently found. We need to throw away stderr. diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst index 9c56c7e..b27bb4f 100644 --- 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 +*?*: failed to change user ID: * diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst index 27a2259..3852501 100644 --- 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} 2>/dev/null)"} = *[(]?*[)] ]]; then print -u $ZTST_fd 'This test takes two seconds...' else unmodified_ls="$(ls -lu $unmodified)"