Skip to content

Conversation

@tlively
Copy link
Member

@tlively tlively commented Feb 26, 2022

Test that open files can still be read or written after they are unlinked and
that open directories can still be read after they are unlinked but that they
cannot gain new children.

Somewhat surprisingly, the old filesystem implementation passes this test with
no modifications. WasmFS cannot run it because it does not have an
implementation of unlinkat, and even if it did, it still would not pass.

Test that open files can still be read or written after they are unlinked and
that open directories can still be read after they are unlinked but that they
cannot gain new children.

Somewhat surprisingly, the old filesystem implementation passes this test with
no modifications. WasmFS cannot run it because it does not have an
implementation of `unlinkat`, and even if it did, it still would not pass.
@tlively tlively requested review from kripken and sbc100 February 26, 2022 00:54
Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@tlively
Copy link
Member Author

tlively commented Feb 28, 2022

Landing this because most tests have passed, even if their results haven't been reported back to GitHub. The only test failures cannot possibly be related to this PR.

@tlively tlively merged commit 7617616 into main Feb 28, 2022
@tlively tlively deleted the test-unlink-edge-cases branch February 28, 2022 18:42
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.

3 participants