提交 8eafa3da 编写于 作者: J Junio C Hamano

Guard a test against wc that pads its output with whitespace

Spotted by Johannes.
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 08337a97
......@@ -168,7 +168,7 @@ test_expect_success \
: sum of the index file itself &&
l=`wc -c <test-3.idx` &&
l=`expr "$l" - 20` &&
l=`expr $l - 20` &&
cp test-1-${packname_1}.pack test-3.pack &&
dd if=/dev/zero of=test-3.idx count=20 bs=1 conv=notrunc seek=$l &&
if git-verify-pack test-3.pack
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册