File 2913-Correct-printout-that-shows-which-encoding-rules-the.patch of Package erlang

From 0c309173f0c89b7a5b9ce3d46b5536dba6c7ac25 Mon Sep 17 00:00:00 2001
From: Kenneth Lundin <kenneth.lundin@ericsson.com>
Date: Thu, 23 Apr 2020 12:07:24 +0200
Subject: [PATCH 1/2] Correct printout that shows which encoding rules the
 tests are done for.

---
 lib/asn1/test/testEnumExt.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/asn1/test/testEnumExt.erl b/lib/asn1/test/testEnumExt.erl
index b30750f7fc..cb01ad481f 100644
--- a/lib/asn1/test/testEnumExt.erl
+++ b/lib/asn1/test/testEnumExt.erl
@@ -41,7 +41,7 @@ main(Rule) when Rule =:= per; Rule =:= uper ->
     B64 = roundtrip('Noext', red),
     common(Rule);
 main(Rule) when Rule =:= ber; Rule =:= jer ->
-    io:format("main(ber)~n",[]),
+    io:format("main(~p)~n",[Rule]),
     %% ENUMERATED with extensionmark (value is in root set)
     roundtrip('Ext', red),
 
-- 
2.26.1

openSUSE Build Service is sponsored by