提交 8d97506e 编写于 作者: T Torsten Bögershausen 提交者: Junio C Hamano

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: NTorsten Bögershausen <tboegi@web.de>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 92491752
......@@ -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 &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册