X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ftest-lib.sh;h=454880ac7d281d901156136900814dee9aae46c5;hb=98ad90fbab90a423ca835956d3121c60db2eb218;hp=9bfa14be7f1c3935013d04318eeaecc68b4ef88c;hpb=f9a518e884b62a76dde3b30aa5d0ac22381f47a8;p=git.git diff --git a/t/test-lib.sh b/t/test-lib.sh index 9bfa14be7..454880ac7 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -473,6 +473,9 @@ test_external () { # Announce the script to reduce confusion about the # test output that follows. say_color "" " run $test_count: $descr ($*)" + # Export TEST_DIRECTORY, TRASH_DIRECTORY and GIT_TEST_LONG + # to be able to use them in script + export TEST_DIRECTORY TRASH_DIRECTORY GIT_TEST_LONG # Run command; redirect its stderr to &4 as in # test_run_, but keep its stdout on our stdout even in # non-verbose mode.