summaryrefslogtreecommitdiff
path: root/t/aggregate-results.sh
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2023-03-09 11:30:31 -0600
committerJunio C Hamano <gitster@pobox.com>2023-03-09 14:57:55 -0800
commit5d1d62e87540fd43bb16b123c9c73b022cc463e2 (patch)
treee1869eae245ff03130e618ae655021687262163b /t/aggregate-results.sh
parent725f57037d81e24eacfda6e59a19c60c0b4c8062 (diff)
downloadgit-5d1d62e87540fd43bb16b123c9c73b022cc463e2.tar.gz
test: simplify counts aggregation
When the list of files as input was implemented in 6508eedf67 (t/aggregate-results: accomodate systems with small max argument list length, 2010-06-01), a much simpler solution wasn't considered. Let's just pass the directory as an argument. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/aggregate-results.sh')
-rwxr-xr-xt/aggregate-results.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/aggregate-results.sh b/t/aggregate-results.sh
index 7f2b83bdc8..6e3bcc4aec 100755
--- a/t/aggregate-results.sh
+++ b/t/aggregate-results.sh
@@ -8,7 +8,7 @@ broken=0
total=0
missing_prereq=
-while read file
+for file in "$1"/t*-*.counts
do
while read type value
do