line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# -*- perl -*- |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
require 5.004; |
4
|
1
|
|
|
1
|
|
69705
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
44
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package Net::Spooler::Test; |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
876
|
use Net::Daemon::Test (); |
|
1
|
|
|
|
|
42641
|
|
|
1
|
|
|
|
|
27
|
|
9
|
1
|
|
|
1
|
|
666
|
use Net::Spooler (); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
27
|
|
10
|
1
|
|
|
1
|
|
9
|
use Symbol (); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
162
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
$Net::Spooler::Test::VERSION = '0.01'; |
14
|
|
|
|
|
|
|
@Net::Spooler::Test::ISA = qw(Net::Spooler Net::Daemon::Test); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub Options ($) { |
18
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
19
|
0
|
|
|
|
|
|
my $options = $self->SUPER::Options(); |
20
|
0
|
|
|
|
|
|
$options->{'timeout'} = { |
21
|
|
|
|
|
|
|
'template' => 'timeout=i', |
22
|
|
|
|
|
|
|
'description' => '--timeout ' |
23
|
|
|
|
|
|
|
. "The server will die if the test takes longer\n" |
24
|
|
|
|
|
|
|
. ' than this number of seconds.' |
25
|
|
|
|
|
|
|
}; |
26
|
0
|
|
|
|
|
|
$options; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub Bind ($) { |
31
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
32
|
0
|
|
|
|
|
|
$self->Net::Daemon::Test::Bind(); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
|