File 0762-snmp-test-Fixed-printout-in-mibs-test.patch of Package erlang
From 7b9cf438d2862f92f478c398df2f327b28cbd9bd Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Wed, 1 Dec 2021 17:16:20 +0100
Subject: [PATCH 1/2] [snmp|test] Fixed printout in mibs test
---
lib/snmp/test/snmp_agent_mibs_SUITE.erl | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/snmp/test/snmp_agent_mibs_SUITE.erl b/lib/snmp/test/snmp_agent_mibs_SUITE.erl
index 587779db94..f4130aed65 100644
--- a/lib/snmp/test/snmp_agent_mibs_SUITE.erl
+++ b/lib/snmp/test/snmp_agent_mibs_SUITE.erl
@@ -809,9 +809,8 @@ cache_gc_verify(ID, GC, ExpectedGc) ->
{ok, OtherGc} ->
?IPRINT("cache_gc_verify -> [~w] invalid GC limit: "
"~n Expected: ~p"
- "~n Got: ~p"
- "~n ~p",
- [ID, 0, OtherGc]),
+ "~n Got: ~p",
+ [ID, ExpectedGc, OtherGc]),
exit({ID, invalid_gc_limit, {ExpectedGc, OtherGc}});
Unexpected ->
?IPRINT("cache_gc_verify -> [~w] unexpected: "
--
2.31.1