diff options
Diffstat (limited to 't/op/chdir.t')
-rw-r--r-- | t/op/chdir.t | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/t/op/chdir.t b/t/op/chdir.t index a5ea76acc7..9967707a0c 100644 --- a/t/op/chdir.t +++ b/t/op/chdir.t @@ -8,11 +8,12 @@ BEGIN { # We're not going to chdir() into 't' because we don't know if # chdir() works! Instead, we'll hedge our bets and put both # possibilities into @INC. - unshift @INC, qw(t . lib ../lib); - require "test.pl"; - plan(tests => 47); + require "./test.pl"; + set_up_inc(qw(t . lib ../lib)); } +plan(tests => 47); + use Config; use Errno qw(ENOENT EBADF EINVAL); |