summaryrefslogtreecommitdiff
path: root/testsuite/tests/profiling
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-04-30 14:59:05 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-05-04 16:16:48 -0400
commitf9698d7990f2e7e6f20eeb19b4c169126543c823 (patch)
tree6bb584f69c96a105250a8a64cdc9e12361fd908d /testsuite/tests/profiling
parentddd2591c5ca395e39ea36855e5b7e0a3464b7ad8 (diff)
downloadhaskell-f9698d7990f2e7e6f20eeb19b4c169126543c823.tar.gz
testsuite/T7275: Use sed -r
Darwin requires the `-r` flag to be compatible with GNU sed. (cherry picked from commit 512338c8feec96c38ef0cf799f3a01b77c967c56)
Diffstat (limited to 'testsuite/tests/profiling')
-rw-r--r--testsuite/tests/profiling/should_run/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/profiling/should_run/Makefile b/testsuite/tests/profiling/should_run/Makefile
index 4db4e193a5..6e87e2f291 100644
--- a/testsuite/tests/profiling/should_run/Makefile
+++ b/testsuite/tests/profiling/should_run/Makefile
@@ -11,7 +11,7 @@ T7275:
# Suzanne should appear here, despite having produced only pinned
# allocations. Strip off the actual amounts and cost-center numbers since
# they will be non-determinstic.
- grep suzanne T7275.hp | cut -f1 -d' ' | sed -e 's/([0-9]\+)//'
+ grep suzanne T7275.hp | cut -f1 -d' ' | sed -re 's/\([0-9]+\)//'
.PHONY: T11489
T11489: