Fix a bug in fixing a bug in out-of-tree test-dumpevents

This commit is contained in:
Nick Mathewson 2013-04-30 20:09:52 -04:00
parent b48c7bf8a6
commit 9e3a99cad7

View File

@ -82,7 +82,7 @@ run_tests () {
fi
done
announce_n " test-dumpevents: "
if python2 -c 'import sys; assert(sys.version_info >= (2, 4))' 2>/dev/null && -f $TEST_SRC_DIR/check-dumpevents; then
if python2 -c 'import sys; assert(sys.version_info >= (2, 4))' 2>/dev/null && test -f $TEST_SRC_DIR/check-dumpevents.py; then
if $TEST_DIR/test-dumpevents | python2 $TEST_SRC_DIR/check-dumpevents.py >> "$TEST_OUTPUT_FILE" ;
then
announce OKAY ;