contrib/check-code.py
changeset 26777 df1a29ec45bf
parent 26588 b3f7516fa50e
child 26808 b81b8dbecc26
--- a/contrib/check-code.py	Thu Oct 15 20:32:01 2015 -0400
+++ b/contrib/check-code.py	Thu Oct 15 20:36:12 2015 -0400
@@ -125,6 +125,7 @@
     (r'^diff *-\w*u.*$\n(^  \$ |^$)', "prefix diff -u with cmp"),
     (r'seq ', "don't use 'seq', use $TESTDIR/seq.py"),
     (r'\butil\.Abort\b', "directly use error.Abort"),
+    (r'\|&', "don't use |&, use 2>&1"),
   ],
   # warnings
   [