Skip to content

Commit 5270d17

Browse files
committed
testing: Add missing snmp_shutdown() calls
1 parent 44b86e0 commit 5270d17

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

testing/fulltests/snmpv3/T050etimetest_capp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ main(int argc, char **argv)
165165
failcount += test_etime();
166166
}
167167

168+
snmp_shutdown("testing");
168169

169170
fprintf(stdout, "1..%d\n", testcount);
170171
return 0;

testing/fulltests/unit-tests/T102pdu_build_clib.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,6 @@ OKF((rc == SNMPERR_SUCCESS),
7474

7575
free(packet);
7676
netsnmp_cleanup_session(&session);
77+
snmp_shutdown("testing");
7778

7879
SOCK_CLEANUP;

0 commit comments

Comments
 (0)