Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-05-28 10:12:29 +0400
committerJunio C Hamano <gitster@pobox.com>2008-05-28 10:12:29 +0400
commitb2a42f55bc419352b848751b0763b0a2d1198479 (patch)
treef5b67f38fbf4650a5a2ac80973a0d230d879a432 /t
parentb71ce7f3f13ebd0e212bdda82b012ee36df4f63f (diff)
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>
Diffstat (limited to 't')
-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 a8b78ebf7d..577ecc210a 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 3d40691787..3d40691787 100644
--- a/t/t5100/nul
+++ b/t/t5100/nul-plain
Binary files differ