From 6e8cd0bc5e7bceb1bd7a261baa5a56d79acdd251 Mon Sep 17 00:00:00 2001 From: N0zoM1z0 <161784452+N0zoM1z0@users.noreply.github.com> Date: Wed, 11 Nov 2026 01:20:18 +0000 Subject: [PATCH] test(ntfs): use valid protected acquisition records Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com> --- src/domain/windows/ntfsJournalTimeline.test.ts | 3 +++ tests/boundary/mcp/ntfsJournal.test.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/domain/windows/ntfsJournalTimeline.test.ts b/src/domain/windows/ntfsJournalTimeline.test.ts index 76998de04e..0fd6126326 100644 --- a/src/domain/windows/ntfsJournalTimeline.test.ts +++ b/src/domain/windows/ntfsJournalTimeline.test.ts @@ -8,6 +8,9 @@ it("keeps exact USN values and coverage rows on bounded source-order pages", () record.write("FILE"); record.writeUInt16LE(48, 4); record.writeUInt16LE(3, 6); + record.writeUInt16LE(1, 48); + record.writeUInt16LE(1, 510); + record.writeUInt16LE(1, 1022); record.writeUInt16LE(2, 16); record.writeUInt16LE(56, 20); record.writeUInt32LE(64, 24); diff --git a/tests/boundary/mcp/ntfsJournal.test.ts b/tests/boundary/mcp/ntfsJournal.test.ts index ed7ca75bb1..6672974fb0 100644 --- a/tests/boundary/mcp/ntfsJournal.test.ts +++ b/tests/boundary/mcp/ntfsJournal.test.ts @@ -23,6 +23,9 @@ mcpTest( record.write("FILE"); record.writeUInt16LE(48, 4); record.writeUInt16LE(3, 6); + record.writeUInt16LE(1, 48); + record.writeUInt16LE(1, 510); + record.writeUInt16LE(1, 1022); record.writeUInt16LE(2, 16); record.writeUInt16LE(56, 20); record.writeUInt32LE(64, 24);