From: Junio C Hamano Date: Wed, 28 May 2008 06:12:29 +0000 (-0700) Subject: t5100: Avoid filename "nul" X-Git-Tag: v1.5.6-rc1~36 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b2a42f55bc419352b848751b0763b0a2d1198479;p=git.git 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: Junio C Hamano --- diff --git a/t/t5100-mailinfo.sh b/t/t5100-mailinfo.sh index a8b78ebf7..577ecc210 100755 --- a/t/t5100-mailinfo.sh +++ b/t/t5100-mailinfo.sh @@ -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) diff --git a/t/t5100/nul b/t/t5100/nul-plain similarity index 100% rename from t/t5100/nul rename to t/t5100/nul-plain