Re: [PATCH] t/test-lib.sh: fix TRASH_DIRECTORY handling

2013-04-14 Thread Thomas Rast
Jeff King writes: > On Sun, Apr 14, 2013 at 05:34:56PM +0100, John Keeping wrote: > >> After the location of $TRASH_DIRECTORY is adjusted by >> $TEST_OUTPUT_DIRECTORY, we go on to use the $test variable to make the >> trash directory and cd into it. This means that when >> $TEST_OUTPUT_DIRECTORY

Re: [PATCH] t/test-lib.sh: fix TRASH_DIRECTORY handling

2013-04-14 Thread Jeff King
On Sun, Apr 14, 2013 at 05:34:56PM +0100, John Keeping wrote: > After the location of $TRASH_DIRECTORY is adjusted by > $TEST_OUTPUT_DIRECTORY, we go on to use the $test variable to make the > trash directory and cd into it. This means that when > $TEST_OUTPUT_DIRECTORY is not "." and an absolute

[PATCH] t/test-lib.sh: fix TRASH_DIRECTORY handling

2013-04-14 Thread John Keeping
After the location of $TRASH_DIRECTORY is adjusted by $TEST_OUTPUT_DIRECTORY, we go on to use the $test variable to make the trash directory and cd into it. This means that when $TEST_OUTPUT_DIRECTORY is not "." and an absolute --root has not been specified, we do not remove the trash directory on