summaryrefslogtreecommitdiff
path: root/t/mercurial.t
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-06-29 15:53:51 +0200
committerintrigeri <intrigeri@boum.org>2010-06-29 15:53:51 +0200
commit1786b106a9c7f448136ff47d9b6dd26d48a5dd2e (patch)
treeedfeed77be4a56ed06095bd67eb7cbc05a1a1eca /t/mercurial.t
parentb225fdc44d4b3d2853db622d59aed7b59788aeec (diff)
parentbe60d261e6cbee094e4df74e1bb24c8ad3dc393d (diff)
Merge remote branch 'upstream/master' into prv/po
Conflicts: doc/plugins/po.mdwn
Diffstat (limited to 't/mercurial.t')
-rwxr-xr-xt/mercurial.t7
1 files changed, 5 insertions, 2 deletions
diff --git a/t/mercurial.t b/t/mercurial.t
index b64ea8e56..4918fc76e 100755
--- a/t/mercurial.t
+++ b/t/mercurial.t
@@ -6,11 +6,14 @@ BEGIN {
$dir = "/tmp/ikiwiki-test-hg.$$";
my $hg=`which hg`;
chomp $hg;
- if (! -x $hg || ! mkdir($dir)) {
+ if (! -x $hg) {
eval q{
- use Test::More skip_all => "hg not available or could not make test dir"
+ use Test::More skip_all => "hg not available"
}
}
+ if (! mkdir($dir)) {
+ die $@;
+ }
}
use Test::More tests => 11;