diff -r 26b41a902195 -r cba222f01056 tests/test-check-code-hg.t --- a/tests/test-check-code-hg.t Tue Apr 16 21:14:50 2013 +0200 +++ b/tests/test-check-code-hg.t Wed Apr 17 03:39:36 2013 +0200 @@ -11,3 +11,19 @@ $ hg manifest 2>/dev/null \ > | xargs "$check_code" --warnings --nolineno --per-file=0 \ > || false + +Check Python files without py extension + + $ cp \ + > hg \ + > hgweb.cgi \ + > contrib/convert-repo \ + > contrib/dumprevlog \ + > contrib/hgweb.fcgi \ + > contrib/hgweb.wsgi \ + > contrib/simplemerge \ + > contrib/undumprevlog \ + > "$TESTTMP"/ + $ for f in "$TESTTMP"/*; do cp "$f" "$f.py"; done + $ "$check_code" --warnings --nolineno --per-file=0 "$TESTTMP"/*.py \ + > || false