contrib/check-code.py
changeset 35447 e28dedf4ff43
parent 35446 991e4404e910
child 36164 c38e9248f531
--- a/contrib/check-code.py	Sat Dec 16 11:32:10 2017 -0500
+++ b/contrib/check-code.py	Sat Dec 16 12:34:40 2017 -0500
@@ -185,7 +185,7 @@
      'use $LOCALIP not an explicit loopback address'),
     (r'^  (?![>$] ).*\$LOCALIP.*[^)]$',
      'mark $LOCALIP output lines with (glob) to help tests in BSD jails'),
-    (r'^  (cat|find): .*: No such file or directory',
+    (r'^  (cat|find): .*: \$ENOENT\$',
      'use test -f to test for file existence'),
     (r'^  diff -[^ -]*p',
      "don't use (external) diff with -p for portability"),