]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/svn.t
Match literal '.' in URI schemas containing '.', rather than matching any character
[git.ikiwiki.info.git] / t / svn.t
diff --git a/t/svn.t b/t/svn.t
index a1878a73d86b3df6e3061b9a2739ee3ec766de46..8a8282c73340b8f8095204f24031a3a7a14534c0 100755 (executable)
--- a/t/svn.t
+++ b/t/svn.t
@@ -21,13 +21,14 @@ BEGIN { use_ok("IkiWiki"); }
 %config=IkiWiki::defaultconfig();
 $config{rcs} = "svn";
 $config{srcdir} = "$dir/src";
-$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");