diff options
author | Joey Hess <joey@kitenet.net> | 2010-06-25 00:30:12 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-06-25 00:30:12 -0400 |
commit | 1f6ea9a626d9983ce84343e6a73604d58aa1df09 (patch) | |
tree | a6e35f463b10fdb258fa56898bb54579185e1133 /t/bazaar.t | |
parent | d8d057c356e0244585aa0eac075b39958c6c3f37 (diff) | |
download | ikiwiki-1f6ea9a626d9983ce84343e6a73604d58aa1df09.tar ikiwiki-1f6ea9a626d9983ce84343e6a73604d58aa1df09.tar.gz |
clean up messages about unavailable vcs programs
Diffstat (limited to 't/bazaar.t')
-rwxr-xr-x | t/bazaar.t | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/t/bazaar.t b/t/bazaar.t index 3e54ec4dc..cd840fbe1 100755 --- a/t/bazaar.t +++ b/t/bazaar.t @@ -6,11 +6,14 @@ BEGIN { $dir = "/tmp/ikiwiki-test-bzr.$$"; my $bzr=`which bzr`; chomp $bzr; - if (! -x $bzr || ! mkdir($dir)) { + if (! -x $bzr) { eval q{ - use Test::More skip_all => "bzr not available or could not make test dir" + use Test::More skip_all => "bzr not available" } } + if (! mkdir($dir)) { + die $@; + } } use Test::More tests => 17; |