test: consolidate definition of $LF

As we seem to need this variable that holds a single LF character
in many places, define it in test-lib.sh and let the test scripts
use it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano
2011-08-08 11:51:00 -07:00
parent 7f684a2aff
commit 3f4ab62714
5 changed files with 4 additions and 9 deletions

View File

@ -92,6 +92,10 @@ _x40="$_x05$_x05$_x05$_x05$_x05$_x05$_x05$_x05"
# Zero SHA-1
_z40=0000000000000000000000000000000000000000
# Line feed
LF='
'
# Each test should start with something like this, after copyright notices:
#
# test_description='Description of this test...