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

t5100: Avoid filename "nul"

There are broken filesystems that cannot have a file whose name is "nul"
anywhere on it.  Rename the test file to make ourselves more portable.

Noticed by Mark Levedahl.
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 b71ce7f3
......@@ -27,8 +27,8 @@ done
test_expect_success 'respect NULs' '
git mailsplit -d3 -o. ../t5100/nul &&
cmp ../t5100/nul 001 &&
git mailsplit -d3 -o. ../t5100/nul-plain &&
cmp ../t5100/nul-plain 001 &&
(cat 001 | git mailinfo msg patch) &&
test 4 = $(wc -l < patch)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册