t0027: improve test for not-normalized files
commit710b4e8a167f6fe968d2f4f540be5baa3ddcfdd6
authorTorsten Bögershausen <tboegi@web.de>
Sat, 10 Oct 2015 04:23:53 +0000 (10 06:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Oct 2015 22:07:45 +0000 (12 15:07 -0700)
tree51197a5e6f60fd7aaa9001d4f3afb13e4a519720
parent8eeab92f02f3d9382572f0a604535c2b134c6763
t0027: improve test for not-normalized files

When a text file with mixed line endings is commited into the repo,
it is called "not normalized" (or NNO) in t0027.  The existing test
case using repoMIX did not fully test all combinations: (Especially
when core.autocrlf = true) Files with NL are not converted at
commit, but at checkout, so a warning NL->CRLF is given.  Files with
CRLF are not converted at all (so no warning will be given), unless
they are marked as "text" or "auto".

Remove repoMIX introduced in commit 8eeab92f02, and replace it with
a combination of NNO tests.

Signed-off-by: Torsten Bögershausen <tboegi@web.de>
t/t0027-auto-crlf.sh