Export more test-related variables when running external tests
authorJakub Narebski <jnareb@gmail.com>
Sat, 24 Apr 2010 13:50:09 +0000 (15:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 1 May 2010 19:09:35 +0000 (12:09 -0700)
Add exporting TEST_DIRECTORY and TRASH_DIRECTORY to test_external, for
external tests to be able to find test script (and git sources), and
to find trash directory (usually with test repository in it).

Add also exporting GIT_TEST_LONG, so that external test can skip
time-intensive tests unless test is invoked with `--long' option.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Acked-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found