aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-05-27 23:12:29 -0700
committerJunio C Hamano <gitster@pobox.com>2008-05-27 23:12:29 -0700
commitb2a42f55bc419352b848751b0763b0a2d1198479 (patch)
treef5b67f38fbf4650a5a2ac80973a0d230d879a432
parentb71ce7f3f13ebd0e212bdda82b012ee36df4f63f (diff)
downloadgit-b2a42f55bc419352b848751b0763b0a2d1198479.tar.gz
git-b2a42f55bc419352b848751b0763b0a2d1198479.tar.xz
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>
-rwxr-xr-xt/t5100-mailinfo.sh4
-rw-r--r--t/t5100/nul-plain (renamed from t/t5100/nul)bin91 -> 91 bytes
2 files changed, 2 insertions, 2 deletions
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
index 3d4069178..3d4069178 100644
--- a/t/t5100/nul
+++ b/t/t5100/nul-plain
Binary files differ