author | Jeff King <peff@peff.net> | |
Sun, 9 Aug 2009 08:37:52 +0000 (04:37 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 9 Aug 2009 17:48:39 +0000 (10:48 -0700) | ||
commit | eaf0551d56b4fd3a97c8d0f5ded1ea6e891f9005 | |
tree | faeef5892e8554b8865fef3a19f1155633c52083 | tree | snapshot |
parent | d82e75e86c8d1555aaa6415034aff215633fe7f2 | commit | diff |
tests: use "$TEST_DIRECTORY" instead of ".."
The $TEST_DIRECTORY variable allows tests to find the
top-level test directory regardless of the current working
directory.
In the past, this has been used to accomodate tests which
change directories, but it is also the first step to being
able to move trash directories outside of the
$TEST_DIRECTORY hierarchy.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The $TEST_DIRECTORY variable allows tests to find the
top-level test directory regardless of the current working
directory.
In the past, this has been used to accomodate tests which
change directories, but it is also the first step to being
able to move trash directories outside of the
$TEST_DIRECTORY hierarchy.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>