diff contrib/check-code.py @ 24362:58682838f8f7

check-code: enforce the usage of 'seq.py' instead of 'seq'
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 17 Mar 2015 21:48:34 -0400
parents abcb1ee3b20a
children 65f1a29685ab
line wrap: on
line diff
--- 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
   [