From 6508eedf670c180934db880b50a9a6b930acbf02 Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Tue, 1 Jun 2010 19:13:44 -0500 Subject: [PATCH] t/aggregate-results: accomodate systems with small max argument list length IRIX 6.5 has a default maximum argument list length of 20480. The file glob that is passed to aggregate-results currently exceeds this length, and so the script cannot run successfully. Work around this issue by passing the file names in via the standard input rather than the argument list. Signed-off-by: Brandon Casey Signed-off-by: Junio C Hamano --- t/Makefile | 4 +++- t/aggregate-results.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/t/Makefile b/t/Makefile index 25c559bb4..cd008a3c0 100644 --- a/t/Makefile +++ b/t/Makefile @@ -35,7 +35,9 @@ aggregate-results-and-cleanup: $(T) $(MAKE) clean aggregate-results: - '$(SHELL_PATH_SQ)' ./aggregate-results.sh test-results/t*-* + for f in test-results/t*-*; do \ + echo "$$f"; \ + done | '$(SHELL_PATH_SQ)' ./aggregate-results.sh # we can test NO_OPTIMIZE_COMMITS independently of LC_ALL full-svn-test: diff --git a/t/aggregate-results.sh b/t/aggregate-results.sh index d5bab75d7..d206b7c4c 100755 --- a/t/aggregate-results.sh +++ b/t/aggregate-results.sh @@ -6,7 +6,7 @@ failed=0 broken=0 total=0 -for file +while read file do while read type value do -- 2.26.2