Skip to content

Commit 603ee0f

Browse files
committed
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 <[email protected]>
1 parent 634392b commit 603ee0f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

contrib/subtree/t/t7900-subtree.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ This test verifies the basic operation of the merge, pull, add
88
and split subcommands of git subtree.
99
'
1010

11-
. ./test-lib.sh
11+
export TEST_DIRECTORY=$(pwd)/../../../t
12+
13+
. ../../../t/test-lib.sh
1214

1315
create()
1416
{
@@ -30,7 +32,7 @@ check_equal()
3032
}
3133

3234
fixnl()
33-
{
35+
{
3436
t=""
3537
while read x; do
3638
t="$t$x "

0 commit comments

Comments
 (0)