13b1fd0aa0
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
20 lines
314 B
Bash
Executable File
20 lines
314 B
Bash
Executable File
#!/bin/sh
|
|
if [ x"${srcdir}" = x ]; then
|
|
srcdir=.
|
|
fi
|
|
. ${srcdir}/lib.sh
|
|
setup
|
|
|
|
print "TEST: Starting"
|
|
|
|
MSG="foobar"
|
|
MSG2="xyzzy"
|
|
|
|
../src/logger -u "${SOCK}" ${MSG}
|
|
grep ${MSG} "${LOG}" || FAIL "Cannot find: ${MSG}"
|
|
|
|
../src/logger -u "${ALTSOCK}" ${MSG2}
|
|
grep ${MSG2} "${LOG}" || FAIL "Cannot find: ${MSG2}"
|
|
|
|
OK
|