From 2d27fbb79b3174ac99d821faa22c66f3eb63b963 Mon Sep 17 00:00:00 2001 From: orezraey Date: Sat, 24 Oct 2026 05:16:15 -0300 Subject: [PATCH] test(libkernel): expect flags 1 from the Linux unwind module lookup Co-Authored-By: Claude Opus 5.5 --- core/libs/tests/GuestUnwindModuleInfoFailureLinux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/libs/tests/GuestUnwindModuleInfoFailureLinux.cpp b/core/libs/tests/GuestUnwindModuleInfoFailureLinux.cpp index 222fa17660..f164ab2bc5 100644 --- a/core/libs/tests/GuestUnwindModuleInfoFailureLinux.cpp +++ b/core/libs/tests/GuestUnwindModuleInfoFailureLinux.cpp @@ -16,7 +16,7 @@ static void Require(bool value, const char* message) { extern "C" int APS5_VABI sceKernelGetModuleInfoFromAddr(std::uint64_t address, int flags, ModuleInfoEx* info) { Require(address == expectedAddress, "module lookup received the wrong address"); - Require(flags == 2, "module lookup received the wrong flags"); + Require(flags == 1, "module lookup received the wrong flags"); Require(info != nullptr && info->st_size == sizeof(ModuleInfoEx), "module lookup received the wrong structure size"); ++calls; return SCE_KERNEL_ERROR_ESRCH;