From fa9ccce2d4ea7ba7c2a14be2db77a6906cc07437 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 29 Jul 2015 10:41:50 +0200 Subject: [PATCH] tasts: add logger octet counting test Signed-off-by: Karel Zak --- tests/expected/logger/formats-octet_counting | 2 ++ tests/ts/logger/formats | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 tests/expected/logger/formats-octet_counting diff --git a/tests/expected/logger/formats-octet_counting b/tests/expected/logger/formats-octet_counting new file mode 100644 index 0000000000..6b18824b1c --- /dev/null +++ b/tests/expected/logger/formats-octet_counting @@ -0,0 +1,2 @@ +34 <13>Feb 13 23:31:30 octen: message +ret: 0 diff --git a/tests/ts/logger/formats b/tests/ts/logger/formats index 0222061520..ea1a5d0196 100755 --- a/tests/ts/logger/formats +++ b/tests/ts/logger/formats @@ -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 -- 2.47.2