summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b71ce7f)
raw | patch | inline | side by side (parent: b71ce7f)
author | Junio C Hamano <gitster@pobox.com> | |
Wed, 28 May 2008 06:12:29 +0000 (23:12 -0700) | ||
committer | Junio 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>
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 | patch | blob | history | |
t/t5100/nul | [deleted file] | patch | blob | history |
t/t5100/nul-plain | [new file with mode: 0644] | patch | blob |
diff --git a/t/t5100-mailinfo.sh b/t/t5100-mailinfo.sh
index a8b78ebf7d021cb626d4452545b5f4d1e0efe34f..577ecc210a55a5da10552a4415c4cbb5e321039b 100755 (executable)
--- a/t/t5100-mailinfo.sh
+++ b/t/t5100-mailinfo.sh
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 (file)
index 3d40691..0000000
Binary files a/t/t5100/nul and /dev/null differ
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 (file)
index 0000000..3d40691
Binary files /dev/null and b/t/t5100/nul-plain differ
index 0000000..3d40691
Binary files /dev/null and b/t/t5100/nul-plain differ