File: 000_load.t

package info (click to toggle)
libnet-fastcgi-perl 0.14-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 412 kB
  • sloc: perl: 3,585; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (6)
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}");