From 3edbf5c6dc8eb48728e22c409fe9251038906126 Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Thu, 14 Sep 2017 13:05:15 -0400
Subject: [PATCH] testsuite: Fix dependence on grep behavior in T8129

grep was considering the output to be binary on my machine, resulting in a
spurious test failure.
---
 testsuite/tests/indexed-types/should_fail/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/indexed-types/should_fail/Makefile b/testsuite/tests/indexed-types/should_fail/Makefile
index d56889e566be..432003c9df74 100644
--- a/testsuite/tests/indexed-types/should_fail/Makefile
+++ b/testsuite/tests/indexed-types/should_fail/Makefile
@@ -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
 
-- 
GitLab