@matheusbsbs / matheus-bagliano / commits / b2a42f55bc
Fork 0

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 <gitster@pobox.com>

Junio C Hamano committed May 27, 2008 at 23:12 UTC b2a42f55bc419352b848751b0763b0a2d1198479
2 files changed +2 -2
t/t5100-mailinfo.sh
+2 -2
@@ -27,8 +27,8 @@ done
27
28 test_expect_success 'respect NULs' '
29
30 - git mailsplit -d3 -o. ../t5100/nul &&
31 - cmp ../t5100/nul 001 &&
30 + git mailsplit -d3 -o. ../t5100/nul-plain &&
31 + cmp ../t5100/nul-plain 001 &&
32 (cat 001 | git mailinfo msg patch) &&
33 test 4 = $(wc -l < patch)
34
t/t5100/nul-plain renamed