2022-03-08 01:21:42 +05:30
|
|
|
#!/bin/sh
|
|
|
|
# Currently only same as local.sh but with unicode messages
|
|
|
|
# From https://github.com/troglobit/sysklogd/issues/49
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
if [ x"${srcdir}" = x ]; then
|
|
|
|
srcdir=.
|
|
|
|
fi
|
2022-05-21 19:13:12 +05:30
|
|
|
|
2022-03-08 01:21:42 +05:30
|
|
|
. ${srcdir}/lib.sh
|
|
|
|
setup -8
|
|
|
|
|
|
|
|
MSG="öäüÖÄÜ߀¢§"
|
|
|
|
MSG2="…‘’•"
|
|
|
|
|
2022-05-21 19:13:12 +05:30
|
|
|
logger ${MSG}
|
2022-03-08 01:21:42 +05:30
|
|
|
grep ${MSG} "${LOG}" || FAIL "Cannot find: ${MSG}"
|
|
|
|
|
2022-05-21 19:13:12 +05:30
|
|
|
logger "${ALTSOCK}" ${MSG2}
|
2022-03-08 01:21:42 +05:30
|
|
|
grep ${MSG2} "${LOG}" || FAIL "Cannot find: ${MSG2}"
|
|
|
|
|
|
|
|
OK
|