diff --git a/test/api.sh b/test/api.sh index e16b6b2..0cf09ae 100755 --- a/test/api.sh +++ b/test/api.sh @@ -34,7 +34,6 @@ reload ./api -i troglobit -p sleep 2 -ps fax |grep -A2 syslogd grep "troglobit - MSGID - ${MSG}" "${LOGV1}" || (echo "== ${LOGV1}"; tail -10 "${LOGV1}"; echo "== ${LOG}"; tail -10 "${LOG}"; cat "${CONFD}/v1.conf"; FAIL "Cannot find troglobit") print "Phase 4 - Verify RFC5424 API with logger(1)" diff --git a/test/fwd.sh b/test/fwd.sh index 9ad0ba3..d7ec058 100755 --- a/test/fwd.sh +++ b/test/fwd.sh @@ -26,7 +26,7 @@ setup2 -m0 -a 127.0.0.2:* -b ":${PORT2}" print "TEST: Starting" ../src/logger -t fwd -p ntp.notice -u "${SOCK}" -m "NTP123" "${MSG}" -sleep 3 +sleep 3 # Allow message to be received, processed, and forwarded grep "fwd - NTP123 - ${MSG}" "${LOG2}" || FAIL "Nothing forwarded." OK