c2c840d40e
tests/xattr.c: use libtests
...
* tests/xattr.c: Use SKIP_MAIN_UNDEFINED.
(main): Use perror_msg_and_skip.
2016-01-05 23:18:25 +00:00
c497c96179
tests/seccomp.c: use libtests
...
* tests/seccomp.c: Use SKIP_MAIN_UNDEFINED.
(main): Use perror_msg_and_fail and perror_msg_and_skip.
2016-01-05 23:17:29 +00:00
fa63468f55
tests/restart_syscall.c: use libtests
...
* tests/restart_syscall.c (main): Use assert, perror_msg_and_fail,
and perror_msg_and_skip.
2016-01-05 23:14:25 +00:00
91a6ef6648
tests/inet-cmsg.c: use libtests
...
* tests/inet-cmsg.c (main): Use perror_msg_and_skip.
2016-01-05 23:13:41 +00:00
8cad05c5ef
tests/eventfd.c: use libtests
...
* tests/eventfd.c: Use SKIP_MAIN_UNDEFINED.
(main): Use perror_msg_and_skip.
2016-01-05 23:12:51 +00:00
69fe020a23
tests/epoll_create1.c: use libtests
...
* tests/epoll_create1.c: Use SKIP_MAIN_UNDEFINED.
(main): Use assert and perror_msg_and_skip.
2016-01-05 23:11:48 +00:00
bde121b849
tests/mmap.c: use libtests
...
* tests/mmap.c (main): Use get_page_size and perror_msg_and_fail.
2016-01-05 23:07:59 +00:00
18eeb96799
tests/fanotify_mark.c: use libtests
...
* tests/fanotify_mark.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 23:06:14 +00:00
af364e1ec4
tests/inet-accept-connect-send-recv.c: use libtests
...
* tests/inet-accept-connect-send-recv.c (main): Use perror_msg_and_skip
and perror_msg_and_fail.
2016-01-05 23:04:30 +00:00
2f5786c0fc
tests/net-accept-connect.c: use libtests
...
* tests/net-accept-connect.c (main): Use perror_msg_and_skip
and perror_msg_and_fail.
2016-01-05 23:03:26 +00:00
9b3c77c965
tests/unix-pair-send-recv.c: use libtests
...
* tests/unix-pair-send-recv.c (main): Use perror_msg_and_skip
and perror_msg_and_fail.
2016-01-05 23:02:21 +00:00
423dd59330
tests/xselect.c: use libtests
...
* tests/xselect.c (main): Use assert, perror_msg_and_fail,
and perror_msg_and_skip.
2016-01-06 00:57:14 +00:00
8d2674ea81
tests/pselect6.c: use libtests
...
* tests/pselect6.c: Use SKIP_MAIN_UNDEFINED.
(main): Use assert, perror_msg_and_fail, and perror_msg_and_skip.
2016-01-06 00:57:08 +00:00
fc3e11bcdc
tests/oldselect.c: use libtests
...
* tests/oldselect.c: Use SKIP_MAIN_UNDEFINED.
(main): Use perror_msg_and_fail and perror_msg_and_skip.
2016-01-05 22:53:28 +00:00
1bda9d71b2
tests/select.c: use libtests
...
* tests/select.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 22:52:39 +00:00
0827838905
tests/_newselect.c: use libtests
...
* tests/_newselect.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 22:51:44 +00:00
8655cb55ec
tests/fstatat.c: use libtests
...
* tests/fstatat.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 22:41:28 +00:00
cebe881059
tests/newfstatat.c: use libtests
...
* tests/newfstatat.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 22:40:51 +00:00
2acad73184
tests/fstatat64.c: use libtests
...
* tests/fstatat64.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 22:40:17 +00:00
6c52f2b0fa
tests/xstatx.c: use libtests
...
* tests/xstatx.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 22:37:42 +00:00
18757252c5
tests/stat64.c: use libtests
...
* tests/stat64.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 22:35:52 +00:00
9e51ce1751
tests/stat.c: use libtests
...
* tests/stat.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 22:35:11 +00:00
929bc6fba1
tests/lstat64.c: use libtests
...
* tests/lstat64.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 22:34:30 +00:00
096a436b91
tests/lstat.c: use libtests
...
* tests/lstat.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 22:33:26 +00:00
fc2c61498c
tests/fstat64.c: use libtests
...
* tests/fstat64.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 22:32:37 +00:00
2902146c1c
tests/fstat.c: use libtests
...
* tests/fstat.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 22:31:46 +00:00
ec6b85e59c
tests/statfs.c: use libtests
...
* tests/statfs.c (main): Use perror_msg_and_fail.
2016-01-05 22:28:51 +00:00
d88c2d8cc3
tests/xettimeofday.c: use libtests
...
* tests/xettimeofday.c (main): Use assert and perror_msg_and_skip.
2016-01-06 00:14:36 +00:00
7994f14ae5
tests/utime.c: use libtests
...
* tests/utime.c (main): Use assert and perror_msg_and_skip.
2016-01-06 00:14:36 +00:00
55095d06e9
tests/filter-unavailable.c: use libtests
...
* tests/filter-unavailable.c (main): Use perror_msg_and_fail.
2016-01-06 00:14:36 +00:00
339a15b619
tests/scm_rights.c: use libtests
...
* tests/scm_rights.c (main): Use perror_msg_and_fail and perror_msg_and_skip.
2016-01-06 00:14:36 +00:00
e301e98342
tests/caps.c: use libtests
...
* tests/caps.c (main): Use perror_msg_and_skip.
2016-01-06 00:14:36 +00:00
3174812d8d
tests/rt_sigqueueinfo.c: use libtests
...
* tests/rt_sigqueueinfo.c (main): Use assert and perror_msg_and_skip.
2016-01-06 00:14:36 +00:00
55deec66a9
tests/umount.c: use libtests
...
* tests/umount.c: Use SKIP_MAIN_UNDEFINED.
(main): Use perror_msg_and_fail.
2016-01-06 00:14:36 +00:00
fa8d4491e3
tests/umount2.c: use libtests
...
* tests/umount2.c (main): Use perror_msg_and_fail.
2016-01-06 00:05:41 +00:00
6a641fce5d
tests/times.c: use libtests
...
* tests/times.c (main): Use perror_msg_and_fail and perror_msg_and_skip.
2016-01-05 23:44:59 +00:00
f2e29da95f
tests/times-fail.c: use assert
...
* tests/times-fail.c (main): Use assert.
2016-01-04 23:43:09 +00:00
82924318f0
tests/memfd_create.c: use libtests
...
* tests/memfd_create.c: Use SKIP_MAIN_UNDEFINED.
2016-01-04 23:41:27 +00:00
71ac6ff9e8
tests/execveat.c: use libtests
...
* tests/execveat.c: Use SKIP_MAIN_UNDEFINED.
2016-01-04 23:40:24 +00:00
c47adebc67
tests/xetitimer.c: use libtests
...
* tests/xetitimer.c (main): Use perror_msg_and_skip.
2016-01-04 23:38:19 +00:00
10a69f8108
tests/sysinfo.c: use libtests
...
* tests/sysinfo.c (main): Use perror_msg_and_skip.
2016-01-05 23:37:14 +00:00
9c8654e3e0
tests/sigaltstack.c: use libtests
...
* tests/sigaltstack.c (main): Use perror_msg_and_skip.
2016-01-05 23:37:01 +00:00
463bb88de1
tests/adjtimex.c: use libtests
...
* tests/adjtimex.c (main): Use perror_msg_and_skip.
2016-01-05 23:36:59 +00:00
cadf3543f7
tests/xet_robust_list.c: use libtests
...
* tests/xet_robust_list.c: Use SKIP_MAIN_UNDEFINED.
(main): Use perror_msg_and_skip and tail_alloc.
2016-01-05 23:25:00 +00:00
4cd38c0d77
tests/umovestr2.c: use libtests
...
* tests/umovestr2.c (main): Use get_page_size and tail_alloc.
2016-01-05 23:24:50 +00:00
4eb5d79c45
tests/umovestr.c: use libtests
...
* tests/umovestr.c (main): Use perror_msg_and_skip and tail_alloc.
2016-01-05 23:24:36 +00:00
6a733fd461
tests/time.c: use libtests
...
* tests/time.c: Use SKIP_MAIN_UNDEFINED.
(main): Use perror_msg_and_skip and tail_alloc.
2016-01-05 23:17:11 +00:00
164e577824
tests/sendfile64.c: use libtests
...
* tests/sendfile64.c: Use SKIP_MAIN_UNDEFINED.
(main): Use assert, perror_msg_and_fail, perror_msg_and_skip,
and tail_alloc.
2016-01-05 23:17:11 +00:00
54ba3b5c32
tests/sendfile.c: use libtests
...
* tests/sendfile.c: Use SKIP_MAIN_UNDEFINED.
(main): Use assert, perror_msg_and_fail, perror_msg_and_skip,
and tail_alloc.
2016-01-05 23:17:11 +00:00
0c8853c3c3
tests: include tests.h instead of config.h
...
Automatically edit tests/*.c files using the following perl one-liner:
perl -0777 -pi -e \
's/#ifdef HAVE_CONFIG_H\n# include "config\.h"\n#endif\n*/#include "tests.h"\n/' \
tests/*.c
2016-01-05 23:17:11 +00:00