diff options
author | Bryan Donlan <bdonlan@fushizen.net> | 2008-05-04 09:38:00 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-06 01:37:51 +0400 |
commit | 4a7aaccd83a4f9eca17ca936b7c297e01840f587 (patch) | |
tree | 1a2070d3846651b0e5d071ddd9c6f55605310a91 /t/test-lib.sh | |
parent | f69e836fab2b634281d92a0d304de4d768e479cc (diff) |
Rename the test trash directory to contain spaces.
In order to help prevent regressions in the future, rename the trash directory
for all tests to contain spaces. This patch also corrects two failures that
were caused or exposed by this change.
Signed-off-by: Bryan Donlan <bdonlan@fushizen.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 04e098b96e..5002fb04b5 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -411,14 +411,14 @@ fi . ../GIT-BUILD-OPTIONS # Test repository -test=trash +test="trash directory" rm -fr "$test" || { trap - exit echo >&5 "FATAL: Cannot prepare test area" exit 1 } -test_create_repo $test +test_create_repo "$test" cd "$test" this_test=$(expr "./$0" : '.*/\(t[0-9]*\)-[^/]*$') |