Test for correct setting of errno.
commit9a56f8718341082d98cee9b245a02c8bf8c074da
authorYury Norov <ynorov@caviumnetworks.com>
Wed, 8 Mar 2017 16:18:08 +0000 (8 11:18 -0500)
committerZack Weinberg <zackw@panix.com>
Wed, 8 Mar 2017 16:19:47 +0000 (8 11:19 -0500)
treea4347ebcffec750e0ce57d31e530ac986278f830
parent72280a9e55573c385d37b00244dbc8cf49a2529b
Test for correct setting of errno.

This patch adds tests for POSIX and Linux specific syscalls
that implemented with syscall templates machinery. The reason
of tests is to receive the expected error code and test if
it's handled properly by glibc.

2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
    Zack Weinberg  <zackw@panix.com>

* posix/test-errno.c: New file.
* posix/Makefile (tests): Add test-errno.
* sysdeps/unix/sysv/linux/test-errno.c: New file.
* sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
ChangeLog
posix/Makefile
posix/test-errno.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/test-errno.c [new file with mode: 0644]