]> git.ipfire.org Git - thirdparty/git.git/commit
t0020-crlf: check the right file
authorSZEDER Gábor <szeder.dev@gmail.com>
Wed, 22 Aug 2018 12:44:36 +0000 (14:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Aug 2018 16:08:08 +0000 (09:08 -0700)
commit30612cb67090d34f880f67e4ca73f6a1247f1a95
tree7e6b86e05c2c1f93dd2c048910cec3c2dfe80f4b
parentfd7771415b9447c8e53dd99d7946e00ee212d70d
t0020-crlf: check the right file

In the test 'checkout with autocrlf=input' in 't0020-crlf.sh', one of
the 'has_cr' checks looks at the non-existing file 'two' instead of
'dir/two'.  The test still succeeds, without actually checking what it
was supposed to, because this check is expected to fail anyway.

As a minimal fix, fix the name of the file to be checked.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0020-crlf.sh