Skip to content

Commit b2a42f5

Browse files
committed
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>
1 parent b71ce7f commit b2a42f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

t/t5100-mailinfo.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ done
2727

2828
test_expect_success 'respect NULs' '
2929
30-
git mailsplit -d3 -o. ../t5100/nul &&
31-
cmp ../t5100/nul 001 &&
30+
git mailsplit -d3 -o. ../t5100/nul-plain &&
31+
cmp ../t5100/nul-plain 001 &&
3232
(cat 001 | git mailinfo msg patch) &&
3333
test 4 = $(wc -l < patch)
3434
File renamed without changes.

0 commit comments

Comments
 (0)