From: Joey Hess Date: Thu, 10 Sep 2009 20:49:54 +0000 (-0400) Subject: skip if cvsps is not available X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/e22af796e502fb881b7a8605b87e0746190d4899 skip if cvsps is not available --- diff --git a/t/cvs.t b/t/cvs.t index 9df62334d..c9caa94eb 100755 --- a/t/cvs.t +++ b/t/cvs.t @@ -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" } } }