test(ghidra): restore complete installation fixtures across CI boundaries

Declare application.java.min=21 at the four synthetic installation producers so profile, PSP, lifecycle and MCP workflows exercise their intended paths under fail-closed Java admission. Keep missing-bound refusal coverage intact and format the two Ghidra tests rejected by the CI static lane.

Validation: all 82 tests across the 11 failing CI files passed; 66 Ghidra admission, doctor and snapshot tests passed, including missing Java bounds. No production admission policy changed. Full suite and real Ghidra lanes were not run.
This commit is contained in:
morluto committed 2026-10-13 14:05:32 +08:00
1 parent 91886982fc
commit 18d56f5321
6 files changed
+10 -6

No files matched your search

+3 -1
View File
@@ -111,7 +111,9 @@ describe("Ghidra doctor integration", () => {
"wrong version",
inspection(
{ installDir: INSTALL },
{ readText: () => "application.version=11.4\napplication.java.min=21\n" },
{
readText: () => "application.version=11.4\napplication.java.min=21\n",
},
),
"ghidra-version",
],
+2 -1
View File
@@ -39,7 +39,8 @@ const fixture = (version = "12.1.4") => {
{
platform: "linux",
architecture: "x64",
readText: () => `application.version=${version}\napplication.java.min=21\n`,
readText: () =>
`application.version=${version}\napplication.java.min=21\n`,
executable: () => true,
probeJava: () => ({
version: "21.0.11",