Skip to content

fstest: match Windows metadata files in walker path form - #341

Merged
dmcgowan merged 1 commit into
containerd:mainfrom
dmcgowan:fix-fstests-windows
Oct 30, 2026
Merged

dmcgowan merged 1 commit into
containerd:mainfrom
dmcgowan:fix-fstests-windows

Conversation

@dmcgowan

Copy link
Copy Markdown
Member

Follow-up to #281, which replaced the continuity manifest in fstest with a local walker. The walker builds resource paths with forward slashes rooted at "/", but the Windows metadataFiles list still used the manifest's backslash form. No entry matched, so CheckDirectoryEqual reported the system entries of a mounted Windows layer as additions.

List the metadata files in the walker's path form and add a Windows-only test that checks these entries are ignored and that other additions are still reported.

Follow-up to containerd#281, which replaced the continuity manifest in fstest
with a local walker. The walker builds resource paths with forward
slashes rooted at "/", but the Windows metadataFiles list still used
the manifest's backslash form. No entry matched, so CheckDirectoryEqual
reported the system entries of a mounted Windows layer as additions.

List the metadata files in the walker's path form and add a
Windows-only test that checks these entries are ignored and that
other additions are still reported.

Signed-off-by: Derek McGowan <derek@mcg.dev>
@dmcgowan
dmcgowan force-pushed the fix-fstests-windows branch from a484fd2 to 4b686cb Compare October 29, 2026 22:47
@dmcgowan
dmcgowan merged commit 97116ad into containerd:main Oct 30, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants