summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2010-07-14 13:41:05 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2010-08-10 19:39:20 +0200
commit6d316dd0ee1b478baa85896b6f6e05dc8ae240e3 (patch)
treebc0ed119a7e78ad60e58143a9a6e548111276a72 /tests
parente9f3c00ace05be38caabbe29d668ad2c2cb2de9f (diff)
downloadautomake-6d316dd0ee1b478baa85896b6f6e05dc8ae240e3.tar.gz
Minor improvements to tests ar*.test.
* tests/ar.test: Add trailing `:' command. * tests/ar2.test: Likewise, and make grepping of generated Makefile.in stricter.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ar.test4
-rwxr-xr-xtests/ar2.test8
2 files changed, 8 insertions, 4 deletions
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
+
+: