Skip to content

Commit

Permalink
Set TEST_DIRECTORY
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David A. Greene committed Apr 10, 2012
1 parent 634392b commit 603ee0f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions contrib/subtree/t/t7900-subtree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ This test verifies the basic operation of the merge, pull, add
and split subcommands of git subtree.
'

. ./test-lib.sh
export TEST_DIRECTORY=$(pwd)/../../../t

. ../../../t/test-lib.sh

create()
{
Expand All @@ -30,7 +32,7 @@ check_equal()
}

fixnl()
{
{
t=""
while read x; do
t="$t$x "
Expand Down

0 comments on commit 603ee0f

Please sign in to comment.