Skip to content

libutil-tests: Add tests for makeFSSourceAccessor#14815

Merged
Ericson2314 merged 1 commit intomasterfrom
source-accessor-tests
Dec 17, 2025
Merged

libutil-tests: Add tests for makeFSSourceAccessor#14815
Ericson2314 merged 1 commit intomasterfrom
source-accessor-tests

Conversation

@xokdvium
Copy link
Contributor

Motivation

Should be pretty self-explanatory. We didn't really have unit tests for the filesystem source accessor. Now we do and this will be immensely useful for implementing a unix-only smarter accessor that doesn't suffer from TOCTOU on symlinks.

Context

Split out from #14809 (comment).


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@xokdvium xokdvium requested a review from edolstra as a code owner December 17, 2025 01:35
Should be pretty self-explanatory. We didn't really have unit tests
for the filesystem source accessor. Now we do and this will be immensely
useful for implementing a unix-only smarter accessor that doesn't suffer
from TOCTOU on symlinks.
@xokdvium xokdvium force-pushed the source-accessor-tests branch from 6727ffb to 017fae3 Compare December 17, 2025 01:42
@Ericson2314 Ericson2314 added this pull request to the merge queue Dec 17, 2025
Merged via the queue into master with commit b39da9c Dec 17, 2025
20 checks passed
@Ericson2314 Ericson2314 deleted the source-accessor-tests branch December 17, 2025 03:12
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