On 11/16/16 20:12, Robert Story wrote:
> Can you try this patch:
> [ ... ]

Hello Robert,

With that patch applied all but one of the Perl regression tests pass:

make[1]: Entering directory '/home/bart/software/net-snmp/master/perl/SNMP'
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" 
"-e" "undef *Test::Harness::Switches; test_harness(0, '../blib/lib', 
'../blib/arch')" t/*.t
t/async.t ......... ok
t/bulkwalk.t ...... ok
t/conf.t .......... ok
t/dump-session.t .. ok
t/get.t ........... ok
t/getnext.t ....... ok
t/mib.t ........... ok
t/mibload.t ....... ok
t/notify.t ........ ok
# Failed test 3 in t/session.t at line 56
#  t/session.t line 56 is: ok(!defined($s4));
t/session.t ....... 
Failed 1/5 subtests 
snmp_build: unknown failure
t/set.t ........... ok

>From t/session.t:

#####################=== 4 ====###########################################
#create a V3 session by setting an IP address/port not running an agent
my $s4 = new SNMP::Session (Version => 3, RemotePort => 1002, Retries => 0);
# engineId discovery should fail resulting in session creation failure (undef)
ok(!defined($s4));

Bart.

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to