Add simple API test, syslog() no call to openlog()
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
7
test/api.sh
Executable file
7
test/api.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
. ./test.rc
|
||||
|
||||
export MSG="no-openlog-apitest"
|
||||
./api
|
||||
grep "api ${MSG}" ${LOG}
|
||||
Reference in New Issue
Block a user