test(libSceAppContent): cover uninitialized rejection in sceAppContentTemporaryDataMount #10289
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/10289"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by al3w0f205 on 2026-10-23T16:33:11Z.
What
Add test coverage for uninitialized state rejection in
sceAppContentAddcontMount,sceAppContentAddcontUnmount, andsceAppContentGetAddcontInfoList.Tested
python tools/check_conventions.py --base origin/maincleanly (0 errors).Checklist
main; no other open PR implements the same functionsImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-24T21:26:27Z.
Review: CHANGES_REQUESTED
On current
main(c8d34aa8f4d8058d57169cc1e423ba6db00faaf0),core/libs/tests/GuestAppContent.cppalready makes these same three calls before initialization and checks0x80D90001at lines 45–48. The additions here repeat the exact cases later in the same test, so they add no coverage. Please remove the duplicate assertions or identify a distinct untested case this PR is intended to cover.The current PR checks show conventions, eligibility and intake passing; both product test jobs are skipped, so CI has not run the affected test on Linux or Windows.
Imported from boykopovar/AnyPS5. Originally posted by THEMANnt on 2026-10-25T04:29:03Z.
Review: APPROVED
Reviewed
fcb9f57f50c9c47f385a777d20c41b4a4d0ea1aeagainst990f45e17dc12cb5d09705e7c7adf5583117ec1c. No actionable findings in this focused review.Source review: Inspected the complete four-line test change and all three pinned entry points. Mount, unmount and info-list check initialized before their pointer validation and return 0x80D90001. The new calls remain before sceAppContentInitialize. Similar checks already occur at test startup; these repeat them after the metadata fixture is created, without changing initialization state or production behavior.
Validation: Head and baseline GuestAppContent.cpp pass MinGW GCC 15.2 C++23 syntax compilation. Conventions, whitespace and script registration passed. An attempted compatibility link against existing local development runtimes failed on existing test imports absent from those artifacts; no executable ran, and that artifact mismatch is not attributed to this test-only patch. Hosted product/relinker jobs were skipped.
Scope: Approval covers the bounded assertion additions from pinned-source contract checks and compilation. No linked AppContent test, full application or game execution is claimed.