2019-10-29 18:28:33 +05:30
|
|
|
#!/bin/sh
|
2019-11-07 23:28:25 +05:30
|
|
|
if [ x"${srcdir}" = x ]; then
|
|
|
|
srcdir=.
|
|
|
|
fi
|
2019-11-05 00:39:54 +05:30
|
|
|
. ${srcdir}/test.rc
|
2019-10-29 18:28:33 +05:30
|
|
|
|
|
|
|
MSG="foobar"
|
2019-11-07 23:28:47 +05:30
|
|
|
MSG2="xyzzy"
|
2019-10-29 18:28:33 +05:30
|
|
|
|
2019-10-30 21:44:29 +05:30
|
|
|
../src/logger -u ${SOCK} ${MSG}
|
2019-10-29 18:28:33 +05:30
|
|
|
grep ${MSG} ${LOG}
|
2019-11-07 23:28:47 +05:30
|
|
|
|
|
|
|
../src/logger -u ${ALTSOCK} ${MSG2}
|
|
|
|
grep ${MSG2} ${LOG}
|