diff ssi-include-big.t @ 9:f772e2a1a13f

Tests: change directory to allow runing from outside. Use FindBin to find out where tests reside and chdir() into it. This allows to use configs from the directory with tests and to use _common.pm.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 10 Sep 2008 17:41:04 +0400
parents 8813a78ab8b5
children d19146b30334
line wrap: on
line diff
--- a/ssi-include-big.t
+++ b/ssi-include-big.t
@@ -11,6 +11,8 @@ use strict;
 
 use Test::More tests => 3;
 
+BEGIN { use FindBin; chdir($FindBin::Bin); }
+
 use _common;
 
 ###############################################################################