Skip to content

Commit 6508eed

Browse files
drafnelgitster
authored andcommitted
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>
1 parent c289c31 commit 6508eed

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

t/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ aggregate-results-and-cleanup: $(T)
3535
$(MAKE) clean
3636

3737
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
3941

4042
# we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
4143
full-svn-test:

t/aggregate-results.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ failed=0
66
broken=0
77
total=0
88

9-
for file
9+
while read file
1010
do
1111
while read type value
1212
do

0 commit comments

Comments
 (0)