Verify logging to local file via syslogd
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
fc4840a698
commit
87292c6f95
@ -1,6 +1,8 @@
|
||||
EXTRA_DIST = start.sh stop.sh
|
||||
EXTRA_DIST += local.sh
|
||||
CLEANFILES = *~ *.trs *.log
|
||||
TEST_EXTENSIONS = .sh
|
||||
|
||||
TESTS = start.sh
|
||||
TESTS += local.sh
|
||||
TESTS += stop.sh
|
||||
|
8
test/local.sh
Executable file
8
test/local.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
. ./test.rc
|
||||
|
||||
MSG="foobar"
|
||||
|
||||
../src/logger -u ${SCK} ${MSG}
|
||||
|
||||
grep ${MSG} ${LOG}
|
Loading…
Reference in New Issue
Block a user