2019-10-29 13:58:33 +01:00
|
|
|
#!/bin/sh
|
2019-11-07 18:58:25 +01:00
|
|
|
if [ x"${srcdir}" = x ]; then
|
|
|
|
srcdir=.
|
|
|
|
fi
|
2019-11-04 20:09:54 +01:00
|
|
|
. ${srcdir}/test.rc
|
2019-10-29 13:58:33 +01:00
|
|
|
|
|
|
|
MSG="foobar"
|
2019-11-07 18:58:47 +01:00
|
|
|
MSG2="xyzzy"
|
2019-10-29 13:58:33 +01:00
|
|
|
|
2019-10-30 17:14:29 +01:00
|
|
|
../src/logger -u ${SOCK} ${MSG}
|
2019-10-29 13:58:33 +01:00
|
|
|
grep ${MSG} ${LOG}
|
2019-11-07 18:58:47 +01:00
|
|
|
|
|
|
|
../src/logger -u ${ALTSOCK} ${MSG2}
|
|
|
|
grep ${MSG2} ${LOG}
|