2019-10-29 18:28:33 +05:30
|
|
|
#!/bin/sh
|
2022-05-21 19:13:12 +05:30
|
|
|
# shellcheck disable=SC1090
|
|
|
|
|
2021-11-22 15:52:04 +05:30
|
|
|
if [ x"${srcdir}" = x ]; then
|
|
|
|
srcdir=.
|
|
|
|
fi
|
2022-05-21 19:13:12 +05:30
|
|
|
|
2021-11-22 19:46:05 +05:30
|
|
|
. ${srcdir}/lib.sh
|
|
|
|
setup
|
2019-10-29 18:28:33 +05:30
|
|
|
|
2022-03-06 05:32:03 +05:30
|
|
|
print "TEST: Starting"
|
|
|
|
|
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
|
|
|
|
2022-05-21 19:13:12 +05:30
|
|
|
logger "${MSG}"
|
2022-03-06 05:36:38 +05:30
|
|
|
grep ${MSG} "${LOG}" || FAIL "Cannot find: ${MSG}"
|
|
|
|
|
2022-05-21 19:13:12 +05:30
|
|
|
logger "${ALTSOCK}" ${MSG2}
|
2022-03-06 05:36:38 +05:30
|
|
|
grep ${MSG2} "${LOG}" || FAIL "Cannot find: ${MSG2}"
|
2019-11-07 23:28:47 +05:30
|
|
|
|
2022-03-06 05:32:03 +05:30
|
|
|
OK
|