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