]> Savannah Git Hosting - gnulib.git/commitdiff
update-copyright: reenable its always-skipped test
authorJim Meyering <meyering@fb.com>
Sun, 5 Jan 2020 06:52:20 +0000 (22:52 -0800)
committerJim Meyering <meyering@fb.com>
Sun, 5 Jan 2020 17:06:18 +0000 (09:06 -0800)
* tests/test-update-copyright.sh: Restore the "-pi" options removed
on 2019-06-15.  Without those, an internal preliminary test would
fail, causing this test always to be skipped.
Verify that the test is now run and passes via this:
  ./gnulib-tool --test --dir /tmp/x --with-tests update-copyright

ChangeLog
tests/test-update-copyright.sh

index e2278a3854e89783456331b92abc24a623ab1b30..a69db8585d10c5b577196c118b440b2f85cb2117 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2020-01-04  Jim Meyering  <meyering@fb.com>
+
+       update-copyright: reenable its always-skipped test
+       * tests/test-update-copyright.sh: Restore the "-pi" options removed
+       on 2019-06-15. Without those, an internal preliminary test would
+       fail, causing this test always to be skipped.
+       Verify that the test is now run and passes via this:
+         ./gnulib-tool --test --dir /tmp/x --with-tests update-copyright
+
 2020-01-05  Bruno Haible  <bruno@clisp.org>
 
        mbstoc32s: Add tests.
index b59f8359990a067aac864e5a41f63b86a2785140..adba7799fe83a11be36cf666523f80412924f7c4 100755 (executable)
@@ -51,7 +51,7 @@ cat <<\EOF > $s
 # the script through the perl program found in $PATH.  The '-x' option
 # is essential as well; without it, perl would re-execute the script
 # through /bin/sh.  When executed by  perl, the next two lines are a no-op.
-eval 'exec perl -wSx "$0" "$@"'
+eval 'exec perl -wSx -pi "$0" "$@"'
      if 0;
 
 s/a/b/