X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Flib-git-svn.sh;h=f6fe78cd278bd25f47b8c17e14f5f419d639fb7a;hb=77b50ab009deab7f8eb703843a71ac7253b977c8;hp=af42ccc8d157e54b97de435194d22e5ed895ab4b;hpb=240897e908e48e8f8c8d5555522afe255b3b734b;p=git.git diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh index af42ccc8d..f6fe78cd2 100644 --- a/t/lib-git-svn.sh +++ b/t/lib-git-svn.sh @@ -25,14 +25,15 @@ perl -w -e " use SVN::Core; use SVN::Repos; \$SVN::Core::VERSION gt '1.1.0' or exit(42); -SVN::Repos::create('$svnrepo', undef, undef, undef, - { 'fs-config' => 'fsfs'}); -" +system(qw/svnadmin create --fs-type fsfs/, '$svnrepo') == 0 or exit(41); +" >&3 2>&4 x=$? if test $x -ne 0 then if test $x -eq 42; then err='Perl SVN libraries must be >= 1.1.0' + elif test $x -eq 41; then + err='svnadmin failed to create fsfs repository' else err='Perl SVN libraries not found or unusable, skipping test' fi @@ -41,6 +42,9 @@ then exit fi +rawsvnrepo="$svnrepo" svnrepo="file://$svnrepo" - +poke() { + test-chmtime +1 "$1" +}