sysklogd/test/local.sh
Joachim Nilsson 87292c6f95 Verify logging to local file via syslogd
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-10-29 13:58:56 +01:00

9 lines
88 B
Bash
Executable File

#!/bin/sh
. ./test.rc
MSG="foobar"
../src/logger -u ${SCK} ${MSG}
grep ${MSG} ${LOG}