From abf14c3940a5ec08bb9fce9ddfb7375309a4d97f Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 24 Mar 2012 20:37:55 +0100 Subject: [PATCH] test: Add new headers unit test --- test/.gitignore | 1 + test/Makefile.am | 1 + test/headers.c | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 test/.gitignore create mode 100644 test/headers.c diff --git a/test/.gitignore b/test/.gitignore new file mode 100644 index 0000000..4237ec7 --- /dev/null +++ b/test/.gitignore @@ -0,0 +1 @@ +headers diff --git a/test/Makefile.am b/test/Makefile.am index 6977948..30749c2 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -11,6 +11,7 @@ AM_CPPFLAGS = \ -D__REENTRANT check_PROGRAMS = \ + headers \ $(nil) TESTS = $(check_PROGRAMS) diff --git a/test/headers.c b/test/headers.c new file mode 100644 index 0000000..bc429fd --- /dev/null +++ b/test/headers.c @@ -0,0 +1,25 @@ +/* Check that all libbsd overlayed headers preprocess. */ +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +int +main() +{ + return 0; +} -- 2.47.2