Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: test failures on Solaris (was Re: zsh-5.2-test-2)
- X-seq: zsh-workers 40110
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx, Danek Duvall <duvall@xxxxxxxxxxxxxx>
- Subject: Re: test failures on Solaris (was Re: zsh-5.2-test-2)
- Date: Tue, 6 Dec 2016 16:36:11 -0800
- 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==
- In-reply-to: <20161206233318.GA63@lorien.comfychair.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20161206194916.10448440@ntlworld.com> <20161206233318.GA63@lorien.comfychair.org>
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)"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author