NameDateSize

..01-Oct-2018103

main.cppH A D01-Oct-20182.4 KiB

README.mdH A D01-Oct-2018723

rules.mkH A D01-Oct-2018453

README.md

1# POSIX IO Tests
2
3This directory contains API coverage tests of POSIX IO. This is
4loosely defined as the set of functions that fdio implements. The goal
5is to test the error cases of each of these functions. It is not a
6test of the underlying RIO transport or backing filesystems.
7
8Note that POSIX stipulates that "if more than one error occurs in
9processing a function call, any one of the possible errors may be
10returned, as the order of detection is undefined." The tests in this
11directory test our implementation of POSIX, and not the spec
12itself. For example, we check that
13
14    openat(not_a_directory, "", O_RDONLY)
15
16returns `ENOENT`, rather than it returning one of `ENOENT` or
17`ENOTDIR`, both of which could apply.
18