mirror of
https://github.com/git/git
synced 2024-08-24 02:11:08 +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
|
@ -328,7 +328,7 @@ test_expect_success 'strip' '
|
|||
|
||||
echo four >> content &&
|
||||
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 &&
|
||||
|
|
Loading…
Reference in a new issue