Browse Source

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>
maint
David A. Greene 13 years ago
parent
commit
603ee0f0c3
  1. 6
      contrib/subtree/t/t7900-subtree.sh

6
contrib/subtree/t/t7900-subtree.sh

@ -8,7 +8,9 @@ This test verifies the basic operation of the merge, pull, add @@ -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()
{
@ -30,7 +32,7 @@ check_equal() @@ -30,7 +32,7 @@ check_equal()
}

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

Loading…
Cancel
Save