On Thu, Jul 4, 2024 at 1:36 AM Pádraig Brady <p...@draigbrady.com> wrote: > > On 04/07/2024 02:08, Collin Funk wrote: > > Hi, > > > > Recently there was a bug fix in Gnulib's tests/init.sh. I then noticed > > many packages copy this manually from Gnulib. Bruno and I discussed the > > proper way to import the file from Gnulib [1]. > > > > What do you think of the attached patch? Basically remove the file from > > version control. Then add 'gnulib-tool --copy-file tests/init.sh' to > > bootstrap_post_import_hook. That way every time ./bootstrap is invoked > > the proper version is imported.
Thanks. I've done the same for gzip, sed, diffutils, grep and cppi. It needed a tiny adaptation for sed's use of "testsuite" as the directory name rather than the more common "tests". Also, there were two new warnings exposed in gzip (because I built with bleeding edge GCC). Along the way, I updated each to latest gnulib+bootstrap, too.