Bring back the svnrepo setup file option. This is needed for recentchangediff to...
[ikiwiki.git] / t / svn.t
diff --git a/t/svn.t b/t/svn.t
index a1878a73d86b3df6e3061b9a2739ee3ec766de46..eba8c65ef1d025b224ed7d8952fb71ae48754857 100755 (executable)
--- a/t/svn.t
+++ b/t/svn.t
@@ -25,9 +25,11 @@ $config{svnrepo} = "$dir/repo";
 $config{svnpath} = "trunk";
 IkiWiki::checkconfig();
 
-system "svnadmin create $config{svnrepo} >/dev/null";
-system "svn mkdir file://$config{svnrepo}/trunk -m add >/dev/null";
-system "svn co file://$config{svnrepo}/trunk $config{srcdir} >/dev/null";
+my $svnrepo = "$dir/repo";
+
+system "svnadmin create $svnrepo >/dev/null";
+system "svn mkdir file://$svnrepo/trunk -m add >/dev/null";
+system "svn co file://$svnrepo/trunk $config{srcdir} >/dev/null";
 
 # Web commit
 my $test1 = readfile("t/test1.mdwn");