From 1f6ea9a626d9983ce84343e6a73604d58aa1df09 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 25 Jun 2010 00:30:12 -0400 Subject: clean up messages about unavailable vcs programs --- t/git.t | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 't/git.t') diff --git a/t/git.t b/t/git.t index ee778ebf0..6d847dfb0 100755 --- a/t/git.t +++ b/t/git.t @@ -7,11 +7,14 @@ BEGIN { $dir="/tmp/ikiwiki-test-git.$$"; my $git=`which git`; chomp $git; - if (! -x $git || ! mkdir($dir)) { + if (! -x $git) { eval q{ - use Test::More skip_all => "git not available or could not make test dir" + use Test::More skip_all => "git not available" } } + if (! mkdir($dir)) { + die $@; + } } use Test::More tests => 18; -- cgit v1.2.3