From: Brandon Casey Date: Wed, 2 Jun 2010 00:13:44 +0000 (-0500) Subject: t/aggregate-results: accomodate systems with small max argument list length X-Git-Tag: v1.7.2-rc0~33^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6508eedf670c180934db880b50a9a6b930acbf02;p=git.git 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 --- 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