From 692ea98eca01854607198c191af2d12590437e38 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Sat, 4 Feb 2012 00:02:05 +0000 Subject: [PATCH] tests: fix command line overflow on ksh " `hg manifest`" overflows the puny 1024 byte command line length limit on AIX default shell ksh. Replace with "hg manifest | xargs ". --- tests/test-check-code-hg.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test-check-code-hg.t b/tests/test-check-code-hg.t index e0de6f85c4..11399580df 100644 --- a/tests/test-check-code-hg.t +++ b/tests/test-check-code-hg.t @@ -1,9 +1,9 @@ $ check_code="$TESTDIR"/../contrib/check-code.py $ cd "$TESTDIR"/.. - $ "$check_code" `hg manifest` || echo 'FAILURE IS NOT AN OPTION!!!' + $ hg manifest | xargs "$check_code" || echo 'FAILURE IS NOT AN OPTION!!!' - $ "$check_code" --warnings --nolineno --per-file=0 `hg manifest` + $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 contrib/check-code.py:0: > # (r'^\s+[^_ \n][^_. \n]+_[^_\n]+\s*=', "don't use underbars in identifiers"), warning: line over 80 characters @@ -657,4 +657,4 @@ tests/test-walkrepo.py:0: > print "Found %d repositories when I should have found 3" % (len(reposet),) warning: line over 80 characters - [1] + [123]