mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-04-19 15:47:17 +02:00
test: Add new headers unit test
This commit is contained in:
parent
23973e2221
commit
abf14c3940
1
test/.gitignore
vendored
Normal file
1
test/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
headers
|
@ -11,6 +11,7 @@ AM_CPPFLAGS = \
|
|||||||
-D__REENTRANT
|
-D__REENTRANT
|
||||||
|
|
||||||
check_PROGRAMS = \
|
check_PROGRAMS = \
|
||||||
|
headers \
|
||||||
$(nil)
|
$(nil)
|
||||||
|
|
||||||
TESTS = $(check_PROGRAMS)
|
TESTS = $(check_PROGRAMS)
|
||||||
|
25
test/headers.c
Normal file
25
test/headers.c
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/* Check that all libbsd overlayed headers preprocess. */
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
#include <sys/endian.h>
|
||||||
|
#include <sys/bitstring.h>
|
||||||
|
#include <sys/queue.h>
|
||||||
|
#include <sys/tree.h>
|
||||||
|
#include <sys/poll.h>
|
||||||
|
|
||||||
|
#include <err.h>
|
||||||
|
#include <getopt.h>
|
||||||
|
#include <libutil.h>
|
||||||
|
#include <md5.h>
|
||||||
|
#include <nlist.h>
|
||||||
|
#include <readpassphrase.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <vis.h>
|
||||||
|
|
||||||
|
int
|
||||||
|
main()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user