aboutsummaryrefslogtreecommitdiff
path: root/test/includes/pre
Commit message (Collapse)AuthorAge
* test: sys/fcntl.h -> fcntl.hMichael Reed2016-01-14
| | | | | | | | | POSIX.1-2008[1] says that the latter should be used, and all of our supported platforms would seem to support this scheme, apparently even Windows[2]. [1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html [2]: https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx
* Use libuv errors instead of errno in unit testsRui Abreu Ferreira2015-11-25
| | | | | | | | Replaced old unit tests for errno with libuv error codes UV_ENOENT and UV_EEXIST (for os_open and os_getperms). Added libuv include path to test/includes compiler calls - needed to get hold of libuv headers.
* os_open: add unit testsJustin M. Keyes2014-07-14
|
* Add unit tests for mch_[gs]etperm.Thomas Wienecke2014-03-15
Use preprocessor trick proposed by @mahkoh to import 'defines' like S_IRUSR.