File 0298-stdlib-Fix-shell_SUITE-after-erl_pp-fix.patch of Package erlang

From 05990bedd62b1d1d5b4e0a54ff274e41d3f7a7bb Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Fri, 20 Aug 2021 14:21:24 +0200
Subject: [PATCH] stdlib: Fix shell_SUITE after erl_pp fix

a657406 changes the way -1 is printed by erl_pp so
we need to update this testcase.
---
 lib/stdlib/test/shell_SUITE.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stdlib/test/shell_SUITE.erl b/lib/stdlib/test/shell_SUITE.erl
index 494c3e68ef..4abba08501 100644
--- a/lib/stdlib/test/shell_SUITE.erl
+++ b/lib/stdlib/test/shell_SUITE.erl
@@ -702,7 +702,7 @@ otp_5195(Config) when is_list(Config) ->
     {'EXIT',{undef,_}} = (catch evaluate(Ugly, [])),
 
     V_1 = <<"qlc:e(qlc:q([X || X <- qlc:append([[1,2,3],v(-1)])])).">>,
-    "- 1: command not found" = comm_err(V_1),
+    "-1: command not found" = comm_err(V_1),
     {'EXIT', {undef,_}} = (catch evaluate(V_1, [])),
 
     "1\n2\n3\n3.\n" =
-- 
2.31.1

openSUSE Build Service is sponsored by