Merge branch 'nd/reset-setup-worktree' into maint
[gitweb.git] / contrib / remote-helpers / test-bzr.sh
index 5c5025178370813aabec64c8bfbd7ac59c6186a5..1e53ff9a584a302366dcbd647a2e27db3fd1b9fe 100755 (executable)
@@ -5,7 +5,8 @@
 
 test_description='Test remote-bzr'
 
-. ./test-lib.sh
+test -n "$TEST_DIRECTORY" || TEST_DIRECTORY=${0%/*}/../../t
+. "$TEST_DIRECTORY"/test-lib.sh
 
 if ! test_have_prereq PYTHON
 then
@@ -378,7 +379,7 @@ test_expect_success 'export utf-8 authors' '
        git add content &&
        git commit -m one &&
        git remote add bzr "bzr::../bzrrepo" &&
-       git push bzr
+       git push bzr master
        ) &&
 
        (