@matheusbsbs / matheus-bagliano / commits / 6508eedf67
Fork 0

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 <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Brandon Casey committed Jun 1, 2010 at 19:13 UTC 6508eedf670c180934db880b50a9a6b930acbf02
2 files changed +4 -2
t/Makefile
+3 -1
@@ -35,7 +35,9 @@ aggregate-results-and-cleanup: $(T)
35 $(MAKE) clean
36
37 aggregate-results:
38 - '$(SHELL_PATH_SQ)' ./aggregate-results.sh test-results/t*-*
38 + for f in test-results/t*-*; do \
39 + echo "$$f"; \
40 + done | '$(SHELL_PATH_SQ)' ./aggregate-results.sh
41
42 # we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
43 full-svn-test:
t/aggregate-results.sh
+1 -1
@@ -6,7 +6,7 @@ failed=0
6 broken=0
7 total=0
8
9 -for file
9 +while read file
10 do
11 while read type value
12 do