aboutsummaryrefslogtreecommitdiff
path: root/misc/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-04-09 08:34:22 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-04-15 10:41:50 -0300
commit096c27684a084ea06c0e0c681358738731ac0b52 (patch)
tree5c5d8e34dfd1af7d60312a7858a7ce695b678d30 /misc/Makefile
parente3fdbe9f39747206b9c3fbb0219f29fd5b35d020 (diff)
downloadglibc-096c27684a084ea06c0e0c681358738731ac0b52.zip
glibc-096c27684a084ea06c0e0c681358738731ac0b52.tar.gz
glibc-096c27684a084ea06c0e0c681358738731ac0b52.tar.bz2
misc: Add syslog test
The test cover: - All possible priorities and facilities through TCP and UDP. - Same syslog tests for vsyslog. - Some openlog/syslog/close combinations. - openlog with LOG_CONS, LOG_PERROR, and LOG_PID. Internally is done with a test-container where the main process mimics the syslog server interface. The test does not cover multithread and async-signal usage. Checked on x86_64-linux-gnu.
Diffstat (limited to 'misc/Makefile')
-rw-r--r--misc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 3d8a569..ba8232a 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -115,6 +115,8 @@ tests-special += $(objpfx)tst-error1-mem.out \
$(objpfx)tst-allocate_once-mem.out
endif
+tests-container := tst-syslog
+
CFLAGS-select.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-tsearch.c += $(uses-callbacks)
CFLAGS-lsearch.c += $(uses-callbacks)