From b2a42f55bc419352b848751b0763b0a2d1198479 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 27 May 2008 23:12:29 -0700 Subject: 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 a8b78eb..577ecc2 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 deleted file mode 100644 index 3d40691..0000000 Binary files a/t/t5100/nul and /dev/null differ diff --git a/t/t5100/nul-plain b/t/t5100/nul-plain new file mode 100644 index 0000000..3d40691 Binary files /dev/null and b/t/t5100/nul-plain differ -- cgit v0.10.2-6-g49f6