diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-11-11 13:45:21 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-11-11 13:45:21 +0000 |
commit | cf76fa18072b984f393f8d1d42dc0ca278b6092d (patch) | |
tree | 1f4ce53115fef246494d229b28e8faa36e9753cf /t | |
parent | da9043f571af497192c783c8d4c4ec3bc852894f (diff) | |
download | perl-cf76fa18072b984f393f8d1d42dc0ca278b6092d.tar.gz |
Adjust t/run/switchd-78586.t to work under t/TEST and t/harness.
Diffstat (limited to 't')
-rw-r--r-- | t/run/switchd-78586.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/t/run/switchd-78586.t b/t/run/switchd-78586.t index 6dbf045e80..02e0b25e87 100644 --- a/t/run/switchd-78586.t +++ b/t/run/switchd-78586.t @@ -1,6 +1,12 @@ #!perl -Ilib -d:switchd_empty -BEGIN { $^P = 0x122; chdir 't'; require './test.pl'; } +BEGIN { + $^P = 0x122; + chdir 't'; + @INC = ('../lib', 'lib'); + require './test.pl'; +} + use strict; use warnings; no warnings 'redefine'; |