]> granicus.if.org Git - strace/commit
tests: do not include <assert.h> unnecessarily
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 21 Apr 2016 18:20:47 +0000 (18:20 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 21 Apr 2016 22:05:57 +0000 (22:05 +0000)
commitfa5e5d98548326cb5aac37c5af37503bdd9d6015
tree6d9c69afef9a09678d67b4998164d39d387b3f14
parent96a9ff5746563f46cf3c59709509ad44d6d959ce
tests: do not include <assert.h> unnecessarily

Automatically change tests/*.c files using the following script:

for f in tests/*.c; do
grep -q '\<assert(' "$f" ||
sed -i '/# *include *<assert\.h>/d' "$f"
done
21 files changed:
tests/acct.c
tests/copy_file_range.c
tests/epoll_create1.c
tests/ftruncate.c
tests/ftruncate64.c
tests/llseek.c
tests/lseek.c
tests/mlock2.c
tests/netlink_inet_diag.c
tests/prctl-seccomp-strict.c
tests/rt_tgsigqueueinfo.c
tests/seccomp-filter.c
tests/seccomp-strict.c
tests/splice.c
tests/sync_file_range.c
tests/sync_file_range2.c
tests/tee.c
tests/truncate.c
tests/truncate64.c
tests/userfaultfd.c
tests/xetpgid.c