Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
discount support
[git.ikiwiki.info.git]
/
t
/
git.t
diff --git
a/t/git.t
b/t/git.t
index ee778ebf0ab38050eabd52f8528c25d1fe392058..6d847dfb04d56808dab435a125bc6cbadcfd3af0 100755
(executable)
--- a/
t/git.t
+++ b/
t/git.t
@@
-7,11
+7,14
@@
BEGIN {
$dir="/tmp/ikiwiki-test-git.$$";
my $git=`which git`;
chomp $git;
$dir="/tmp/ikiwiki-test-git.$$";
my $git=`which git`;
chomp $git;
- if (! -x $git
|| ! mkdir($dir)
) {
+ if (! -x $git) {
eval q{
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;
}
use Test::More tests => 18;