zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-workers@zsh.org
Subject: Re: test suite failure when testing statically linked build
Date: Sun, 12 May 2013 19:01:44 +0100	[thread overview]
Message-ID: <20130512190144.6302df88@pws-pc.ntlworld.com> (raw)
In-Reply-To: <20130510221005.GR9763@sym.noone.org>

On Sat, 11 May 2013 00:10:06 +0200
Axel Beckert <abe@deuxchevaux.org> wrote:
> if I enable the test-suite in the Debian package of zsh 5.0.2 after
> the statically linked variant has been built, I get the following test
> suite failure:
>...
> ../../Test/C02cond.ztst: starting.
> Test ../../Test/C02cond.ztst failed: bad status 1, expected 0 from:
>   if (( EUID == 0 )); then
>     print -u$ZTST_fd 'Warning: Not testing [[ ! -r file ]] (root reads anything)'
>     [[ -r zerolength && -r unmodish ]]
>   elif [[ $OSTYPE = cygwin ]]; then
>     print -u$ZTST_fd 'Warning: Not testing [[ ! -r file ]]
>    (all files created by user may be readable)'
>    [[ -r zerolength ]]
>   else
>     [[ -r zerolength && ! -r unmodish ]]
>   fi
> Was testing: -r cond
> ../../Test/C02cond.ztst: test failed.

Hmmm... it's certainly true that compiling with --disable-dynamic
doesn't get much love and attention, but, when I did it here, the test
suite skipped a few test for things that weren't compiled in but didn't
fail on anything.  There may be some other subtle effect I'm not seeing.

(I can see a few things that probably ought to be linked by default in
this case, such as the regex library since that's used as part of the
shell syntax, but I deliberately kept with the defaults so that isn't
the problem here.)

-- 
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/


      reply	other threads:[~2013-05-12 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-10 22:10 Axel Beckert
2013-05-12 18:01 ` Peter Stephenson [this message]

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=20130512190144.6302df88@pws-pc.ntlworld.com \
    --to=p.w.stephenson@ntlworld.com \
    --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).