diff -up CGI-Compile-0.22/t/coderef_args.t.orig CGI-Compile-0.22/t/coderef_args.t --- CGI-Compile-0.22/t/coderef_args.t.orig 2017-05-15 17:50:25.270157014 +0200 +++ CGI-Compile-0.22/t/coderef_args.t 2017-05-15 17:51:56.810752987 +0200 @@ -1,4 +1,5 @@ use Test::More; +BEGIN { push @INC, '.'; } use t::Capture; use CGI::Compile; diff -up CGI-Compile-0.22/t/compile.t.orig CGI-Compile-0.22/t/compile.t --- CGI-Compile-0.22/t/compile.t.orig 2017-05-15 17:50:25.273157000 +0200 +++ CGI-Compile-0.22/t/compile.t 2017-05-15 17:52:19.684652030 +0200 @@ -1,5 +1,6 @@ use Test::More; use Test::Requires qw(CGI); +BEGIN { push @INC, '.'; } use t::Capture; use CGI::Compile; #no warnings 'signal'; # for MSWin32 diff -up CGI-Compile-0.22/t/data_end.t.orig CGI-Compile-0.22/t/data_end.t --- CGI-Compile-0.22/t/data_end.t.orig 2017-05-15 17:50:25.274156996 +0200 +++ CGI-Compile-0.22/t/data_end.t 2017-05-15 17:52:28.119614801 +0200 @@ -1,5 +1,6 @@ use Test::More; use CGI::Compile; +BEGIN { push @INC, '.'; } use t::Capture; { diff -up CGI-Compile-0.22/t/local-SIG.t.orig CGI-Compile-0.22/t/local-SIG.t --- CGI-Compile-0.22/t/local-SIG.t.orig 2017-05-15 17:50:25.282156961 +0200 +++ CGI-Compile-0.22/t/local-SIG.t 2017-05-15 17:52:40.230561347 +0200 @@ -1,5 +1,6 @@ #!perl +BEGIN { push @INC, '.'; } use t::Capture; use CGI::Compile; use POSIX qw(:signal_h); diff -up CGI-Compile-0.22/t/source.t.orig CGI-Compile-0.22/t/source.t --- CGI-Compile-0.22/t/source.t.orig 2017-05-15 17:50:25.278156978 +0200 +++ CGI-Compile-0.22/t/source.t 2017-05-15 17:52:33.065592971 +0200 @@ -1,5 +1,6 @@ use Test::More; use CGI::Compile; +BEGIN { push @INC, '.'; } use t::Capture; { diff -up CGI-Compile-0.22/t/source_filter.t.orig CGI-Compile-0.22/t/source_filter.t --- CGI-Compile-0.22/t/source_filter.t.orig 2017-05-15 17:50:25.268157022 +0200 +++ CGI-Compile-0.22/t/source_filter.t 2017-05-15 17:51:49.959783224 +0200 @@ -1,5 +1,6 @@ use Test::More; use Test::Requires qw(Switch); +BEGIN { push @INC, '.'; } use t::Capture; use CGI::Compile; diff -up CGI-Compile-0.22/t/warnings.t.orig CGI-Compile-0.22/t/warnings.t --- CGI-Compile-0.22/t/warnings.t.orig 2017-05-15 17:50:25.271157009 +0200 +++ CGI-Compile-0.22/t/warnings.t 2017-05-15 17:52:12.349684404 +0200 @@ -1,4 +1,5 @@ use Test::More; +BEGIN { push @INC, '.'; } use t::Capture; use CGI::Compile; diff -up CGI-Compile-0.22/t/exit.t.orig CGI-Compile-0.22/t/exit.t --- CGI-Compile-0.22/t/exit.t.orig 2017-05-15 18:01:47.350253483 +0200 +++ CGI-Compile-0.22/t/exit.t 2017-05-15 18:02:06.805172612 +0200 @@ -1,6 +1,7 @@ use strict; use Test::More tests => 2; use CGI::Compile; +BEGIN { push @INC, '.'; } use t::Capture; use lib "t"; use Exit;