diff options
Diffstat (limited to 'tests/ts/logger/formats')
-rwxr-xr-x | tests/ts/logger/formats | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ts/logger/formats b/tests/ts/logger/formats index 4d11c1d9b..a647b8159 100755 --- a/tests/ts/logger/formats +++ b/tests/ts/logger/formats @@ -32,25 +32,31 @@ export LOGGER_TEST_GETPID="98765" ts_init_subtest "rfc3164" $TS_HELPER_LOGGER -s --no-act -t "rfc3164" --rfc3164 "message" > "$TS_OUTPUT" 2>&1 +echo "ret: $?" >> "$TS_OUTPUT" ts_finalize_subtest ts_init_subtest "rfc5424_simple" $TS_HELPER_LOGGER -s --no-act -t "rfc5424" --rfc5424 "message" > "$TS_OUTPUT" 2>&1 +echo "ret: $?" >> "$TS_OUTPUT" ts_finalize_subtest ts_init_subtest "rfc5424_notime" $TS_HELPER_LOGGER -s --no-act -t "rfc5424" --rfc5424=notime "message" > "$TS_OUTPUT" 2>&1 +echo "ret: $?" >> "$TS_OUTPUT" ts_finalize_subtest ts_init_subtest "rfc5424_nohost" $TS_HELPER_LOGGER -s --no-act -t "rfc5424" --rfc5424=nohost "message" > "$TS_OUTPUT" 2>&1 +echo "ret: $?" >> "$TS_OUTPUT" ts_finalize_subtest ts_init_subtest "rfc5424_msgid" $TS_HELPER_LOGGER -s --no-act -t "rfc5424" --rfc5424 --msgid "MSGID" "message" > "$TS_OUTPUT" 2>&1 +echo "ret: $?" >> "$TS_OUTPUT" 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 $TS_HELPER_LOGGER -s --no-act -t "prio" -p "$facility.$level" "$facility.$level" >> "$TS_OUTPUT" 2>&1 + echo "ret: $?" >> "$TS_OUTPUT" done done ts_finalize_subtest |