summaryrefslogtreecommitdiffstats
path: root/web/server/h2o/libh2o/misc/p5-net-fastcgi/t/000_load.t
blob: 1436a558b9d2ff831535075237d95efca4695fc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!perl

use strict;
use warnings;

use lib 't/lib', 'lib';
use myconfig;

use Test::More tests => 5;

BEGIN {
    use_ok('Net::FastCGI');
    use_ok('Net::FastCGI::Constant');
    use_ok('Net::FastCGI::IO');
    use_ok('Net::FastCGI::Protocol');

    if ( $ENV{NET_FASTCGI_PP} ) {
        use_ok('Net::FastCGI::Protocol::PP');
    }
    else {
        use_ok('Net::FastCGI::Protocol::XS');
    }
}

diag("Net::FastCGI $Net::FastCGI::VERSION, Perl $], $^X");
diag("NET_FASTCGI_PP=$ENV{NET_FASTCGI_PP}");