projects
/
catagits/Gitalist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Use appropriate prototype depending on perl version in test.
[catagits/Gitalist.git]
/
t
/
scripts.t
diff --git
a/t/scripts.t
b/t/scripts.t
index
2402921
..
bee86c3
100644
(file)
--- a/
t/scripts.t
+++ b/
t/scripts.t
@@
-1,3
+1,12
@@
+use FindBin qw/$Bin/;
+BEGIN {
+ my $env = "$FindBin::Bin/../script/env";
+ if (-r $env) {
+ do $env or die $@;
+ }
+}
+
+
use strict;
use warnings;
use Test::More;