File 1030-kernel-test-code_SUITE-multi_lib_roots-fix.patch of Package erlang
From 6fec5e3bbec6fb7792049a0a92137ac02e87fe83 Mon Sep 17 00:00:00 2001
From: Fredrik Frantzen <frazze@erlang.org>
Date: Mon, 24 Nov 2025 11:23:33 +0100
Subject: [PATCH] kernel: test code_SUITE multi_lib_roots fix
---
lib/kernel/test/code_SUITE.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/kernel/test/code_SUITE.erl b/lib/kernel/test/code_SUITE.erl
index 0f5c5c8a8f..aeb18befe6 100644
--- a/lib/kernel/test/code_SUITE.erl
+++ b/lib/kernel/test/code_SUITE.erl
@@ -1150,7 +1150,7 @@ mult_lib_roots(Config) when is_list(Config) ->
Path0 = rpc:call(Node, code, get_path, []),
%% ?CT_PEER adds extra path to this module folder
PathToSelf = filename:dirname(code:which(?MODULE)),
- [PathToSelf, "."|Path1] = Path0,
+ [PathToSelf|Path1] = Path0,
[Kernel|Path2] = Path1,
[Stdlib|Path3] = Path2,
mult_lib_verify_lib(Kernel, "kernel"),
--
2.51.0