GNU bug report logs - #11898
automake 1.12.2: self-check-exit.tap fails on Mac OS X 10.7.4

Previous Next

Package: automake;

Reported by: Max Horn <max <at> quendi.de>

Date: Tue, 10 Jul 2012 14:33:01 UTC

Severity: minor

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #23 received at control <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: automake-patches <at> gnu.org
Cc: 11898 <at> debbugs.gnu.org
Subject: Re: [PATCH] tests: verify the shell test scripts are syntactically
	valid
Date: Fri, 13 Jul 2012 14:49:00 +0200
tags 11898 + patch
close 11898
thanks

On 07/11/2012 11:30 AM, Stefano Lattarini wrote:
> [PATCH] tests: verify the shell test scripts are syntactically valid
> 
> This measure of extra safety is mostly motivated by the fact that some
> shells (at least some versions of Bash in the 3.x release series, one
> of which severs
>
Oops, s/severs/serves/ here.  Fixed before pushing.

> as /bin/sh on Mac OS X 10.7, as well as Bash 4.0 and the
> /usr/xpg4/bin/sh shell from Solaris 10) erroneously exit with exit status
> 0 upon encountering a syntax error, if an exit trap is sett (as it is in
> our test scripts).
> 
> * Makefile.am (check-tests-syntax): New, check that the shell test
> scripts listed in $(TESTS) are syntactically correct.
> (.PHONY, check-local): Depend on it.
> * t/self-check-exit.tap : Remove checks verifying that a script exits
> with non-zero status upon encountering a syntax error; as explained
> above, we can't depend on that.
>
Pushed now.  I'm thus closing this bug report.

Thanks,
  Stefano




This bug report was last modified 13 years and 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.