bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: minor change: tests/Makefile.am.in, and derived Makefile.am files


From: Jim Meyering
Subject: FYI: minor change: tests/Makefile.am.in, and derived Makefile.am files
Date: Sat, 19 Aug 2006 18:04:19 +0200

2006-08-19  Jim Meyering  <address@hidden>

        Some of my 2006-07-03 changes to tests/*/Makefile.am were being
        backed out due to updates provoked by the copyright changes.
        * tests/Makefile.am.in (PATH): Prepend $(VG_PATH_PREFIX), so that
        it propagates to the derived Makefile.am files.
        ($(srcdir)/Makefile.am): Mark generated .am files as read-only,
        so we don't mistakenly edit them again.
        * tests/cut/Makefile.am: Regenerate.
        * tests/head/Makefile.am: Likewise.
        * tests/join/Makefile.am: Likewise.
        * tests/pr/Makefile.am: Likewise.
        * tests/sort/Makefile.am: Likewise.
        * tests/tac/Makefile.am: Likewise.
        * tests/tail/Makefile.am: Likewise.
        * tests/test/Makefile.am: Likewise.
        * tests/tr/Makefile.am: Likewise.
        * tests/uniq/Makefile.am: Likewise.
        * tests/wc/Makefile.am: Likewise.

Index: tests/Makefile.am.in
===================================================================
RCS file: /fetish/cu/tests/Makefile.am.in,v
retrieving revision 1.10
diff -u -r1.10 Makefile.am.in
--- tests/Makefile.am.in        17 Aug 2006 19:58:24 -0000      1.10
+++ tests/Makefile.am.in        19 Aug 2006 15:33:25 -0000
@@ -1,6 +1,6 @@
 # Make coreutils tests.                                        -*-Makefile-*-
 
-# Copyright (C) 1997, 1998, 2000, 2003, 2004 Free Software
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 Free Software
 # Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -24,7 +24,7 @@
 EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
 noinst_SCRIPTS = $x-tests
 TESTS_ENVIRONMENT = \
-  PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
+  PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
 
 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,$(srcdir),g'
 
@@ -49,4 +49,5 @@
          echo "x = $$tool" >> address@hidden
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> 
address@hidden
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> 
address@hidden
+       chmod -w address@hidden
        mv address@hidden $@
Index: tests/cut/Makefile.am
===================================================================
RCS file: /fetish/cu/tests/cut/Makefile.am,v
retrieving revision 1.29
diff -u -r1.29 Makefile.am
--- tests/cut/Makefile.am       17 Aug 2006 19:58:25 -0000      1.29
+++ tests/cut/Makefile.am       19 Aug 2006 15:33:29 -0000
@@ -1,6 +1,7 @@
-# Make coreutils tests for 'cut'.                      -*-Makefile-*-
+# Make coreutils tests.                                        -*-Makefile-*-
 
-# Copyright (C) 1996, 1997, 2006 Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 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
@@ -76,4 +77,5 @@
          echo "x = $$tool" >> address@hidden
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> 
address@hidden
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> 
address@hidden
+       chmod -w address@hidden
        mv address@hidden $@
Index: tests/head/Makefile.am
===================================================================
RCS file: /fetish/cu/tests/head/Makefile.am,v
retrieving revision 1.22
diff -u -r1.22 Makefile.am
--- tests/head/Makefile.am      17 Aug 2006 19:58:28 -0000      1.22
+++ tests/head/Makefile.am      19 Aug 2006 15:33:30 -0000
@@ -1,6 +1,7 @@
-# Make coreutils tests for "head".             -*-Makefile-*-
+# Make coreutils tests.                                        -*-Makefile-*-
 
-# Copyright (C) 1997, 2006 Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 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
@@ -63,4 +64,5 @@
          echo "x = $$tool" >> address@hidden
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> 
address@hidden
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> 
address@hidden
+       chmod -w address@hidden
        mv address@hidden $@
Index: tests/join/Makefile.am
===================================================================
RCS file: /fetish/cu/tests/join/Makefile.am,v
retrieving revision 1.27
diff -u -r1.27 Makefile.am
--- tests/join/Makefile.am      17 Aug 2006 19:58:28 -0000      1.27
+++ tests/join/Makefile.am      19 Aug 2006 15:33:31 -0000
@@ -1,7 +1,7 @@
-# Make coreutils tests for "join".
+# Make coreutils tests.                                        -*-Makefile-*-
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2003, 2004, 2006 Free
-# Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 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
@@ -68,4 +68,5 @@
          echo "x = $$tool" >> address@hidden
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> 
address@hidden
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> 
address@hidden
+       chmod -w address@hidden
        mv address@hidden $@
Index: tests/pr/Makefile.am
===================================================================
RCS file: /fetish/cu/tests/pr/Makefile.am,v
retrieving revision 1.31
diff -u -r1.31 Makefile.am
--- tests/pr/Makefile.am        17 Aug 2006 19:58:36 -0000      1.31
+++ tests/pr/Makefile.am        19 Aug 2006 15:33:32 -0000
@@ -1,7 +1,7 @@
-# Make coreutils tests for "pr".                       -*-Makefile-*-
+# Make coreutils tests.                                        -*-Makefile-*-
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 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
@@ -18,8 +18,6 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 # 02110-1301, USA.
 
-## Process this file with automake to produce Makefile.in -*-Makefile-*-.
-
 ##test-files-begin
 x = pr
 explicit = 0F 0FF 0FFnt 0FFt 0FnFnt 0FnFt 0Fnt 0Ft 2-S_f-t_notab 2-Sf-t_notab \
@@ -154,4 +152,5 @@
          echo "x = $$tool" >> address@hidden
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> 
address@hidden
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> 
address@hidden
+       chmod -w address@hidden
        mv address@hidden $@
Index: tests/sort/Makefile.am
===================================================================
RCS file: /fetish/cu/tests/sort/Makefile.am,v
retrieving revision 1.39
diff -u -r1.39 Makefile.am
--- tests/sort/Makefile.am      17 Aug 2006 19:58:37 -0000      1.39
+++ tests/sort/Makefile.am      19 Aug 2006 15:33:34 -0000
@@ -1,7 +1,7 @@
-# Make coreutils tests for "sort".             -*-Makefile-*-
+# Make coreutils tests.                                        -*-Makefile-*-
 
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-# 2006 Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 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
@@ -92,4 +92,5 @@
          echo "x = $$tool" >> address@hidden
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> 
address@hidden
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> 
address@hidden
+       chmod -w address@hidden
        mv address@hidden $@
Index: tests/tac/Makefile.am
===================================================================
RCS file: /fetish/cu/tests/tac/Makefile.am,v
retrieving revision 1.21
diff -u -r1.21 Makefile.am
--- tests/tac/Makefile.am       17 Aug 2006 19:58:37 -0000      1.21
+++ tests/tac/Makefile.am       19 Aug 2006 15:33:35 -0000
@@ -1,4 +1,4 @@
-# Make coreutils tests for "tac".                      -*-Makefile-*-
+# Make coreutils tests.                                        -*-Makefile-*-
 
 # Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 Free Software
 # Foundation, Inc.
@@ -65,4 +65,5 @@
          echo "x = $$tool" >> address@hidden
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> 
address@hidden
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> 
address@hidden
+       chmod -w address@hidden
        mv address@hidden $@
Index: tests/tail/Makefile.am
===================================================================
RCS file: /fetish/cu/tests/tail/Makefile.am,v
retrieving revision 1.31
diff -u -r1.31 Makefile.am
--- tests/tail/Makefile.am      17 Aug 2006 19:58:37 -0000      1.31
+++ tests/tail/Makefile.am      19 Aug 2006 15:33:36 -0000
@@ -1,6 +1,6 @@
-# Make coreutils tests for "tail".             -*-Makefile-*-
+# Make coreutils tests.                                        -*-Makefile-*-
 
-# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2005, 2006 Free Software
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 Free Software
 # Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -73,4 +73,5 @@
          echo "x = $$tool" >> address@hidden
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> 
address@hidden
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> 
address@hidden
+       chmod -w address@hidden
        mv address@hidden $@
Index: tests/test/Makefile.am
===================================================================
RCS file: /fetish/cu/tests/test/Makefile.am,v
retrieving revision 1.14
diff -u -r1.14 Makefile.am
--- tests/test/Makefile.am      17 Aug 2006 19:58:37 -0000      1.14
+++ tests/test/Makefile.am      19 Aug 2006 15:33:37 -0000
@@ -1,6 +1,6 @@
-# Make coreutils tests for "test".             -*-Makefile-*-
+# Make coreutils tests.                                        -*-Makefile-*-
 
-# Copyright (C) 1998, 2000, 2003, 2004, 2005, 2006 Free Software
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 Free Software
 # Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -149,4 +149,5 @@
          echo "x = $$tool" >> address@hidden
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> 
address@hidden
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> 
address@hidden
+       chmod -w address@hidden
        mv address@hidden $@
Index: tests/tr/Makefile.am
===================================================================
RCS file: /fetish/cu/tests/tr/Makefile.am,v
retrieving revision 1.37
diff -u -r1.37 Makefile.am
--- tests/tr/Makefile.am        17 Aug 2006 19:58:38 -0000      1.37
+++ tests/tr/Makefile.am        19 Aug 2006 15:33:38 -0000
@@ -1,7 +1,7 @@
-# Make coreutils tests for "tr".               -*-Makefile-*-
+# Make coreutils tests.                                        -*-Makefile-*-
 
-# Copyright (C) 1996, 1997, 1998, 2000, 2002, 2003, 2004, 2005, 2006
-# Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 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
@@ -77,4 +77,5 @@
          echo "x = $$tool" >> address@hidden
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> 
address@hidden
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> 
address@hidden
+       chmod -w address@hidden
        mv address@hidden $@
Index: tests/uniq/Makefile.am
===================================================================
RCS file: /fetish/cu/tests/uniq/Makefile.am,v
retrieving revision 1.16
diff -u -r1.16 Makefile.am
--- tests/uniq/Makefile.am      17 Aug 2006 19:58:38 -0000      1.16
+++ tests/uniq/Makefile.am      19 Aug 2006 15:33:39 -0000
@@ -1,7 +1,7 @@
-# Make coreutils tests for "uniq".             -*-Makefile-*-
+# Make coreutils tests.                                        -*-Makefile-*-
 
-# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
-# Free Software Foundation, Inc.
+# Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 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
@@ -71,4 +71,5 @@
          echo "x = $$tool" >> address@hidden
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> 
address@hidden
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> 
address@hidden
+       chmod -w address@hidden
        mv address@hidden $@
Index: tests/wc/Makefile.am
===================================================================
RCS file: /fetish/cu/tests/wc/Makefile.am,v
retrieving revision 1.18
diff -u -r1.18 Makefile.am
--- tests/wc/Makefile.am        17 Aug 2006 19:58:38 -0000      1.18
+++ tests/wc/Makefile.am        19 Aug 2006 15:33:41 -0000
@@ -1,4 +1,4 @@
-# Make coreutils tests for "wc".               -*-Makefile-*-
+# Make coreutils tests.                                        -*-Makefile-*-
 
 # Copyright (C) 1997, 1998, 2000, 2003, 2004, 2006 Free Software
 # Foundation, Inc.
@@ -57,4 +57,5 @@
          echo "x = $$tool" >> address@hidden
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> 
address@hidden
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> 
address@hidden
+       chmod -w address@hidden
        mv address@hidden $@




reply via email to

[Prev in Thread] Current Thread [Next in Thread]