Hello. In two testcases enough modules were stripped away to make the test impossible. The attached patch adds the usmConf module to the tests that send traps without the notification mib as they failed to evaluate the createUser item in their config.
/MF
Index: testing/tests/T055agentv1mintrap =================================================================== RCS file: /cvsroot/net-snmp/net-snmp/testing/tests/T055agentv1mintrap,v retrieving revision 5.3 diff -c -r5.3 T055agentv1mintrap *** testing/tests/T055agentv1mintrap 29 Jun 2004 07:04:04 -0000 5.3 --- testing/tests/T055agentv1mintrap 24 Aug 2004 06:11:22 -0000 *************** *** 17,23 **** STARTTRAPD # initialize only the example mib, and not the notification mib stuff ! AGENT_FLAGS="$AGENT_FLAGS -Dexample,header_generic,add_trap,mib_init,callback -I example,usmUser,vacm_vars" STARTAGENT CAPTURE "snmpset -On $SNMP_FLAGS $AUTHTESTARGS $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT ucdavis.254.7.0 i 1" --- 17,23 ---- STARTTRAPD # initialize only the example mib, and not the notification mib stuff ! AGENT_FLAGS="$AGENT_FLAGS -Dexample,header_generic,add_trap,mib_init,callback -I example,usmUser,usmConf,vacm_vars" STARTAGENT CAPTURE "snmpset -On $SNMP_FLAGS $AUTHTESTARGS $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT ucdavis.254.7.0 i 1" Index: testing/tests/T056agentv2cmintrap =================================================================== RCS file: /cvsroot/net-snmp/net-snmp/testing/tests/T056agentv2cmintrap,v retrieving revision 5.3 diff -c -r5.3 T056agentv2cmintrap *** testing/tests/T056agentv2cmintrap 29 Jun 2004 07:04:04 -0000 5.3 --- testing/tests/T056agentv2cmintrap 24 Aug 2004 06:11:23 -0000 *************** *** 17,23 **** STARTTRAPD # initialize only the example mib, and not the notification mib stuff ! AGENT_FLAGS="$AGENT_FLAGS -Dexample,header_generic,add_trap,mib_init,callback -I example,usmUser,vacm_vars" STARTAGENT #DELAY --- 17,23 ---- STARTTRAPD # initialize only the example mib, and not the notification mib stuff ! AGENT_FLAGS="$AGENT_FLAGS -Dexample,header_generic,add_trap,mib_init,callback -I example,usmUser,usmConf,vacm_vars" STARTAGENT #DELAY
