sysklogd/test/memleak.sh
Joachim Wiberg 7ff4a7d210 test: reduce verbosity of new test
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2022-05-29 16:59:32 +02:00

32 lines
486 B
Bash
Executable File

#!/bin/sh
# Start, SIGHUP, and log a run of syslogd under Valgrind
# shellcheck disable=SC1090
#set -x
if [ x"${srcdir}" = x ]; then
srcdir=.
fi
# shellcheck disable=SC2034
VALGRIND="valgrind --leak-check=full --show-leak-kinds=all"
. ${srcdir}/lib.sh
# Only needed for verifying correct RFC3164 parsing
cat <<-EOF >"${CONFD}/99-wall.conf"
*.=emerg *
EOF
setup
print "TEST: Starting"
#../src/logger -u "${SOCK}" ${MSG}
# Wait for any OS delays
#sleep 1
reload
sleep 1
OK