You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Arjun Shankar cce35a50c1 support: Add xsetlocale function 6 years ago
..
Makefile support: Add xsetlocale function 6 years ago
README support: Add timespec.h 7 years ago
README-testing.c support: Introduce new subdirectory for test infrastructure 9 years ago
blob_repeat.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
blob_repeat.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
capture_subprocess.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
check.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
check.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
check_addrinfo.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
check_dns_packet.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
check_hostent.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
check_netent.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
check_nss.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
delayed_exit.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
descriptors.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
echo-container.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
format_nss.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
ignore_stderr.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
links-dso-program-c.c nss_db: fix endent wrt NULL mappings [BZ #24695] [BZ #24696] 7 years ago
links-dso-program.cc nss_db: fix endent wrt NULL mappings [BZ #24695] [BZ #24696] 7 years ago
namespace.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
next_to_fault.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
next_to_fault.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
oom_error.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
resolv_test.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
resolv_test.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
run_diff.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
set_fortify_handler.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
shell-container.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
subprocess.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support-xfstat.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support-xstat.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support.h support: Add xsetlocale function 6 years ago
support_become_root.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_can_chroot.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_capture_subprocess.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_capture_subprocess_check.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_chroot.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_copy_file_range.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_descriptor_supports_holes.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_descriptors.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_enter_mount_namespace.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_enter_network_namespace.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_format_address_family.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_format_addrinfo.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_format_dns_packet.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_format_herrno.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_format_hostent.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_format_netent.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_isolate_in_subprocess.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_openpty.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_paths.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_ptrace.c Fix building support_ptrace.c on i686-gnu. 7 years ago
support_quote_blob.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_quote_string.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_record_failure.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_run_diff.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_set_small_thread_stack_size.c support: Add support_set_small_thread_stack_size 6 years ago
support_shared_allocate.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_small_stack_thread_attribute.c support: Add support_set_small_thread_stack_size 6 years ago
support_subprocess.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_test_compare_blob.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_test_compare_failure.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_test_compare_string.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_test_main.c Change most internal uses of __gettimeofday to __clock_gettime. 7 years ago
support_test_verify_impl.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
support_write_file_string.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
temp_file-internal.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
temp_file.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
temp_file.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
test-container.c Add wait-for-debugger test harness hooks 7 years ago
test-driver.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
test-driver.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
timespec-add.c Sync timespec-{add,sub} with gnulib 7 years ago
timespec-sub.c Sync timespec-{add,sub} with gnulib 7 years ago
timespec.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
timespec.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
true-container.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-support-namespace.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-support_blob_repeat.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-support_capture_subprocess.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-support_descriptors.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-support_format_dns_packet.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-support_quote_blob.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-support_quote_string.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-support_record_failure-2.sh Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-support_record_failure.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-test_compare.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-test_compare_blob.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-test_compare_string.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-xreadlink.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tst-xsigstack.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
tty.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
write_message.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xaccept.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xaccept4.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xasprintf.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xbind.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xcalloc.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xchroot.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xclock_gettime.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xclose.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xconnect.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xcopy_file_range.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xdlfcn.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xdlfcn.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xdlmopen.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xdup2.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xfclose.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xfopen.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xfork.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xftruncate.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xgetsockname.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xlisten.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xlseek.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xmalloc.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xmemstream.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xmemstream.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xmkdir.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xmkdirp.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xmmap.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xmprotect.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xmunmap.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xopen.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpipe.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpoll.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xposix_memalign.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xposix_spawn.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xposix_spawn_file_actions_addclose.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xposix_spawn_file_actions_adddup2.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_attr_destroy.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_attr_init.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_attr_setdetachstate.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_attr_setguardsize.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_attr_setstack.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_attr_setstacksize.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_barrier_destroy.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_barrier_init.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_barrier_wait.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_barrierattr_destroy.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_barrierattr_init.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_barrierattr_setpshared.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_cancel.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_check_return.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_cond_wait.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_create.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_detach.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_join.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_mutex_consistent.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_mutex_destroy.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_mutex_init.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_mutex_lock.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_mutex_unlock.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_mutexattr_destroy.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_mutexattr_init.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_mutexattr_setprotocol.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_mutexattr_setpshared.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_mutexattr_setrobust.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_mutexattr_settype.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_once.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_rwlock_destroy.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_rwlock_init.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_rwlock_rdlock.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_rwlock_unlock.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_rwlock_wrlock.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_rwlockattr_init.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_rwlockattr_setkind_np.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_sigmask.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_spin_lock.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xpthread_spin_unlock.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xptrace.h Add UNSUPPORTED check in elf/tst-pldd. 7 years ago
xraise.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xreadlink.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xrealloc.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xrecvfrom.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xsendto.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xsetlocale.c support: Add xsetlocale function 6 years ago
xsetsockopt.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xsigaction.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xsignal.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xsignal.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xsigstack.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xsocket.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xsocket.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xspawn.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xstdio.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xstrdup.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xstrndup.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xsymlink.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xsysconf.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xthread.h support: Add support_set_small_thread_stack_size 6 years ago
xtime.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xunistd.h Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xunlink.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xwaitpid.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago
xwrite.c Prefer https to http for gnu.org and fsf.org URLs 7 years ago

README

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