test-lib.sh: convert $TEST_DIRECTORY to an absolute path
commit85176d725134446ca2b8585d85f8fbd2daf45515
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 18 Nov 2013 04:12:43 +0000 (17 23:12 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Nov 2013 21:45:56 +0000 (18 13:45 -0800)
tree66c22ed790b1707ccb717c3abde0520dfa42b06b
parentc939d241673ad093336e936075a029127368d87e
test-lib.sh: convert $TEST_DIRECTORY to an absolute path

If $TEST_DIRECTORY is specified in the environment, convert the value
to an absolute path to ensure that it remains valid even when 'cd' is
used.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Reviewed-by: Richard Hansen <rhansen@bbn.com>
Signed-off-by: Richard Hansen <rhansen@bbn.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh