Skip to content

Commit

Permalink
t/aggregate-results: accomodate systems with small max argument list …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Brandon Casey authored and Junio C Hamano committed Jun 2, 2010
1 parent c289c31 commit 6508eed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion t/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion t/aggregate-results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ failed=0
broken=0
total=0

for file
while read file
do
while read type value
do
Expand Down

0 comments on commit 6508eed

Please sign in to comment.