From f9698d7990f2e7e6f20eeb19b4c169126543c823 Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Sat, 30 Apr 2022 14:59:05 -0400
Subject: [PATCH] testsuite/T7275: Use sed -r

Darwin requires the `-r` flag to be compatible with GNU sed.

(cherry picked from commit 512338c8feec96c38ef0cf799f3a01b77c967c56)
---
 testsuite/tests/profiling/should_run/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/profiling/should_run/Makefile b/testsuite/tests/profiling/should_run/Makefile
index 4db4e193a517..6e87e2f291a7 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:
-- 
GitLab