summaryrefslogtreecommitdiff
path: root/t/t3411-rebase-preserve-around-merges.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2009-08-09 08:37:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-08-09 17:48:39 (GMT)
commiteaf0551d56b4fd3a97c8d0f5ded1ea6e891f9005 (patch)
treefaeef5892e8554b8865fef3a19f1155633c52083 /t/t3411-rebase-preserve-around-merges.sh
parentd82e75e86c8d1555aaa6415034aff215633fe7f2 (diff)
downloadgit-eaf0551d56b4fd3a97c8d0f5ded1ea6e891f9005.zip
git-eaf0551d56b4fd3a97c8d0f5ded1ea6e891f9005.tar.gz
git-eaf0551d56b4fd3a97c8d0f5ded1ea6e891f9005.tar.bz2
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/t3411-rebase-preserve-around-merges.sh')
-rwxr-xr-xt/t3411-rebase-preserve-around-merges.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3411-rebase-preserve-around-merges.sh b/t/t3411-rebase-preserve-around-merges.sh
index 6533505..14a23cd 100755
--- a/t/t3411-rebase-preserve-around-merges.sh
+++ b/t/t3411-rebase-preserve-around-merges.sh
@@ -10,7 +10,7 @@ a merge to before the merge.
'
. ./test-lib.sh
-. ../lib-rebase.sh
+. "$TEST_DIRECTORY"/lib-rebase.sh
set_fake_editor