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 /sysdeps/unix/sysv/linux/Makefile | |
parent | 72280a9e55573c385d37b00244dbc8cf49a2529b (diff) | |
download | glibc-9a56f8718341082d98cee9b245a02c8bf8c074da.tar.gz glibc-9a56f8718341082d98cee9b245a02c8bf8c074da.tar.xz glibc-9a56f8718341082d98cee9b245a02c8bf8c074da.zip |
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 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r-- | sysdeps/unix/sysv/linux/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index fc29c54c86..6b7aa3fdf8 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -43,7 +43,7 @@ sysdep_headers += sys/mount.h sys/acct.h sys/sysctl.h \ bits/mman-linux.h tests += tst-clone tst-clone2 tst-fanotify tst-personality tst-quota \ - tst-sync_file_range + tst-sync_file_range test-errno # Generate the list of SYS_* macros for the system calls (__NR_* macros). |