Ensure that a test is run in the trash directory
commit2a028a0cabefed8efcf41499e330adfc20f433f8
authorAlex Riesen <raa.lkml@gmail.com>
Sun, 18 May 2008 15:27:00 +0000 (18 17:27 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 May 2008 04:39:22 +0000 (18 21:39 -0700)
tree46168b28521066fba95ab690c8dd1ab1b976f7e3
parent377d9c409ffe0f0d994b929aeb94716139207b9d
Ensure that a test is run in the trash directory

Exit with error if cd into the "trash directory" failed (error
already reported, so just exit).

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh