t5100: Avoid filename "nul"
authorJunio C Hamano <gitster@pobox.com>
Wed, 28 May 2008 06:12:29 +0000 (23:12 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 May 2008 06:12:29 +0000 (23:12 -0700)
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>
t/t5100-mailinfo.sh
t/t5100/nul-plain [moved from t/t5100/nul with 100% similarity]

index a8b78ebf7d021cb626d4452545b5f4d1e0efe34f..577ecc210a55a5da10552a4415c4cbb5e321039b 100755 (executable)
@@ -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)
 
similarity index 100%
rename from t/t5100/nul
rename to t/t5100/nul-plain