summaryrefslogtreecommitdiff
path: root/t/t9113-git-svn-dcommit-new-file.sh
diff options
context:
space:
mode:
authorDmitry Potapov <dpotapov@gmail.com>2008-08-04 19:30:24 +0400
committerJunio C Hamano <gitster@pobox.com>2008-08-04 21:53:45 -0700
commitfba5279db904aa49bb75bb31614571b9b6d75b33 (patch)
tree7bfd9971f77438858e412be0219ec78afb3ca46f /t/t9113-git-svn-dcommit-new-file.sh
parent25032ccd5f2fc4f51c0804efa45be19513e04c8a (diff)
downloadgit-fba5279db904aa49bb75bb31614571b9b6d75b33.tar.gz
correct access right for git-svn-dcommit test
The tests requires anonymous write access. Therefore, "anon-access = write" is added to conf/svnserve.conf. But because it was added to the end of the file, it is impossible to guarantee in what section it will be located. It turned out that on SVN 1.5, it was placed in the wrong section and as result the test failed. Signed-off-by: Dmitry Potapov <dpotapov@gmail.com> Tested-by: Brad King <brad.king@kitware.com> Acked-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9113-git-svn-dcommit-new-file.sh')
-rwxr-xr-xt/t9113-git-svn-dcommit-new-file.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t9113-git-svn-dcommit-new-file.sh b/t/t9113-git-svn-dcommit-new-file.sh
index 8da8ce58eb..ae78e334ac 100755
--- a/t/t9113-git-svn-dcommit-new-file.sh
+++ b/t/t9113-git-svn-dcommit-new-file.sh
@@ -28,6 +28,7 @@ start_svnserve () {
test_expect_success 'start tracking an empty repo' '
svn mkdir -m "empty dir" "$svnrepo"/empty-dir &&
+ echo "[general]" > "$rawsvnrepo"/conf/svnserve.conf &&
echo anon-access = write >> "$rawsvnrepo"/conf/svnserve.conf &&
start_svnserve &&
git svn init svn://127.0.0.1:$SVNSERVE_PORT &&