diff tests/test-check-code @ 10727:62b8f15683f2

check-code: more tests and more robust python filtering
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 18 Mar 2010 16:32:03 +0100
parents c4fb2103e734
children 920a783e5f91
line wrap: on
line diff
--- a/tests/test-check-code	Thu Mar 18 01:59:53 2010 +0100
+++ b/tests/test-check-code	Thu Mar 18 16:32:03 2010 +0100
@@ -13,11 +13,13 @@
 EOF
 
 cat > quote.py <<EOF
+# let's use quote in comments
 (''' ( 4x5 )
-but """\''' and finally''',
+but """\\''' and finally''',
 """let's fool checkpatch""", '1+2',
 '"""', 42+1, """and
 ( 4-1 ) """, "( 1+1 )\" and ")
+a, '\\\\\\\\', "\\\\\\" x-2", "c-1"
 EOF
 
 check_code=`dirname $0`/../contrib/check-code.py