Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the FusionInventory-Agent CPAN distribution.

Report information
The Basics
Id: 99164
Status: resolved
Priority: 0/
Queue: FusionInventory-Agent

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.3.11.1
Fixed in: (no value)



Subject: New warnings with perl 5.21.x
Bleadperl (perl 5.21.x) has a new warning introduced which makes the license.t test fail: # Failed test 'no warnings' # at /opt/perl-5.21.4/lib/site_perl/5.21.4/Test/NoWarnings.pm line 45. # There were 2 warning(s) # Previous test 0 '' # Redundant argument in sprintf at /tmpfs/.cpan-build/FusionInventory-Agent-2.3.11.1-bYIXlb/blib/lib/FusionInventory/Agent/Tools/License.pm line 37, <$handle> line 229. # at /tmpfs/.cpan-build/FusionInventory-Agent-2.3.11.1-bYIXlb/blib/lib/FusionInventory/Agent/Tools/License.pm line 37, <$handle> line 229. # FusionInventory::Agent::Tools::License::_decodeAdobeKey(012356789102969834966898) called at /tmpfs/.cpan-build/FusionInventory-Agent-2.3.11.1-bYIXlb/blib/lib/FusionInventory/Agent/Tools/License.pm line 75 # FusionInventory::Agent::Tools::License::getAdobeLicenses("file", "resources/generic/license/adobe/cache.db-sample1") called at t/agent/tools/license.t line 59 # # ---------- # Previous test 0 '' # Redundant argument in sprintf at /tmpfs/.cpan-build/FusionInventory-Agent-2.3.11.1-bYIXlb/blib/lib/FusionInventory/Agent/Tools/License.pm line 37, <$handle> line 229. # at /tmpfs/.cpan-build/FusionInventory-Agent-2.3.11.1-bYIXlb/blib/lib/FusionInventory/Agent/Tools/License.pm line 37, <$handle> line 229. # FusionInventory::Agent::Tools::License::_decodeAdobeKey(012356789613366430657732) called at /tmpfs/.cpan-build/FusionInventory-Agent-2.3.11.1-bYIXlb/blib/lib/FusionInventory/Agent/Tools/License.pm line 75 # FusionInventory::Agent::Tools::License::getAdobeLicenses("file", "resources/generic/license/adobe/cache.db-sample1") called at t/agent/tools/license.t line 59 # # Looks like you failed 1 test of 6. t/agent/tools/license.t ........................
Thanks for the report, which alowed to find an actual bug (incorrect sprintf template) in the code, fixed in this commit: https://github.com/fusinv/fusioninventory-agent/commit/299e450eed5a58a6d9618a4d3a5518e5f1800abe