at 18.09-beta 67 lines 1.9 kB view raw
1diff --git a/t/agent/snmp/live.t b/t/agent/snmp/live.t 2index 8ee7ff02c..bd5551ab3 100755 3--- a/t/agent/snmp/live.t 4+++ b/t/agent/snmp/live.t 5@@ -11,7 +11,7 @@ use Test::More; 6 use FusionInventory::Agent::XML::Response; 7 use FusionInventory::Agent::SNMP::Live; 8 9-plan tests => 12; 10+plan tests => 11; 11 12 my $snmp; 13 throws_ok { 14@@ -52,15 +52,6 @@ throws_ok { 15 } qr/^Unable to resolve the UDP\/IPv4 address "none"/, 16 'instanciation: unresolvable host'; 17 18-throws_ok { 19- $snmp = FusionInventory::Agent::SNMP::Live->new( 20- version => 1, 21- community => 'public', 22- hostname => '1.1.1.1' 23- ); 24-} qr/no response from host 1.1.1.1/, 25-'instanciation: unresponding host'; 26- 27 SKIP: { 28 skip 'live SNMP test disabled', 6 unless $ENV{TEST_LIVE_SNMP}; 29 30diff --git a/t/apps/agent.t b/t/apps/agent.t 31index c0f6fc52f..c83837d70 100755 32--- a/t/apps/agent.t 33+++ b/t/apps/agent.t 34@@ -12,7 +12,7 @@ use XML::TreePP; 35 use FusionInventory::Agent::Tools; 36 use FusionInventory::Test::Utils; 37 38-plan tests => 34; 39+plan tests => 33; 40 41 my ($content, $out, $err, $rc); 42 43@@ -71,11 +71,6 @@ subtest "first inventory execution and content" => sub { 44 check_content_ok($out); 45 }; 46 47-ok( 48- exists $content->{REQUEST}->{CONTENT}->{SOFTWARES}, 49- 'inventory has software' 50-); 51- 52 ok( 53 exists $content->{REQUEST}->{CONTENT}->{ENVS}, 54 'inventory has environment variables' 55diff --git a/t/tasks/inventory/linux/softwares.t b/t/tasks/inventory/linux/softwares.t 56index 72a0e578c..13944f34f 100755 57--- a/t/tasks/inventory/linux/softwares.t 58+++ b/t/tasks/inventory/linux/softwares.t 59@@ -89,7 +89,7 @@ my $rpm_packages = [ 60 PUBLISHER => 'Mageia.Org', 61 NAME => 'xfsprogs', 62 COMMENTS => 'Utilities for managing the XFS filesystem', 63- INSTALLDATE => '25/03/2012', 64+ INSTALLDATE => '24/03/2012', 65 FILESIZE => '3628382', 66 FROM => 'rpm', 67 ARCH => 'x86_64',