Skip to content

Add tests for unistd.h constants

This adds tests for the constants specified in (apart from those relevant for pathconf() and sysconf(). Currently, many constants are not yet implemented and thus commented out.

For many of these constants, POSIX does not specify a particular value, though I guess it is ok to lock in their value with an expected-value test. For the constants that relibc does provide, the values are the same as in glibc. On my machine, glibc provides all of the constants commented out, except:

  • _XBS5_ILP32_OFF32

Merge request reports