From 6d316dd0ee1b478baa85896b6f6e05dc8ae240e3 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Wed, 14 Jul 2010 13:41:05 +0200 Subject: [PATCH] Minor improvements to tests ar*.test. * tests/ar.test: Add trailing `:' command. * tests/ar2.test: Likewise, and make grepping of generated Makefile.in stricter. --- ChangeLog | 7 +++++++ tests/ar.test | 4 +++- tests/ar2.test | 8 +++++--- 3 files changed, 15 insertions(+), 4 deletions(-) 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 + +: -- 2.47.2