From: Stefano Lattarini Date: Wed, 14 Jul 2010 11:41:05 +0000 (+0200) Subject: Minor improvements to tests ar*.test. X-Git-Tag: v1.11.1b~58^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d316dd0ee1b478baa85896b6f6e05dc8ae240e3;p=thirdparty%2Fautomake.git Minor improvements to tests ar*.test. * tests/ar.test: Add trailing `:' command. * tests/ar2.test: Likewise, and make grepping of generated Makefile.in stricter. --- diff --git a/ChangeLog b/ChangeLog index f9c3e292e..10621f4d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-08-08 Stefano Lattarini + + Minor improvements to tests ar*.test. + * tests/ar.test: Add trailing `:' command. + * tests/ar2.test: Likewise, and make grepping of generated + Makefile.in stricter. + 2010-08-08 Ralf Wildenhues Fix maintainer-check failure. diff --git a/tests/ar.test b/tests/ar.test index d68fc5417..dbdf24657 100755 --- a/tests/ar.test +++ b/tests/ar.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003, 2010 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -39,3 +39,5 @@ $AUTOMAKE $MAKE grep 'it works' libfoo.a grep 'really works' libfoo.a + +: diff --git a/tests/ar2.test b/tests/ar2.test index f0485cece..329f80491 100755 --- a/tests/ar2.test +++ b/tests/ar2.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2004 Free Software Foundation, Inc. +# Copyright (C) 2004, 2010 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -34,5 +34,7 @@ END $ACLOCAL $AUTOMAKE -grep 'ARFLAGS =' Makefile.in -grep 'AR =' Makefile.in +grep '^ARFLAGS =' Makefile.in +grep '^AR =' Makefile.in + +: