tests/test-check-code-hg.t
branchstable
changeset 16069 f680ed10e2c4
parent 15932 4154338f0bc0
child 16088 6c1daae0ae7b
child 16156 e7746fefd1ef
--- a/tests/test-check-code-hg.t	Sun Feb 05 22:58:31 2012 +0900
+++ b/tests/test-check-code-hg.t	Sat Feb 04 00:02:05 2012 +0000
@@ -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]