Fix broken tests
authorPhil Ruffwind <rf@rufflewind.com>
Mon, 30 Jan 2017 16:49:58 +0000 (11:49 -0500)
committerBen Gamari <ben@smart-cactus.org>
Mon, 30 Jan 2017 19:00:23 +0000 (14:00 -0500)
commit2ec1c834ca1129b69f4dd3e2586d9f318cbb3fa6
tree7f6f091b7a5a0c061f42f8f89115cafe35c98123
parentd2cf5dea70acbffb6039dc5eda31c8ff03b8f43e
Fix broken tests

1. DoParamM requires the FlexibleContexts pragma now.

2. topHandler02 and topHandler03 were broken as timeout.py failed to
   translate signals to exit codes.

3. topHandler03 does not produce a consistent stderr, as it depends on
   what the user has /bin/sh set to.  dash writes "Terminated" whereas
   bash and zsh produce nothing in non-interactive mode.

4. The remaining tests are broken due to changes in the error message
   formatting.

Test Plan: validate

Reviewers: thomie, dfeuer, austin, hvr, bgamari

Reviewed By: bgamari

Subscribers: Phyx, dfeuer

Differential Revision: https://phabricator.haskell.org/D2807
libraries/base/tests/all.T
libraries/base/tests/topHandler03.stderr [deleted file]
testsuite/tests/deriving/should_fail/drvfail006.stderr
testsuite/tests/rebindable/DoParamM.stderr
testsuite/tests/typecheck/should_compile/tc232.hs
testsuite/timeout/timeout.py