tasts: add logger octet counting test

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2015-07-29 10:41:50 +02:00
parent b6b67955ef
commit fa9ccce2d4
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,2 @@
34 <13>Feb 13 23:31:30 octen: message
ret: 0

View File

@ -61,6 +61,10 @@ ts_init_subtest "rfc5424_msgid"
logger_fun -t "rfc5424" --rfc5424 --msgid "MSGID" "message"
ts_finalize_subtest
ts_init_subtest "octet_counting"
logger_fun -t "octen" --octet-count "message"
ts_finalize_subtest
ts_init_subtest "priorities"
for facility in auth authpriv cron daemon ftp lpr mail news syslog user uucp local{0..7}; do
for level in emerg alert crit err warning notice info debug; do