X-Git-Url: http://git.tremily.us/?p=ikiwiki.git;a=blobdiff_plain;f=t%2Fcvs.t;h=5ed377ed5e7234b369cc456d814e4ceefb51266c;hp=96359ab6e2a6bb9773af99179cf567da8732b3b1;hb=e85c15e75bc7a24be537d905a53877f462c2d8cd;hpb=9f401d6617a11efcedda1c956b2ccea061a7540f diff --git a/t/cvs.t b/t/cvs.t index 96359ab6e..5ed377ed5 100755 --- a/t/cvs.t +++ b/t/cvs.t @@ -8,11 +8,14 @@ BEGIN { chomp $cvs; my $cvsps=`which cvsps`; chomp $cvsps; - if (! -x $cvs || ! -x $cvsps || ! mkdir($dir)) { + if (! -x $cvs || ! -x $cvsps) { eval q{ - use Test::More skip_all => "cvs or cvsps not available or could not make test dir" + use Test::More skip_all => "cvs or cvsps not available" } } + if (! mkdir($dir)) { + die $@; + } foreach my $module ('File::ReadBackwards', 'File::MimeInfo') { eval qq{use $module}; if ($@) {