/[pxelator]/lib/PXElator/t/dhcpd.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/t/dhcpd.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 243 by dpavlin, Wed Jul 29 22:04:58 2009 UTC revision 244 by dpavlin, Mon Aug 17 13:27:18 2009 UTC
# Line 4  use warnings; Line 4  use warnings;
4  use strict;  use strict;
5  use autodie;  use autodie;
6    
7  use Test::More tests => 2;  use Test::More tests => 6;
8    
9  use_ok 'dhcpd';  use_ok 'dhcpd';
10    
11  ok( ! $dhcpd::transaction, 'transaction' );  ok( ! $dhcpd::transaction, 'transaction' );
12    
13    ok( dhcpd::in_our_range($_), "in_our_range $_" ) foreach ( qw/0.0.0.0 172.16.10.1/ );
14    ok( ! dhcpd::in_our_range($_), "! in_our_range $_" ) foreach ( qw/10.60.0.42 161.53.120.3/ );

Legend:
Removed from v.243  
changed lines
  Added in v.244

  ViewVC Help
Powered by ViewVC 1.1.26