Test for #7815
authorRyan Yates <ryates@cs.rochester.edu>
Tue, 9 Apr 2013 01:45:22 +0000 (21:45 -0400)
committerIan Lynagh <ian@well-typed.com>
Wed, 17 Apr 2013 19:41:45 +0000 (20:41 +0100)
commit15fe2109108381866dd87ccfe77f6092db5b92c1
tree7a71644b582bb92affce3bdeb0cb9ac9bcde7984
parent43bbd407613700c58d19f32d84bb153e635ddbbe
Test for #7815

This test differes slightly from the code in the ticket, but the
simplification betters the chances of seeing the error.  Instead of
looking for the error with an additional tranaction, when error appears
only one `reset` can complete and the other is blocked on STM raising an
exception.
testsuite/tests/rts/T7815.hs [new file with mode: 0644]
testsuite/tests/rts/all.T