Skip to content
Snippets Groups Projects
Commit f680ed10e2c4 authored by Jim Hague's avatar Jim Hague
Browse files

tests: fix command line overflow on ksh

"<command> `hg manifest`" overflows the puny 1024 byte command line length
limit on AIX default shell ksh. Replace with "hg manifest | xargs <command>".
parent 73aaff46175b
No related branches found
No related tags found
No related merge requests found
$ 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!!!'
......@@ -5,5 +5,5 @@
$ "$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]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment