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>
Dmitry Potapov committed
Aug 4, 2008 at 19:30 UTC
fba5279db904aa49bb75bb31614571b9b6d75b33
1 file changed
+1
t/t9113-git-svn-dcommit-new-file.sh
+1
@@ -28,6 +28,7 @@ start_svnserve () {
28
29
test_expect_success 'start tracking an empty repo' '
30
svn mkdir -m "empty dir" "$svnrepo"/empty-dir &&
31
+ echo "[general]" > "$rawsvnrepo"/conf/svnserve.conf &&
32
echo anon-access = write >> "$rawsvnrepo"/conf/svnserve.conf &&
33
start_svnserve &&
34
git svn init svn://127.0.0.1:$SVNSERVE_PORT &&