Skip to content

Beef up write syscall tests #2370

@fvoznika

Description

@fvoznika

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: filesystemIssue related to filesystemarea: testsIssue related to testsgood first issueGood for newcomerstype: cleanupRefactorings and cleanups to improve the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions