diff options
author | Yury Norov <ynorov@caviumnetworks.com> | 2017-03-08 11:18:08 -0500 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2017-03-08 11:19:47 -0500 |
commit | 9a56f8718341082d98cee9b245a02c8bf8c074da (patch) | |
tree | a4347ebcffec750e0ce57d31e530ac986278f830 /posix/Makefile | |
parent | 72280a9e55573c385d37b00244dbc8cf49a2529b (diff) | |
download | glibc-9a56f8718341082d98cee9b245a02c8bf8c074da.zip glibc-9a56f8718341082d98cee9b245a02c8bf8c074da.tar.gz glibc-9a56f8718341082d98cee9b245a02c8bf8c074da.tar.bz2 |
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.
Diffstat (limited to 'posix/Makefile')
-rw-r--r-- | posix/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/Makefile b/posix/Makefile index 8f23d64..ae17646 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -62,7 +62,7 @@ routines := \ get_child_max sched_cpucount sched_cpualloc sched_cpufree aux := init-posix environ -tests := tstgetopt testfnm runtests runptests \ +tests := test-errno tstgetopt testfnm runtests runptests \ tst-preadwrite tst-preadwrite64 test-vfork regexbug1 \ tst-mmap tst-mmap-offset tst-getaddrinfo tst-truncate \ tst-truncate64 tst-fork tst-fnmatch tst-regexloc tst-dir \ |