sysklogd/test/api.sh
Joachim Nilsson b1548e7c73 Add simple API test, syslog() no call to openlog()
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-03 15:55:25 +01:00

8 lines
93 B
Bash
Executable File

#!/bin/sh
set -e
. ./test.rc
export MSG="no-openlog-apitest"
./api
grep "api ${MSG}" ${LOG}