Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript agent-skillsai-agentsbinary-analysisclaude-codeclicodexcordisdecompilerdeveloper-toolsdshdsh-pluginghidrahopperllmmcpmodel-context-protocolreareverse-engineeringstatic-analysistouhou
test(process): wait for observable snapshot ctime changes (#999)
Ysopwnable161ed9157134
diff --git a/src/application/FilesystemSnapshot.test.ts b/src/application/FilesystemSnapshot.test.tsindex 3725fc149..b7e141018 100644--- a/src/application/FilesystemSnapshot.test.ts+++ b/src/application/FilesystemSnapshot.test.ts@@ -58,8 +58,13 @@ it("rejects a same-size rewrite even when its modification time is restored", asawait writeFile(path, "before\n");await utimes(path, fixedMtime, fixedMtime);const expected = await lstat(path);- await writeFile(path, "after!\n");- await utimes(path, fixedMtime, fixedMtime);+ await expect+ .poll(async () => {+ await writeFile(path, "after!\n");+ await utimes(path, fixedMtime, fixedMtime);+ return (await lstat(path)).ctimeMs;+ })+ .not.toBe(expected.ctimeMs);const rewritten = await lstat(path);expect(rewritten).toMatchObject({