summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-09-10 16:49:54 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-09-10 16:49:54 -0400
commite22af796e502fb881b7a8605b87e0746190d4899 (patch)
treefa266e13d2263ec51bf20307e0f49e36776c3d5e /t
parent3b8673dbb20251bda898da4095bc2d5b1d84f482 (diff)
skip if cvsps is not available
Diffstat (limited to 't')
-rwxr-xr-xt/cvs.t6
1 files 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"
}
}
}