summaryrefslogtreecommitdiff
path: root/tests/xet_robust_list.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/xet_robust_list.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/xet_robust_list.c')
-rw-r--r--tests/xet_robust_list.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/xet_robust_list.c b/tests/xet_robust_list.c
index de598c808..db2deaa3c 100644
--- a/tests/xet_robust_list.c
+++ b/tests/xet_robust_list.c
@@ -25,10 +25,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
+#include "tests.h"
#include <stdio.h>
#include <unistd.h>
#include <sys/mman.h>