Some of my 2006-07-03 changes to tests/*/Makefile.am were being
authorJim Meyering <jim@meyering.net>
Sat, 19 Aug 2006 16:02:11 +0000 (16:02 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 19 Aug 2006 16:02:11 +0000 (16:02 +0000)
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.

13 files changed:
ChangeLog
tests/Makefile.am.in
tests/cut/Makefile.am
tests/head/Makefile.am
tests/join/Makefile.am
tests/pr/Makefile.am
tests/sort/Makefile.am
tests/tac/Makefile.am
tests/tail/Makefile.am
tests/test/Makefile.am
tests/tr/Makefile.am
tests/uniq/Makefile.am
tests/wc/Makefile.am

index 04ae759..30ba767 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
 2006-08-19  Jim Meyering  <jim@meyering.net>
 
+       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.
+
        * NEWS: Fix cp --sparse so that it preserves tail-end sparseness, even
        when the file's apparent size is not a multiple of its block size.
        * src/copy.c (copy_reg): Don't write a NUL before calling ftruncate.
index 9002cab..bcd7d79 100644 (file)
@@ -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 @@ $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
+       chmod -w $@t
        mv $@t $@
index 1494c4e..74b3d38 100644 (file)
@@ -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 @@ $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
+       chmod -w $@t
        mv $@t $@
index d4591ed..d0bcffc 100644 (file)
@@ -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 @@ $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
+       chmod -w $@t
        mv $@t $@
index a7dcb9e..54ce115 100644 (file)
@@ -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 @@ $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
+       chmod -w $@t
        mv $@t $@
index 9b0e841..45a0be9 100644 (file)
@@ -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 @@ $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
+       chmod -w $@t
        mv $@t $@
index c117ae1..5bb2fa7 100644 (file)
@@ -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 @@ $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
+       chmod -w $@t
        mv $@t $@
index c98266d..915c38a 100644 (file)
@@ -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 @@ $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
+       chmod -w $@t
        mv $@t $@
index 4fc5836..7886e5d 100644 (file)
@@ -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 @@ $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
+       chmod -w $@t
        mv $@t $@
index 2b05958..5790d11 100644 (file)
@@ -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 @@ $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
+       chmod -w $@t
        mv $@t $@
index 4bebd61..97f6f91 100644 (file)
@@ -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 @@ $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
+       chmod -w $@t
        mv $@t $@
index 73f23a1..b3bb3d1 100644 (file)
@@ -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 @@ $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
+       chmod -w $@t
        mv $@t $@
index be6e680..37d9804 100644 (file)
@@ -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 @@ $(srcdir)/Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
          echo "x = $$tool" >> $@t
        $(PERL) -I$(srcdir) -w -- $(mk_script) $(srcdir) --list >> $@t
        sed -n '/^##test-files-end/,$$p' $(srcdir)/../Makefile.am.in >> $@t
+       chmod -w $@t
        mv $@t $@