From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16095 invoked by alias); 12 May 2013 18:08:10 -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: 31395 Received: (qmail 8700 invoked from network); 12 May 2013 18:08:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: neutral (ns1.primenet.com.au: 209.85.212.181 is neither permitted nor denied by SPF record at ntlworld.com) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-proxyuser-ip:date:from:to:subject:message-id :in-reply-to:references:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=toQR9ZVKltWlJcEJ9aVheZ/XOmxPenujCqTXE6GNHfg=; b=ntBAJLba/7/W5pHGpDdLTvKsIdtZO/WJAmlNgxrdt6zF7TAhe85Dj7tU9KZIodzgvf kD00N4KITQxVZ0kDHPyiMyhHpKeHqGQdHn/Ig9XsHD0fnCopvuI3GDqYiPP4MPz+J6Ea f85ThUcQcSM0giqIOPO0lyJVr6ID1ZRinwStAmO736fIBtKupwoML/OtnblU4ZSaHqmc LaB58cZngcoTjTs8jOMVkfOXm8eZ4QsaU9izfznL4sIU/vd5JGo8c4tyafevi3Tu0dxJ nhRYLVf7CymMH/SxUEQOeIDKfhMABLjgR7fHPRMe6XOoakuRzz4U4W6SuF4FiNN54t7j 6Sqw== X-Received: by 10.181.12.14 with SMTP id em14mr14183044wid.18.1368381707473; Sun, 12 May 2013 11:01:47 -0700 (PDT) X-ProxyUser-IP: 86.6.30.159 Date: Sun, 12 May 2013 19:01:44 +0100 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: test suite failure when testing statically linked build Message-ID: <20130512190144.6302df88@pws-pc.ntlworld.com> In-Reply-To: <20130510221005.GR9763@sym.noone.org> References: <20130510221005.GR9763@sym.noone.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQk5fOAHZOq6700UeDeETXpSDw9PBCdXDw4AyUZ6XantJQO/GVHNx0PxDYBfNrBE638W7Mg8 On Sat, 11 May 2013 00:10:06 +0200 Axel Beckert 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 Web page now at http://homepage.ntlworld.com/p.w.stephenson/