Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
test failures on Solaris (was Re: zsh-5.2-test-2)
- X-seq: zsh-workers 40109
- From: Danek Duvall <duvall@xxxxxxxxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Subject: test failures on Solaris (was Re: zsh-5.2-test-2)
- Date: Tue, 6 Dec 2016 15:33:18 -0800
- Cc: zsh-workers@xxxxxxx
- In-reply-to: <20161206194916.10448440@ntlworld.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: Danek Duvall <duvall@xxxxxxxxxxxxxx>, Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>, zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20161206194916.10448440@ntlworld.com>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author