[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Copyright year update
From: |
Eric Blake |
Subject: |
Re: Copyright year update |
Date: |
Fri, 5 Jan 2024 08:02:17 -0600 |
User-agent: |
NeoMutt/20231103 |
On Mon, Jan 01, 2024 at 04:58:20PM -0800, Paul Eggert wrote:
> On 2024-01-01 16:08, Bernhard Voelker wrote:
> > That commit broke the 'update-copyright' tests, because the test script
> > got messed up.
>
> Thanks for reporting that. Turing would have been amused by update-copyright
> modifying its own test, and then failing the modified test. I installed the
> attached to immunize the test against the program it tests.
> +++ b/tests/test-update-copyright.sh
> @@ -76,46 +76,53 @@ perl -e 'require 5.8.0' || {
> UPDATE_COPYRIGHT_MAX_LINE_LENGTH=72
> export UPDATE_COPYRIGHT_MAX_LINE_LENGTH
>
> +# This assignment to 'ight' is is so that data can contain strings
duplicate 'is'
> +# like "Copy$ight 2024 Free Software Foundation, Inc." without being
> +# mistakenly updated by "cd .. && make update-copyright".
> +ight=right
--
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization: qemu.org | libguestfs.org