view tests/test-check-pyflakes.t @ 15607:fab28a577a38 stable

test-svn-subrepo: fix reference output for svn 1.7 I modified check-code.py "$?" detection because I thought my use was legit, we cannot test exit status of pipelines commands except for the last one without this. So it now tolerates "[$?" which is unlikely to be added by mistake. Tested on: - OSX + svn 1.7.1 - Linux + svn 1.6.12
author Patrick Mezard <pmezard@gmail.com>
date Fri, 02 Dec 2011 16:50:48 +0100
parents 695ac6aca77f
children 4f795f5fbb0b
line wrap: on
line source

  $ "$TESTDIR/hghave" pyflakes || exit 80
  $ cd `dirname $TESTDIR`
  $ pyflakes mercurial hgext 2>&1 | $TESTDIR/filterpyflakes.py
  hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob)