zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org, Danek Duvall <duvall@comfychair.org>
Subject: Re: test failures on Solaris (was Re: zsh-5.2-test-2)
Date: Tue, 6 Dec 2016 16:36:11 -0800	[thread overview]
Message-ID: <161206163611.ZM30249@torch.brasslantern.com> (raw)
In-Reply-To: <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)"


  reply	other threads:[~2016-12-07  0:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20161206195028epcas2p3c53119ab37952571be3238cdf228d88f@epcas2p3.samsung.com>
     [not found] ` <20161206194916.10448440@ntlworld.com>
2016-12-06 23:33   ` Danek Duvall
2016-12-07  0:36     ` Bart Schaefer [this message]
     [not found]   ` <20161209095729.2033b5be@pwslap01u.europe.root.pri>
     [not found]     ` <20161209195457.27e43234@ntlworld.com>
     [not found]       ` <584CB4EF.6070904@eastlink.ca>
2016-12-11  3:07         ` zsh-5.2-test-3 Bart Schaefer
2016-12-11  3:26           ` zsh-5.2-test-3 Daniel Shahaf
2016-12-11  3:33             ` zsh-5.2-test-3 Bart Schaefer
2016-12-11  3:26           ` zsh-5.2-test-3 Ray Andrews
2016-12-11  3:44             ` zsh-5.2-test-3 Bart Schaefer
2016-12-11  3:59               ` zsh-5.2-test-3 Ray Andrews
2016-12-11  9:36                 ` zsh-5.2-test-3 Bart Schaefer
2016-12-11 17:01                   ` zsh-5.2-test-3 Ray Andrews
2016-12-11 17:14                     ` zsh-5.2-test-3 Bart Schaefer
2016-12-11  4:11               ` zsh-5.2-test-3 Daniel Shahaf
2016-12-11  8:58                 ` zsh-5.2-test-3 Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=161206163611.ZM30249@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=duvall@comfychair.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).