This is an automated email from the git hooks/post-receive script. jamessan pushed a commit to branch master in repository devscripts.
commit 4a8f12f50252ef2dc6784db8eee4fffb0826d42e Author: Philip Hands <[email protected]> Date: Wed Feb 20 11:14:50 2013 +0000 == regexp killer test --- test/licensecheck/regexp-killer.c | 20 ++++++++++++++++++++ test/test_licensecheck | 4 ++++ 2 files changed, 24 insertions(+) diff --git a/test/licensecheck/regexp-killer.c b/test/licensecheck/regexp-killer.c new file mode 100644 index 0000000..4350abb --- /dev/null +++ b/test/licensecheck/regexp-killer.c @@ -0,0 +1,20 @@ +/* + * (c) 2013 Devscript Developers + * + * Initially seen in: + * freeswitch/libs/ldns/dnssec.c + * the line starting with equals gets seen as potential comment fodder + * but when the double-equals is put in the [] it breaks the regexp that is built + */ +if (foo + == bar + ) { + return baz; + } + +/* there are some other files where: + + :: people have made their comments start like this + :: which bumps into the same issue. + +*/ diff --git a/test/test_licensecheck b/test/test_licensecheck index 6bb5c80..5ddf3ae 100755 --- a/test/test_licensecheck +++ b/test/test_licensecheck @@ -95,4 +95,8 @@ testFalsePositives() { license2 "-m --copyright" "false-positives" "UNKNOWN 2013 Devscripts developers" } +testRegexpKiller() { + license "regexp-killer.c" "UNKNOWN" +} + . shunit2 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
