pass gearman timeout option correctly
[APKPM.git] / t / ZTEDSLAM.t
1 #!/usr/bin/perl
2 use strict;
3 use warnings;
4
5 use Test::More tests => 4;
6 use Data::Dump qw(dump);
7
8 use lib 'lib';
9
10 use_ok 'H1::ZTEDSLAM';
11
12 my $ip = shift @ARGV || '10.99.123.16';
13
14 ok my $o = H1::ZTEDSLAM->new( ip => $ip ), "new $ip";
15
16 foreach my $port ( @ARGV || qw( 3/39 3/40 ) ) {
17
18         ok my $hash = $o->hash( $port ), "port $port";
19         diag dump $hash;
20
21 }