]> granicus.if.org Git - strace/commit
tests: include tests.h instead of config.h
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 2 Jan 2016 13:28:43 +0000 (13:28 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 5 Jan 2016 23:17:11 +0000 (23:17 +0000)
commit0c8853c3c39fe11f1a80456e744d7db861c39df2
tree65aa2d71bfbcd8f897d908db6546e9024bdd8dcd
parent87e6b230fff800eb768b68b2e5173ebbe83fd3ef
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
72 files changed:
tests/_newselect.c
tests/adjtimex.c
tests/aio.c
tests/bpf.c
tests/clock_nanosleep.c
tests/epoll_create1.c
tests/eventfd.c
tests/execveat.c
tests/fanotify_mark.c
tests/fcntl.c
tests/fcntl64.c
tests/file_handle.c
tests/fork-f.c
tests/fstat.c
tests/fstat64.c
tests/fstatat64.c
tests/ftruncate.c
tests/ftruncate64.c
tests/getdents.c
tests/getdents64.c
tests/getrandom.c
tests/ioctl.c
tests/ip_mreq.c
tests/ipc_msgbuf.c
tests/llseek.c
tests/lseek.c
tests/lstat.c
tests/lstat64.c
tests/membarrier.c
tests/memfd_create.c
tests/mlock2.c
tests/mmap.c
tests/mmsg.c
tests/mq.c
tests/newfstatat.c
tests/oldselect.c
tests/pc.c
tests/pipe.c
tests/ppoll.c
tests/readdir.c
tests/readlink.c
tests/readlinkat.c
tests/restart_syscall.c
tests/sched_xetattr.c
tests/seccomp.c
tests/select.c
tests/sendfile.c
tests/sendfile64.c
tests/set_ptracer_any.c
tests/signalfd.c
tests/sigreturn.c
tests/stat.c
tests/stat64.c
tests/statfs.c
tests/time.c
tests/timer_create.c
tests/timer_xettime.c
tests/timerfd_xettime.c
tests/times-fail.c
tests/times.c
tests/truncate.c
tests/truncate64.c
tests/uid.c
tests/uid16.c
tests/uid32.c
tests/uio.c
tests/userfaultfd.c
tests/utimensat.c
tests/vfork-f.c
tests/wait.c
tests/xattr.c
tests/xet_robust_list.c