skip if cvsps is not available
parent
3b8673dbb2
commit
e22af796e5
6
t/cvs.t
6
t/cvs.t
|
@ -6,9 +6,11 @@ BEGIN {
|
||||||
$dir="/tmp/ikiwiki-test-cvs.$$";
|
$dir="/tmp/ikiwiki-test-cvs.$$";
|
||||||
my $cvs=`which cvs`;
|
my $cvs=`which cvs`;
|
||||||
chomp $cvs;
|
chomp $cvs;
|
||||||
if (! -x $cvs || ! mkdir($dir)) {
|
my $cvsps=`which cvsps`;
|
||||||
|
chomp $cvsps;
|
||||||
|
if (! -x $cvs || ! -x $cvsps || ! mkdir($dir)) {
|
||||||
eval q{
|
eval q{
|
||||||
use Test::More skip_all => "cvs not available or could not make test dir"
|
use Test::More skip_all => "cvs or cvsps not available or could not make test dir"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue