The Wayback Machine - https://web.archive.org./web/20201208144846/https://github.com/google/gvisor/issues/2370
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

Beef up write syscall tests #2370

Open
fvoznika opened this issue on Apr 8, 2020 · 0 comments
Open

Beef up write syscall tests #2370

fvoznika opened this issue on Apr 8, 2020 · 0 comments

Comments

@fvoznika
Copy link
Member

@fvoznika fvoznika commented on Apr 8, 2020

There are only a few basic syscall tests for write(2) and pwrite(2). Here is an incomplete list of missing tests:

  • bad buffer states (EFAULT).
  • bad fds (wrong permission, wrong type of file, EBADF).
  • check offset is incremented.
  • check for EOF.
  • writing to pipes, symlinks, special files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.