testsuite: Fix dependence on grep behavior in T8129
authorBen Gamari <ben@smart-cactus.org>
Thu, 14 Sep 2017 17:05:15 +0000 (13:05 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 14 Sep 2017 17:08:46 +0000 (13:08 -0400)
grep was considering the output to be binary on my machine, resulting in a
spurious test failure.

testsuite/tests/indexed-types/should_fail/Makefile

index d56889e..432003c 100644 (file)
@@ -14,5 +14,5 @@ T8227:
 # an asertion failure with -ddump-tc-trace
 T8129:
        -'$(TEST_HC)' $(TEST_HC_OPTS) -c -ddump-tc-trace T8129.hs 2> T8129.trace > T8129.trace
-       grep deduce T8129.trace
+       grep -a deduce T8129.trace