diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-09-10 16:49:54 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-09-10 16:49:54 -0400 |
commit | e22af796e502fb881b7a8605b87e0746190d4899 (patch) | |
tree | fa266e13d2263ec51bf20307e0f49e36776c3d5e /t | |
parent | 3b8673dbb20251bda898da4095bc2d5b1d84f482 (diff) |
skip if cvsps is not available
Diffstat (limited to 't')
-rwxr-xr-x | t/cvs.t | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -6,9 +6,11 @@ BEGIN { $dir="/tmp/ikiwiki-test-cvs.$$"; my $cvs=`which cvs`; chomp $cvs; - if (! -x $cvs || ! mkdir($dir)) { + my $cvsps=`which cvsps`; + chomp $cvsps; + if (! -x $cvs || ! -x $cvsps || ! mkdir($dir)) { 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" } } } |