glibc/support
Florian Weimer 446997ff14 resolv: Implement trust-ad option for /etc/resolv.conf [BZ #20358]
This introduces a concept of trusted name servers, for which the
AD bit is passed through to applications.  For untrusted name
servers (the default), the AD bit in responses are cleared, to
provide a safe default.

This approach is very similar to the one suggested by Pavel Šimerda
in <https://bugzilla.redhat.com/show_bug.cgi?id=1164339#c15>.

The DNS test framework in support/ is enhanced with support for
setting the AD bit in responses.

Tested on x86_64-linux-gnu.

Change-Id: Ibfe0f7c73ea221c35979842c5c3b6ed486495ccc
2019-11-27 20:54:37 +01:00
..
blob_repeat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
blob_repeat.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
capture_subprocess.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
check_addrinfo.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
check_dns_packet.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
check_hostent.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
check_netent.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
check_nss.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
check.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
check.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
delayed_exit.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
descriptors.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
echo-container.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
format_nss.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ignore_stderr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
links-dso-program-c.c nss_db: fix endent wrt NULL mappings [BZ #24695] [BZ #24696] 2019-07-10 14:51:18 -04:00
links-dso-program.cc nss_db: fix endent wrt NULL mappings [BZ #24695] [BZ #24696] 2019-07-10 14:51:18 -04:00
Makefile support: Add xsetlocale function 2019-11-11 17:40:46 +01:00
namespace.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
next_to_fault.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
next_to_fault.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
oom_error.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
README support: Add timespec.h 2019-05-09 14:33:53 -03:00
README-testing.c
resolv_test.c resolv: Implement trust-ad option for /etc/resolv.conf [BZ #20358] 2019-11-27 20:54:37 +01:00
resolv_test.h resolv: Implement trust-ad option for /etc/resolv.conf [BZ #20358] 2019-11-27 20:54:37 +01:00
run_diff.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
set_fortify_handler.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
shell-container.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
subprocess.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_become_root.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_can_chroot.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_capture_subprocess_check.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_capture_subprocess.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_chroot.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_copy_file_range.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_descriptor_supports_holes.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_descriptors.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_enter_mount_namespace.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_enter_network_namespace.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_format_address_family.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_format_addrinfo.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_format_dns_packet.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_format_herrno.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_format_hostent.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_format_netent.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_isolate_in_subprocess.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_openpty.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_paths.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_ptrace.c Fix building support_ptrace.c on i686-gnu. 2019-09-19 12:26:18 +02:00
support_quote_blob.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_quote_string.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_record_failure.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_run_diff.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_set_small_thread_stack_size.c support: Fix support_set_small_thread_stack_size to build on Hurd 2019-11-13 14:10:11 +01:00
support_shared_allocate.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_small_stack_thread_attribute.c support: Add support_set_small_thread_stack_size 2019-11-11 13:40:55 +01:00
support_subprocess.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_test_compare_blob.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_test_compare_failure.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_test_compare_string.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_test_main.c Change most internal uses of __gettimeofday to __clock_gettime. 2019-10-30 17:04:10 -03:00
support_test_verify_impl.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support_write_file_string.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support-xfstat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support-xstat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
support.h support: Add xsetlocale function 2019-11-11 17:40:46 +01:00
temp_file-internal.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
temp_file.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
temp_file.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-container.c Add wait-for-debugger test harness hooks 2019-10-24 16:32:32 -04:00
test-driver.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-driver.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
timespec-add.c Sync timespec-{add,sub} with gnulib 2019-10-31 17:03:04 -03:00
timespec-sub.c Sync timespec-{add,sub} with gnulib 2019-10-31 17:03:04 -03:00
timespec.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
timespec.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
true-container.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-support_blob_repeat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-support_capture_subprocess.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-support_descriptors.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-support_format_dns_packet.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-support_quote_blob.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-support_quote_string.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-support_record_failure-2.sh Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-support_record_failure.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-support-namespace.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-test_compare_blob.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-test_compare_string.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-test_compare.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-xreadlink.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-xsigstack.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tty.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
write_message.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xaccept4.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xaccept.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xasprintf.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xbind.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xcalloc.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xchroot.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xclock_gettime.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xclose.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xconnect.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xcopy_file_range.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xdlfcn.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xdlfcn.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xdlmopen.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xdup2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xfclose.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xfopen.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xfork.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xftruncate.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xgetsockname.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xlisten.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xlseek.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xmalloc.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xmemstream.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xmemstream.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xmkdir.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xmkdirp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xmmap.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xmprotect.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xmunmap.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xopen.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpipe.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpoll.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xposix_memalign.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xposix_spawn_file_actions_addclose.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xposix_spawn_file_actions_adddup2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xposix_spawn.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_attr_destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_attr_init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_attr_setdetachstate.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_attr_setguardsize.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_attr_setstack.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_attr_setstacksize.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_barrier_destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_barrier_init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_barrier_wait.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_barrierattr_destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_barrierattr_init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_barrierattr_setpshared.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_cancel.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_check_return.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_cond_wait.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_create.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_detach.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_join.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_mutex_consistent.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_mutex_destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_mutex_init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_mutex_lock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_mutex_unlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_mutexattr_destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_mutexattr_init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_mutexattr_setprotocol.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_mutexattr_setpshared.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_mutexattr_setrobust.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_mutexattr_settype.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_once.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_rwlock_destroy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_rwlock_init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_rwlock_rdlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_rwlock_unlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_rwlock_wrlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_rwlockattr_init.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_rwlockattr_setkind_np.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_sigmask.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_spin_lock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpthread_spin_unlock.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xptrace.h Add UNSUPPORTED check in elf/tst-pldd. 2019-09-18 12:42:39 +02:00
xraise.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xreadlink.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xrealloc.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xrecvfrom.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xsendto.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xsetlocale.c support: Add xsetlocale function 2019-11-11 17:40:46 +01:00
xsetsockopt.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xsigaction.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xsignal.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xsignal.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xsigstack.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xsocket.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xsocket.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xspawn.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xstdio.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xstrdup.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xstrndup.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xsymlink.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xsysconf.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xthread.h support: Add support_set_small_thread_stack_size 2019-11-11 13:40:55 +01:00
xtime.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xunistd.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xunlink.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xwaitpid.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xwrite.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00

This subdirectory contains infrastructure which is not put into
installed libraries, but may be linked into programs (installed or
not) and tests.

# Error-checking wrappers

These wrappers test for error return codes an terminate the process on
error.  They are declared in these header files:

* support.h
* xsignal.h
* xthread.h
* xtime.h

In general, new wrappers should be added to support.h if possible.
However, support.h must remain fully compatible with C90 and therefore
cannot include headers which use identifers not reserved in C90.  If
the wrappers need additional types, additional headers such as
signal.h need to be introduced.

# Test framework

The test framework provides a main program for tests, including a
timeout for hanging tests.  See README-testing.c for a minimal
example, and test-driver.c for details how to use it.  The following
header files provide related declarations:

* check.h
* temp_file.h
* test-driver.h

For tests that make use of struct timespec, the following header files
contain additional macros and helper functions:

* timespec.h