From e22af796e502fb881b7a8605b87e0746190d4899 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 10 Sep 2009 16:49:54 -0400 Subject: [PATCH 1/1] skip if cvsps is not available --- t/cvs.t | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" } } } -- 2.39.5