summaryrefslogtreecommitdiffstats
path: root/t/t3414-rebase-preserve-onto.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2009-08-09 10:37:52 +0200
committerJunio C Hamano <gitster@pobox.com>2009-08-09 19:48:39 +0200
commiteaf0551d56b4fd3a97c8d0f5ded1ea6e891f9005 (patch)
treefaeef5892e8554b8865fef3a19f1155633c52083 /t/t3414-rebase-preserve-onto.sh
parentt0001-init: split the existence test from the permission test (diff)
downloadgit-eaf0551d56b4fd3a97c8d0f5ded1ea6e891f9005.tar.xz
git-eaf0551d56b4fd3a97c8d0f5ded1ea6e891f9005.zip
tests: use "$TEST_DIRECTORY" instead of ".."
The $TEST_DIRECTORY variable allows tests to find the top-level test directory regardless of the current working directory. In the past, this has been used to accomodate tests which change directories, but it is also the first step to being able to move trash directories outside of the $TEST_DIRECTORY hierarchy. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3414-rebase-preserve-onto.sh')
-rwxr-xr-xt/t3414-rebase-preserve-onto.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3414-rebase-preserve-onto.sh b/t/t3414-rebase-preserve-onto.sh
index 80019ee072..ee0a6cccfd 100755
--- a/t/t3414-rebase-preserve-onto.sh
+++ b/t/t3414-rebase-preserve-onto.sh
@@ -10,7 +10,7 @@ aren'"'"'t on top of $ONTO, even if they are on top of $UPSTREAM.
'
. ./test-lib.sh
-. ../lib-rebase.sh
+. "$TEST_DIRECTORY"/lib-rebase.sh
# Set up branches like this:
# A1---B1---E1---F1---G1