From: Eric Wong Date: Wed, 08 Mar 2023 09:26:21 GMT Subject: Re: [PATCH] test: simplify counts aggregation Message-ID: <20230308092621.M321240@dcvr> In-Reply-To: <230308.86bkl3zjp3.gmgdl@evledraar.gmail.com> > On Wed, Mar 08 2023, Felipe Contreras wrote: > > +++ b/t/Makefile > > + '$(SHELL_PATH_SQ)' ./aggregate-results.sh '$(TEST_RESULTS_DIRECTORY_SQ)/t*-*.counts' > > +++ b/t/aggregate-results.sh > > > > -while read file > > +for file in $1 Reading aggregate-results.sh alone looks wrong; but your patch is correct overall because of how it's invoked from the Makefile. I think that's too subtle... Ævar Arnfjörð Bjarmason wrote: > I think we can go even further here, and just pass the > $(TEST_RESULTS_DIRECTORY_SQ) as an argument to the script Yes.