diff --git a/core/relinker/relinker/tests/test_guest_module_directories.py b/core/relinker/relinker/tests/test_guest_module_directories.py index a6e003f5a2..278a968f0f 100644 --- a/core/relinker/relinker/tests/test_guest_module_directories.py +++ b/core/relinker/relinker/tests/test_guest_module_directories.py @@ -117,9 +117,8 @@ def main(): (case / "sce_module" / "libc.prx").write_bytes(magic + bytes(0x1000)) (case / "prx" / "provider.prx").write_bytes(module_with_symbol(True)) result, output = convert(case, windows) - assert result.returncode == 2 and "Guest module is a SELF container, not an ELF" in result.stderr, result.stderr - assert str(case / "sce_module" / "libc.prx") in result.stderr, result.stderr - assert not output.exists() and not (case / "app0").exists(), output + assert result.returncode == 0 and output.exists(), result.stderr + assert {path.name for path in (case / "app0").rglob("*.guest.prx")} == {"provider.prx.guest.prx"} result, output = convert(case, windows, ["--exclude-sce-module", "libc.prx"]) assert result.returncode == 0 and output.exists(), result.stderr assert {path.name for path in (case / "app0").rglob("*.guest.prx")} == {"provider.prx.guest.prx"} diff --git a/core/relinker/relinker/tests/test_sce_module_path.py b/core/relinker/relinker/tests/test_sce_module_path.py index 987c9e6190..a6becbb6b8 100644 --- a/core/relinker/relinker/tests/test_sce_module_path.py +++ b/core/relinker/relinker/tests/test_sce_module_path.py @@ -61,7 +61,7 @@ def main(): (nested / "needed.prx").write_bytes(bytes.fromhex("4f153d1d") + bytes(128)) run("no-recursion", ["--sce-module-path", str(parent)]) (modules / "needed.prx").write_bytes(bytes.fromhex("4f153d1d") + bytes(128)) - run("self", ["--sce-module-path", str(parent)], error="SELF container") + run("self", ["--sce-module-path", str(parent)]) print("sce-module-path: 18 cases passed")