Set TEST_DIRECTORY
Set TEST_DIRECTORY to the main git test area. This allows the git-subtree out-of-tree tests to run correctly. Signed-off-by: David A. Greene <greened@obbligato.org>
David A. Greene committed
Mar 20, 2012 at 18:11 UTC
603ee0f0c3d1b8fc09929d185817c43e231317e7
1 file changed
+4
-2
contrib/subtree/t/t7900-subtree.sh
+4
-2
@@ -8,7 +8,9 @@ This test verifies the basic operation of the merge, pull, add
8
and split subcommands of git subtree.
9
'
10
11
-. ./test-lib.sh
11
+export TEST_DIRECTORY=$(pwd)/../../../t
12
+
13
+. ../../../t/test-lib.sh
14
15
create()
16
{
@@ -30,7 +32,7 @@ check_equal()
32
}
33
34
fixnl()
33
-{
35
+{
36
t=""
37
while read x; do
38
t="$t$x "