check-code: enforce the usage of 'seq.py' instead of 'seq'
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 17 Mar 2015 21:48:34 -0400
changeset 24362 58682838f8f7
parent 24361 8de8cd34f2e3
child 24363 852801178a63
check-code: enforce the usage of 'seq.py' instead of 'seq'
contrib/check-code.py
--- a/contrib/check-code.py	Tue Mar 17 21:47:47 2015 -0400
+++ b/contrib/check-code.py	Tue Mar 17 21:48:34 2015 -0400
@@ -122,6 +122,7 @@
     (r'sed (-e )?\'(\d+|/[^/]*/)i(?!\\\n)',
      "put a backslash-escaped newline after sed 'i' command"),
     (r'^diff *-\w*u.*$\n(^  \$ |^$)', "prefix diff -u with cmp"),
+    (r'seq ', "don't use 'seq', use $TESTDIR/seq.py")
   ],
   # warnings
   [