mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +00:00
test-bzr: do not use unportable sed '\+'
Using sed -e '/[0-9]\+//' to find "one or more digits" is not portable. Use the Basic Regular Expression '/[0-9][0-9]*//' instead. Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
9249175291
commit
8d97506e4b
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ test_expect_success 'strip' '
|
||||||
|
|
||||||
echo four >> content &&
|
echo four >> content &&
|
||||||
bzr commit -m four &&
|
bzr commit -m four &&
|
||||||
bzr log --line | sed -e "s/^[0-9]\+: //" > ../expected
|
bzr log --line | sed -e "s/^[0-9][0-9]*: //" > ../expected
|
||||||
) &&
|
) &&
|
||||||
|
|
||||||
(cd gitrepo &&
|
(cd gitrepo &&
|
||||||
|
|
Loading…
Reference in a new issue