t7508: avoid non POSIX BRE

24c30e0b6 (wt-status: tolerate dangling marks, 2020-09-01) adds a test that uses a BRE which breaks at least with OpenBSD's grep. switch to an ERE as it is done for similar checks and while at it, remove the now obsolete test_i18ngrep call. Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Carlo Marcelo Arenas Belón committed Aug 1, 2021 at 14:53 UTC 4da8b2fcd4f7b993ffd3ecf59d279c97fe23b0df
1 file changed +1 -1
t/t7508-status.sh
+1 -1
@@ -882,7 +882,7 @@ test_expect_success 'status shows detached HEAD properly after checking out non-
882 git clone upstream downstream &&
883 git -C downstream checkout @{u} &&
884 git -C downstream status >actual &&
885 - test_i18ngrep "HEAD detached at [0-9a-f]\\+" actual
885 + grep -E "HEAD detached at [0-9a-f]+" actual
886 '
887
888 test_expect_success 'setup status submodule summary' '