aboutsummaryrefslogtreecommitdiff
path: root/tests/fstatat64.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2016-01-02 13:28:43 +0000
committerDmitry V. Levin <ldv@altlinux.org>2016-01-05 23:17:11 +0000
commit0c8853c3c39fe11f1a80456e744d7db861c39df2 (patch)
tree65aa2d71bfbcd8f897d908db6546e9024bdd8dcd /tests/fstatat64.c
parent87e6b230fff800eb768b68b2e5173ebbe83fd3ef (diff)
downloadstrace-0c8853c3c39fe11f1a80456e744d7db861c39df2.tar.gz
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
Diffstat (limited to 'tests/fstatat64.c')
-rw-r--r--tests/fstatat64.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/fstatat64.c b/tests/fstatat64.c
index 0facc3f5..dbb913f4 100644
--- a/tests/fstatat64.c
+++ b/tests/fstatat64.c
@@ -1,7 +1,4 @@
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
+#include "tests.h"
#include <sys/syscall.h>
#undef TEST_SYSCALL_NAME