Skip to content

Commit

Permalink
drop useless / character
Browse files Browse the repository at this point in the history
  • Loading branch information
guillomovitch committed Jul 28, 2012
1 parent e3c8ffc commit bccaeb9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions t/inventory/hpux/networks.t
Expand Up @@ -945,15 +945,14 @@ foreach my $test (keys %nwmgr_tests) {
is_deeply($info, $nwmgr_tests{$test}, "nwmgr parsing: $test");
}

use Data::Dumper;
foreach my $test (keys %netstat_tests) {
my $file = "resources/hpux/netstat/$test";
my %interfaces = FusionInventory::Agent::Task::Inventory::Input::HPUX::Networks::_parseNetstatNrv(file => $file);
is_deeply(\%interfaces, $netstat_tests{$test}, "netstat -nrv parsing: $test") or print Dumper(\%interfaces);
is_deeply(\%interfaces, $netstat_tests{$test}, "netstat -nrv parsing: $test");
}

foreach my $test (keys %lanscan_tests) {
my $file = "resources/hpux/lanscan//$test";
my $file = "resources/hpux/lanscan/$test";
my @interfaces = FusionInventory::Agent::Task::Inventory::Input::HPUX::Networks::_parseLanscan(file => $file);
is_deeply(\@interfaces, $lanscan_tests{$test}, "lanscan -iap parsing: $test");
}

0 comments on commit bccaeb9

Please sign in to comment.