tests/test-check-code
changeset 10722 c4fb2103e734
parent 10715 83dce0f817f4
child 10727 62b8f15683f2
--- a/tests/test-check-code	Wed Mar 17 10:55:28 2010 +0100
+++ b/tests/test-check-code	Wed Mar 17 14:15:33 2010 +0100
@@ -12,5 +12,13 @@
     return ( 5+6, 9)
 EOF
 
+cat > quote.py <<EOF
+(''' ( 4x5 )
+but """\''' and finally''',
+"""let's fool checkpatch""", '1+2',
+'"""', 42+1, """and
+( 4-1 ) """, "( 1+1 )\" and ")
+EOF
+
 check_code=`dirname $0`/../contrib/check-code.py
-${check_code} ./wrong.py ./correct.py
+${check_code} ./wrong.py ./correct.py ./quote.py