Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port some more wasmtime filesystem tests #86

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

zoraaver
Copy link
Contributor

To close the testing gaps on any filesystem functions, port some more of the wasmtime tests. A few test cases in dir_fd_op_failures seemed to be specific to wasmtime; namely fd_sync, fd_datasync, fd_fdstat_set_flags and fd_advise. These functions return errors when called on a directory fd on wasmtime but on WAMR (and POSIX) they return 0 so for the moment have removed them.

loganek
loganek previously approved these changes Sep 13, 2023
Copy link
Collaborator

@loganek loganek left a comment

Choose a reason for hiding this comment

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

Please review all the temporary files/directories and use .cleanup suffix (see https://github.com/WebAssembly/wasi-testsuite/blob/main/doc/specification.md)

@loganek loganek self-requested a review September 13, 2023 08:39
@loganek loganek dismissed their stale review September 13, 2023 08:40

found more issues

@zoraaver zoraaver force-pushed the port-more-tests branch 2 times, most recently from 6c4ec48 to d6b984b Compare September 14, 2023 11:24
To close the testing gaps on any filesystem functions, port some more of
the wasmtime tests. A few test cases in dir_fd_op_failures seemed to be
specific to wasmtime; namely fd_sync, fd_datasync, fd_fdstat_set_flags
and fd_advise. These functions return errors when called on a directory
fd on wasmtime but on WAMR (and POSIX) they return 0 so for the moment
have removed them.
Copy link
Collaborator

@loganek loganek left a comment

Choose a reason for hiding this comment

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

LGTM

@loganek loganek merged commit f38f470 into WebAssembly:main Sep 18, 2023
@zoraaver zoraaver deleted the port-more-tests branch September 18, 2023 10:00
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