Merge remote-tracking branch 'origin/main' into fix/issue-2671

This commit is contained in:
Kaoru0822
2026-10-14 00:22:25 +00:00
558 changed files with 102097 additions and 35189 deletions
+5 -1
View File
@@ -26,9 +26,13 @@ it.each(["start_adb_app", "start_adb_activity"] as const)(
"Starting: Intent { act=android.intent.action.MAIN cmp=com.example/.Main }\n";
let stdout = `${starting}Status: ok\nActivity: com.example/.Main\nWaitTime: 315\nComplete\n`;
let stderr = "";
const version =
"Android Debug Bridge version 1.0.41\nVersion 34.0.5-stub\n";
vi.mocked(execFileOutput).mockResolvedValue({
stdout: "Android Debug Bridge version 1.0.41\nVersion 34.0.5-stub\n",
stdout: version,
stderr: "",
stdoutBytes: Buffer.byteLength(version),
stderrBytes: 0,
});
const calls: string[][] = [];
vi.mocked(execFileBytes).mockImplementation(async (_binary, args) => {
@@ -45,6 +45,9 @@ it
}
// A rejection must come from the fixture we are about to launch. An
// existing Xvfb would otherwise mask a broken executable-identity check.
// The copied launcher has a unique file identity and has not run yet.
// The synthetic proc root isolates the positive identity check from
// unrelated restricted host processes while retaining display-name checks.
await assertCleanLinuxHopperRuntime(
alternateMode ? [launcher] : [],
procRoot,