aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/whole-01.t8
1 files changed, 5 insertions, 3 deletions
diff --git a/t/whole-01.t b/t/whole-01.t
index 10c9204..054d2ee 100644
--- a/t/whole-01.t
+++ b/t/whole-01.t
@@ -6,13 +6,15 @@ use Path::Class;
chdir file(__FILE__)->parent->parent->stringify;
-system($^X,qw(-Ilib webcoso.pl -s t/test-site/src/ -d t/test-site/output/ -I t/test-site/common/ --clean))
+$ENV{PERL5LIB}=join ':',@INC;
+
+system($^X,qw(blib/script/webcoso.pl -s t/test-site/src/ -d t/test-site/output/ -I t/test-site/common/ --clean))
and die "Problems running webcoso.pl (clean): $?\n";
-system($^X,qw(-Ilib webcoso.pl -s t/test-site/src/ -d t/test-site/output/ -I t/test-site/common/))
+system($^X,qw(blib/script/webcoso.pl -s t/test-site/src/ -d t/test-site/output/ -I t/test-site/common/))
and die "Problems running webcoso.pl: $?\n";
is(system(qw(diff -r -x .svn t/test-site/output/ t/test-site-output/)),0,'output as expected');
-system($^X,qw(-Ilib webcoso.pl -s t/test-site/src/ -d t/test-site/output/ -I t/test-site/common/ --clean))
+system($^X,qw(blib/script/webcoso.pl -s t/test-site/src/ -d t/test-site/output/ -I t/test-site/common/ --clean))
and die "Problems running webcoso.pl (clean): $?\n";