From: Karel Zak Date: Wed, 29 Jul 2015 08:41:50 +0000 (+0200) Subject: tasts: add logger octet counting test X-Git-Tag: v2.27-rc1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa9ccce2d4ea7ba7c2a14be2db77a6906cc07437;p=thirdparty%2Futil-linux.git tasts: add logger octet counting test Signed-off-by: Karel Zak --- 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