summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2015-10-29 11:25:42 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2015-10-29 15:44:37 +1100
commitce2416bcceb574cf87140f3e82cc482909f81cc4 (patch)
treeac2e5edb7f214388a713507549a74a2eebaba9ea
parent776d55c89fb657706b5476c32629fd032ea54596 (diff)
downloadhaskell-ce2416bcceb574cf87140f3e82cc482909f81cc4.tar.gz
Fix rts/T9579 tests on OS X
Sed on OS X does not understand 's/[0-9]\+ bytes/NUM bytes/g' but sed on Linux and OS X do understand 's/[0-9]* bytes/NUM bytes/g'. Test Plan: Run all rts/T9579 tests on Linux and Mac Reviewers: thomie, austin, bgamari Differential Revision: https://phabricator.haskell.org/D1394
-rw-r--r--testsuite/tests/rts/T9579/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/rts/T9579/all.T b/testsuite/tests/rts/T9579/all.T
index fd5a3b64a7..a8522bf4ac 100644
--- a/testsuite/tests/rts/T9579/all.T
+++ b/testsuite/tests/rts/T9579/all.T
@@ -11,7 +11,7 @@ def T9579_run_test(binName, expExitCode):
testCommandTemplate = """
$MAKE -s --no-print-directory T9579_{binName} \
&& ( ( ./T9579_{binName} 2>&1; echo $?) \
- | sed -e 's/[0-9]\+ bytes/NUM bytes/g' ) \
+ | sed -e 's/[0-9]* bytes/NUM bytes/g' ) \
"""
test(fmt('T9579_{binName}'),