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

Add STM tests of the Unix module #500

Open
jmid opened this issue Dec 20, 2024 · 0 comments
Open

Add STM tests of the Unix module #500

jmid opened this issue Dec 20, 2024 · 0 comments
Labels
feature For enhancements of the libraries or test suite

Comments

@jmid
Copy link
Collaborator

jmid commented Dec 20, 2024

The Unix module could also benefit from a good round of stress testing, e.g., to help ensure that it works consistently across platforms.

I made early experiments in this direction in https://github.com/ocaml-multicore/multicoretests/tree/unix-tests
A rebased version is available in https://github.com/ocaml-multicore/multicoretests/tree/unix-tests-rebased
These quickly found the analogous Windows rename issue plaging Sys.rename, confirming the usefulness of doing so.

Since parts of Unix strongly resemble Sys, to avoid duplicating code, this could benefit from the model-refactoring underlying the Sys test extension in #304, allowing the model to be shared among the two STM tests.

@jmid jmid added the feature For enhancements of the libraries or test suite label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature For enhancements of the libraries or test suite
Projects
None yet
Development

No branches or pull requests

1 participant