aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authordakkar <dakkar@luxion>2008-01-03 19:16:32 +0000
committerdakkar <dakkar@luxion>2008-01-03 19:16:32 +0000
commit2cd6e7f426e4fa6d65f387d56f83226d4e399d12 (patch)
treeccc6c77de7405b0575e6abd509f3517128e9329c /t
parentminor cleanings (diff)
downloadWebCoso-2cd6e7f426e4fa6d65f387d56f83226d4e399d12.tar.gz
WebCoso-2cd6e7f426e4fa6d65f387d56f83226d4e399d12.tar.bz2
WebCoso-2cd6e7f426e4fa6d65f387d56f83226d4e399d12.zip
MakeMaker!
git-svn-id: svn://luxion/repos/WebCoso/trunk@325 fcb26f47-9200-0410-b104-b98ab5b095f3
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";