aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2010-06-01 19:13:44 -0500
committerJunio C Hamano <gitster@pobox.com>2010-06-02 09:36:49 -0700
commit6508eedf670c180934db880b50a9a6b930acbf02 (patch)
tree99ffb2d649a7a959ad146d3bb9fe2a07d16dd534
parentc289c315c2bfcd5fde99f9e4dbb109f89e29dfce (diff)
downloadgit-6508eedf670c180934db880b50a9a6b930acbf02.tar.gz
git-6508eedf670c180934db880b50a9a6b930acbf02.tar.xz
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>
-rw-r--r--t/Makefile4
-rwxr-xr-xt/aggregate-results.sh2
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