From: Jeff King Date: Sun, 9 Aug 2009 08:38:11 +0000 (-0400) Subject: tests: provide $TRASH_DIRECTORY variable X-Git-Tag: v1.6.5-rc0~94 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/91c8b825ce2a301e9861be60c3d7853fefa93c04?hp=91c8b825ce2a301e9861be60c3d7853fefa93c04 tests: provide $TRASH_DIRECTORY variable Most scripts don't care about the absolute path to the trash directory. The one exception was t4014 script, which pieced together $TEST_DIRECTORY and $test itself to get an absolute directory. Instead, let's provide a $TRASH_DIRECTORY which specifies the same thing. This keeps the $test variable internal to test-lib.sh and paves the way for trash directories in other locations. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano ---