diff options
Diffstat (limited to 't/op/alarm.t')
-rw-r--r-- | t/op/alarm.t | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/t/op/alarm.t b/t/op/alarm.t index 28cc65cf7c..749482c26d 100644 --- a/t/op/alarm.t +++ b/t/op/alarm.t @@ -2,15 +2,14 @@ BEGIN { chdir 't' if -d 't'; - @INC = '../lib'; require './test.pl'; + set_up_inc('../lib'); } -BEGIN { - use Config; - if( !$Config{d_alarm} ) { - skip_all("alarm() not implemented on this platform"); - } + +use Config; +if ( !$Config{d_alarm} ) { + skip_all("alarm() not implemented on this platform"); } plan tests => 5; |