From: Stefano Lattarini Date: Thu, 26 Dec 2013 15:52:06 +0000 (+0100) Subject: tests: fix a spurious failure on Mac OS X X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09cbe67d3a5fea8774d529f41577e32b4b1ba81c;p=platform%2Fupstream%2Fautomake.git tests: fix a spurious failure on Mac OS X This change fixes bug#14706. * lib/depcomp2.sh: Also cater to spurious diagnostic from GNU rm, not only from Apple's rm. Signed-off-by: Stefano Lattarini --- diff --git a/t/depcomp2.sh b/t/depcomp2.sh index 3eba12d6c..3baaebfdd 100644 --- a/t/depcomp2.sh +++ b/t/depcomp2.sh @@ -47,7 +47,7 @@ $AUTOCONF cat stderr >&2 # Ignore warning messages sometimes seen on Mac OS X; they are # not automake's fault anyway, but either autoconf's or Mac's. -sed '/rm:.* conftest\.dSYM/d' stderr >stderr2 +sed '/rm:.*conftest\.dSYM/d' stderr >stderr2 test -s stderr2 && { cat stderr2; exit 1; } :