Commit 786d1439 authored by Guillem Jover's avatar Guillem Jover

test: Add new overlay unit test

parent 866f73af
......@@ -12,6 +12,7 @@ AM_CPPFLAGS = \
check_PROGRAMS = \
headers \
overlay \
$(nil)
TESTS = $(check_PROGRAMS)
/* Include system headers that are “known” to pull bits selectively from
* other headers through magic macros, to check that the overlay is working
* properly. */
#include <errno.h>
#include <grp.h>
#include <stdint.h>
/* Include libbsd overlayed headers that might get partially included. */
#include <sys/cdefs.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
int
main()
{
/* Test that we do not get partial definitions. */
fflush(stdout);
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment