From: Jim Meyering <meyering@fb.com> Date: Sun, 5 Jan 2020 06:52:20 +0000 (-0800) Subject: update-copyright: reenable its always-skipped test X-Git-Tag: v1.0~4365 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=ddfc731627e86f590eb99b4f1b07d04cc9b1ef79;p=gnulib.git 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 --- diff --git a/ChangeLog b/ChangeLog index e2278a3854..a69db8585d 100644 --- 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. diff --git a/tests/test-update-copyright.sh b/tests/test-update-copyright.sh index b59f835999..adba7799fe 100755 --- a/tests/test-update-copyright.sh +++ b/tests/test-update-copyright.sh @@ -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/