]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
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 04ae75989d82c49634d08861fe0e2d459b03ae56..30ba76732210264836fe31defc02a20b9bd41db9 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 9002cab05c5c4acb39041aff2579195a966f5901..bcd7d7955564bdf8cabd2d4dde58200009895b8f 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 1494c4ec9ebf02b1f10d9dba874b771da5081023..74b3d38eb3214fd372eea4bdcd10d2a107fe5284 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 d4591ed8e3014a2236d0a611bc5e951e36524c73..d0bcffca52f26236a0f8b4c5c2aba79485516ace 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 a7dcb9ea56d877746cc909d6ae81ab2ff07d5a0a..54ce115b5a046b90f5701f121555f701c1d0be9d 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 9b0e841ea33b480556fd91e1faa846e6c5a3426c..45a0be9adf2efdaa7a8183f9f0a55b5e39031114 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 c117ae114cdd7d6e6de9d62a9b15d80ecd180b00..5bb2fa70a80396271ae0a47d53a4ef5d7fa5db1d 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 c98266d8cca973a3329ea3d49b005ef07afd1897..915c38a98d5813ee48c5a54ac5f29aa6f4a44ab2 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 4fc583665d48ab3437b4112f911a5fb522fc7c40..7886e5d76ca5896a1606541c51275f6cc3684d52 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 2b05958c08393b4f69c90b6c4f6fc722343cf661..5790d11701db62297dc0efc9be33723af66d5ff6 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 4bebd6130ce769d31a502952d84a0ebdc8d6fd18..97f6f91d8b39894a74f54b926aa16d78cab4311f 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 73f23a149dd1203a61199a2e513ce6ebf75c97e7..b3bb3d17d2711afc47af473713e332facc70548d 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 be6e680276fa9fb4e47e2af361228dea533d9c07..37d98049fed3152bd0919e5757603ccf58ad2310 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 $@