summaryrefslogtreecommitdiffstats
path: root/tests/expected/logger
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:42:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:42:50 +0000
commit8cb83eee5a58b1fad74c34094ce3afb9e430b5a4 (patch)
treea9b2e7baeca1be40eb734371e3c8b11b02294497 /tests/expected/logger
parentInitial commit. (diff)
downloadutil-linux-upstream/2.33.1.tar.xz
util-linux-upstream/2.33.1.zip
Adding upstream version 2.33.1.upstream/2.33.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/expected/logger/errors-check_socket41
-rw-r--r--tests/expected/logger/errors-id_with_space10
-rw-r--r--tests/expected/logger/errors-invalid_prio2
-rw-r--r--tests/expected/logger/errors-invalid_socket2
-rw-r--r--tests/expected/logger/errors-kern_priority2
-rw-r--r--tests/expected/logger/errors-kern_priority_numeric2
-rw-r--r--tests/expected/logger/errors-multi-line4
-rw-r--r--tests/expected/logger/errors-rfc5424_exceed_size2
-rw-r--r--tests/expected/logger/errors-rfc5424_msgid_with_space2
-rw-r--r--tests/expected/logger/errors-tag_with_space4
-rw-r--r--tests/expected/logger/errors-tcp2
-rw-r--r--tests/expected/logger/formats-check_socket1
-rw-r--r--tests/expected/logger/formats-octet_counting2
-rw-r--r--tests/expected/logger/formats-priorities304
-rw-r--r--tests/expected/logger/formats-rfc31642
-rw-r--r--tests/expected/logger/formats-rfc5424_msgid2
-rw-r--r--tests/expected/logger/formats-rfc5424_nohost2
-rw-r--r--tests/expected/logger/formats-rfc5424_notime2
-rw-r--r--tests/expected/logger/formats-rfc5424_simple2
-rw-r--r--tests/expected/logger/input_empty_line3
-rw-r--r--tests/expected/logger/input_prio_prefix1
-rw-r--r--tests/expected/logger/input_simple1
-rw-r--r--tests/expected/logger/journald3
-rw-r--r--tests/expected/logger/options-check_socket1
-rw-r--r--tests/expected/logger/options-input_file_empty_line4
-rw-r--r--tests/expected/logger/options-input_file_prio_prefix2
-rw-r--r--tests/expected/logger/options-input_file_simple2
-rw-r--r--tests/expected/logger/options-input_file_skip_empty3
-rw-r--r--tests/expected/logger/options-log_pid2
-rw-r--r--tests/expected/logger/options-log_pid_define2
-rw-r--r--tests/expected/logger/options-log_pid_long2
-rw-r--r--tests/expected/logger/options-log_pid_no_arg2
-rw-r--r--tests/expected/logger/options-simple2
33 files changed, 420 insertions, 0 deletions
diff --git a/tests/expected/logger/errors-check_socket b/tests/expected/logger/errors-check_socket
new file mode 100644
index 0000000..bf02837
--- /dev/null
+++ b/tests/expected/logger/errors-check_socket
@@ -0,0 +1,41 @@
+Check written socket data of all subtests.
+socket data, kern_priority:
+<8>Feb 13 23:31:30 prio: message
+
+socket data, kern_priority_numeric:
+<8>Feb 13 23:31:30 prio: message
+
+socket data, invalid_prio:
+
+socket data, rfc5424_exceed_size:
+<13>1 2009-02-13T23:31:30.123456+00:00 test-hostname rfc5424_exceed_size - - [timeQuality tzKnown="1" isSynced="0"] abc
+
+socket data, id_with_space:
+
+socket data, id_with_space:
+
+socket data, id_with_space:
+
+socket data, id_with_space:
+<13>Feb 13 23:31:30 id_with_leading space[123]: message
+
+socket data, id_with_space:
+
+socket data, tag_with_space:
+<13>Feb 13 23:31:30 A B: tag_with_space
+
+socket data, tag_with_space:
+<13>1 2009-02-13T23:31:30.123456+00:00 test-hostname A B - - [timeQuality tzKnown="1" isSynced="0"] tag_with_space_rfc5424
+
+socket data, tcp:
+<13>Feb 13 23:31:30 tcp: message
+
+socket data, multi-line:
+<13>Feb 13 23:31:30 multi: AAA
+<13>Feb 13 23:31:30 multi: BBB
+<13>Feb 13 23:31:30 multi: CCC
+
+socket data, rfc5424_msgid_with_space:
+
+socket data, invalid_socket:
+
diff --git a/tests/expected/logger/errors-id_with_space b/tests/expected/logger/errors-id_with_space
new file mode 100644
index 0000000..0f3bc45
--- /dev/null
+++ b/tests/expected/logger/errors-id_with_space
@@ -0,0 +1,10 @@
+test_logger: failed to parse id: 'A B'
+ret: 1
+test_logger: failed to parse id: 'A B'
+ret: 1
+test_logger: failed to parse id: '1 23'
+ret: 1
+<13>Feb 13 23:31:30 id_with_leading space[123]: message
+ret: 0
+test_logger: failed to parse id: '123 '
+ret: 1
diff --git a/tests/expected/logger/errors-invalid_prio b/tests/expected/logger/errors-invalid_prio
new file mode 100644
index 0000000..7e3aa96
--- /dev/null
+++ b/tests/expected/logger/errors-invalid_prio
@@ -0,0 +1,2 @@
+test_logger: unknown priority name: 8
+ret: 1
diff --git a/tests/expected/logger/errors-invalid_socket b/tests/expected/logger/errors-invalid_socket
new file mode 100644
index 0000000..5720afa
--- /dev/null
+++ b/tests/expected/logger/errors-invalid_socket
@@ -0,0 +1,2 @@
+test_logger: socket /bad/boy: No such file or directory
+ret: 1
diff --git a/tests/expected/logger/errors-kern_priority b/tests/expected/logger/errors-kern_priority
new file mode 100644
index 0000000..5b372ab
--- /dev/null
+++ b/tests/expected/logger/errors-kern_priority
@@ -0,0 +1,2 @@
+<8>Feb 13 23:31:30 prio: message
+ret: 0
diff --git a/tests/expected/logger/errors-kern_priority_numeric b/tests/expected/logger/errors-kern_priority_numeric
new file mode 100644
index 0000000..5b372ab
--- /dev/null
+++ b/tests/expected/logger/errors-kern_priority_numeric
@@ -0,0 +1,2 @@
+<8>Feb 13 23:31:30 prio: message
+ret: 0
diff --git a/tests/expected/logger/errors-multi-line b/tests/expected/logger/errors-multi-line
new file mode 100644
index 0000000..5247589
--- /dev/null
+++ b/tests/expected/logger/errors-multi-line
@@ -0,0 +1,4 @@
+<13>Feb 13 23:31:30 multi: AAA
+<13>Feb 13 23:31:30 multi: BBB
+<13>Feb 13 23:31:30 multi: CCC
+ret: 0
diff --git a/tests/expected/logger/errors-rfc5424_exceed_size b/tests/expected/logger/errors-rfc5424_exceed_size
new file mode 100644
index 0000000..be205ed
--- /dev/null
+++ b/tests/expected/logger/errors-rfc5424_exceed_size
@@ -0,0 +1,2 @@
+<13>1 2009-02-13T23:31:30.123456+00:00 test-hostname rfc5424_exceed_size - - [timeQuality tzKnown="1" isSynced="0"] abc
+ret: 0
diff --git a/tests/expected/logger/errors-rfc5424_msgid_with_space b/tests/expected/logger/errors-rfc5424_msgid_with_space
new file mode 100644
index 0000000..ad8bd29
--- /dev/null
+++ b/tests/expected/logger/errors-rfc5424_msgid_with_space
@@ -0,0 +1,2 @@
+test_logger: --msgid cannot contain space
+ret: 1
diff --git a/tests/expected/logger/errors-tag_with_space b/tests/expected/logger/errors-tag_with_space
new file mode 100644
index 0000000..712bdcc
--- /dev/null
+++ b/tests/expected/logger/errors-tag_with_space
@@ -0,0 +1,4 @@
+<13>Feb 13 23:31:30 A B: tag_with_space
+ret: 0
+<13>1 2009-02-13T23:31:30.123456+00:00 test-hostname A B - - [timeQuality tzKnown="1" isSynced="0"] tag_with_space_rfc5424
+ret: 0
diff --git a/tests/expected/logger/errors-tcp b/tests/expected/logger/errors-tcp
new file mode 100644
index 0000000..f66dc99
--- /dev/null
+++ b/tests/expected/logger/errors-tcp
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 tcp: message
+ret: 0
diff --git a/tests/expected/logger/formats-check_socket b/tests/expected/logger/formats-check_socket
new file mode 100644
index 0000000..fa36c4e
--- /dev/null
+++ b/tests/expected/logger/formats-check_socket
@@ -0,0 +1 @@
+Check written socket data of all subtests.
diff --git a/tests/expected/logger/formats-octet_counting b/tests/expected/logger/formats-octet_counting
new file mode 100644
index 0000000..6b18824
--- /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/expected/logger/formats-priorities b/tests/expected/logger/formats-priorities
new file mode 100644
index 0000000..462e90f
--- /dev/null
+++ b/tests/expected/logger/formats-priorities
@@ -0,0 +1,304 @@
+<32>Feb 13 23:31:30 prio: auth.emerg
+ret: 0
+<33>Feb 13 23:31:30 prio: auth.alert
+ret: 0
+<34>Feb 13 23:31:30 prio: auth.crit
+ret: 0
+<35>Feb 13 23:31:30 prio: auth.err
+ret: 0
+<36>Feb 13 23:31:30 prio: auth.warning
+ret: 0
+<37>Feb 13 23:31:30 prio: auth.notice
+ret: 0
+<38>Feb 13 23:31:30 prio: auth.info
+ret: 0
+<39>Feb 13 23:31:30 prio: auth.debug
+ret: 0
+<80>Feb 13 23:31:30 prio: authpriv.emerg
+ret: 0
+<81>Feb 13 23:31:30 prio: authpriv.alert
+ret: 0
+<82>Feb 13 23:31:30 prio: authpriv.crit
+ret: 0
+<83>Feb 13 23:31:30 prio: authpriv.err
+ret: 0
+<84>Feb 13 23:31:30 prio: authpriv.warning
+ret: 0
+<85>Feb 13 23:31:30 prio: authpriv.notice
+ret: 0
+<86>Feb 13 23:31:30 prio: authpriv.info
+ret: 0
+<87>Feb 13 23:31:30 prio: authpriv.debug
+ret: 0
+<72>Feb 13 23:31:30 prio: cron.emerg
+ret: 0
+<73>Feb 13 23:31:30 prio: cron.alert
+ret: 0
+<74>Feb 13 23:31:30 prio: cron.crit
+ret: 0
+<75>Feb 13 23:31:30 prio: cron.err
+ret: 0
+<76>Feb 13 23:31:30 prio: cron.warning
+ret: 0
+<77>Feb 13 23:31:30 prio: cron.notice
+ret: 0
+<78>Feb 13 23:31:30 prio: cron.info
+ret: 0
+<79>Feb 13 23:31:30 prio: cron.debug
+ret: 0
+<24>Feb 13 23:31:30 prio: daemon.emerg
+ret: 0
+<25>Feb 13 23:31:30 prio: daemon.alert
+ret: 0
+<26>Feb 13 23:31:30 prio: daemon.crit
+ret: 0
+<27>Feb 13 23:31:30 prio: daemon.err
+ret: 0
+<28>Feb 13 23:31:30 prio: daemon.warning
+ret: 0
+<29>Feb 13 23:31:30 prio: daemon.notice
+ret: 0
+<30>Feb 13 23:31:30 prio: daemon.info
+ret: 0
+<31>Feb 13 23:31:30 prio: daemon.debug
+ret: 0
+<88>Feb 13 23:31:30 prio: ftp.emerg
+ret: 0
+<89>Feb 13 23:31:30 prio: ftp.alert
+ret: 0
+<90>Feb 13 23:31:30 prio: ftp.crit
+ret: 0
+<91>Feb 13 23:31:30 prio: ftp.err
+ret: 0
+<92>Feb 13 23:31:30 prio: ftp.warning
+ret: 0
+<93>Feb 13 23:31:30 prio: ftp.notice
+ret: 0
+<94>Feb 13 23:31:30 prio: ftp.info
+ret: 0
+<95>Feb 13 23:31:30 prio: ftp.debug
+ret: 0
+<48>Feb 13 23:31:30 prio: lpr.emerg
+ret: 0
+<49>Feb 13 23:31:30 prio: lpr.alert
+ret: 0
+<50>Feb 13 23:31:30 prio: lpr.crit
+ret: 0
+<51>Feb 13 23:31:30 prio: lpr.err
+ret: 0
+<52>Feb 13 23:31:30 prio: lpr.warning
+ret: 0
+<53>Feb 13 23:31:30 prio: lpr.notice
+ret: 0
+<54>Feb 13 23:31:30 prio: lpr.info
+ret: 0
+<55>Feb 13 23:31:30 prio: lpr.debug
+ret: 0
+<16>Feb 13 23:31:30 prio: mail.emerg
+ret: 0
+<17>Feb 13 23:31:30 prio: mail.alert
+ret: 0
+<18>Feb 13 23:31:30 prio: mail.crit
+ret: 0
+<19>Feb 13 23:31:30 prio: mail.err
+ret: 0
+<20>Feb 13 23:31:30 prio: mail.warning
+ret: 0
+<21>Feb 13 23:31:30 prio: mail.notice
+ret: 0
+<22>Feb 13 23:31:30 prio: mail.info
+ret: 0
+<23>Feb 13 23:31:30 prio: mail.debug
+ret: 0
+<56>Feb 13 23:31:30 prio: news.emerg
+ret: 0
+<57>Feb 13 23:31:30 prio: news.alert
+ret: 0
+<58>Feb 13 23:31:30 prio: news.crit
+ret: 0
+<59>Feb 13 23:31:30 prio: news.err
+ret: 0
+<60>Feb 13 23:31:30 prio: news.warning
+ret: 0
+<61>Feb 13 23:31:30 prio: news.notice
+ret: 0
+<62>Feb 13 23:31:30 prio: news.info
+ret: 0
+<63>Feb 13 23:31:30 prio: news.debug
+ret: 0
+<40>Feb 13 23:31:30 prio: syslog.emerg
+ret: 0
+<41>Feb 13 23:31:30 prio: syslog.alert
+ret: 0
+<42>Feb 13 23:31:30 prio: syslog.crit
+ret: 0
+<43>Feb 13 23:31:30 prio: syslog.err
+ret: 0
+<44>Feb 13 23:31:30 prio: syslog.warning
+ret: 0
+<45>Feb 13 23:31:30 prio: syslog.notice
+ret: 0
+<46>Feb 13 23:31:30 prio: syslog.info
+ret: 0
+<47>Feb 13 23:31:30 prio: syslog.debug
+ret: 0
+<8>Feb 13 23:31:30 prio: user.emerg
+ret: 0
+<9>Feb 13 23:31:30 prio: user.alert
+ret: 0
+<10>Feb 13 23:31:30 prio: user.crit
+ret: 0
+<11>Feb 13 23:31:30 prio: user.err
+ret: 0
+<12>Feb 13 23:31:30 prio: user.warning
+ret: 0
+<13>Feb 13 23:31:30 prio: user.notice
+ret: 0
+<14>Feb 13 23:31:30 prio: user.info
+ret: 0
+<15>Feb 13 23:31:30 prio: user.debug
+ret: 0
+<64>Feb 13 23:31:30 prio: uucp.emerg
+ret: 0
+<65>Feb 13 23:31:30 prio: uucp.alert
+ret: 0
+<66>Feb 13 23:31:30 prio: uucp.crit
+ret: 0
+<67>Feb 13 23:31:30 prio: uucp.err
+ret: 0
+<68>Feb 13 23:31:30 prio: uucp.warning
+ret: 0
+<69>Feb 13 23:31:30 prio: uucp.notice
+ret: 0
+<70>Feb 13 23:31:30 prio: uucp.info
+ret: 0
+<71>Feb 13 23:31:30 prio: uucp.debug
+ret: 0
+<128>Feb 13 23:31:30 prio: local0.emerg
+ret: 0
+<129>Feb 13 23:31:30 prio: local0.alert
+ret: 0
+<130>Feb 13 23:31:30 prio: local0.crit
+ret: 0
+<131>Feb 13 23:31:30 prio: local0.err
+ret: 0
+<132>Feb 13 23:31:30 prio: local0.warning
+ret: 0
+<133>Feb 13 23:31:30 prio: local0.notice
+ret: 0
+<134>Feb 13 23:31:30 prio: local0.info
+ret: 0
+<135>Feb 13 23:31:30 prio: local0.debug
+ret: 0
+<136>Feb 13 23:31:30 prio: local1.emerg
+ret: 0
+<137>Feb 13 23:31:30 prio: local1.alert
+ret: 0
+<138>Feb 13 23:31:30 prio: local1.crit
+ret: 0
+<139>Feb 13 23:31:30 prio: local1.err
+ret: 0
+<140>Feb 13 23:31:30 prio: local1.warning
+ret: 0
+<141>Feb 13 23:31:30 prio: local1.notice
+ret: 0
+<142>Feb 13 23:31:30 prio: local1.info
+ret: 0
+<143>Feb 13 23:31:30 prio: local1.debug
+ret: 0
+<144>Feb 13 23:31:30 prio: local2.emerg
+ret: 0
+<145>Feb 13 23:31:30 prio: local2.alert
+ret: 0
+<146>Feb 13 23:31:30 prio: local2.crit
+ret: 0
+<147>Feb 13 23:31:30 prio: local2.err
+ret: 0
+<148>Feb 13 23:31:30 prio: local2.warning
+ret: 0
+<149>Feb 13 23:31:30 prio: local2.notice
+ret: 0
+<150>Feb 13 23:31:30 prio: local2.info
+ret: 0
+<151>Feb 13 23:31:30 prio: local2.debug
+ret: 0
+<152>Feb 13 23:31:30 prio: local3.emerg
+ret: 0
+<153>Feb 13 23:31:30 prio: local3.alert
+ret: 0
+<154>Feb 13 23:31:30 prio: local3.crit
+ret: 0
+<155>Feb 13 23:31:30 prio: local3.err
+ret: 0
+<156>Feb 13 23:31:30 prio: local3.warning
+ret: 0
+<157>Feb 13 23:31:30 prio: local3.notice
+ret: 0
+<158>Feb 13 23:31:30 prio: local3.info
+ret: 0
+<159>Feb 13 23:31:30 prio: local3.debug
+ret: 0
+<160>Feb 13 23:31:30 prio: local4.emerg
+ret: 0
+<161>Feb 13 23:31:30 prio: local4.alert
+ret: 0
+<162>Feb 13 23:31:30 prio: local4.crit
+ret: 0
+<163>Feb 13 23:31:30 prio: local4.err
+ret: 0
+<164>Feb 13 23:31:30 prio: local4.warning
+ret: 0
+<165>Feb 13 23:31:30 prio: local4.notice
+ret: 0
+<166>Feb 13 23:31:30 prio: local4.info
+ret: 0
+<167>Feb 13 23:31:30 prio: local4.debug
+ret: 0
+<168>Feb 13 23:31:30 prio: local5.emerg
+ret: 0
+<169>Feb 13 23:31:30 prio: local5.alert
+ret: 0
+<170>Feb 13 23:31:30 prio: local5.crit
+ret: 0
+<171>Feb 13 23:31:30 prio: local5.err
+ret: 0
+<172>Feb 13 23:31:30 prio: local5.warning
+ret: 0
+<173>Feb 13 23:31:30 prio: local5.notice
+ret: 0
+<174>Feb 13 23:31:30 prio: local5.info
+ret: 0
+<175>Feb 13 23:31:30 prio: local5.debug
+ret: 0
+<176>Feb 13 23:31:30 prio: local6.emerg
+ret: 0
+<177>Feb 13 23:31:30 prio: local6.alert
+ret: 0
+<178>Feb 13 23:31:30 prio: local6.crit
+ret: 0
+<179>Feb 13 23:31:30 prio: local6.err
+ret: 0
+<180>Feb 13 23:31:30 prio: local6.warning
+ret: 0
+<181>Feb 13 23:31:30 prio: local6.notice
+ret: 0
+<182>Feb 13 23:31:30 prio: local6.info
+ret: 0
+<183>Feb 13 23:31:30 prio: local6.debug
+ret: 0
+<184>Feb 13 23:31:30 prio: local7.emerg
+ret: 0
+<185>Feb 13 23:31:30 prio: local7.alert
+ret: 0
+<186>Feb 13 23:31:30 prio: local7.crit
+ret: 0
+<187>Feb 13 23:31:30 prio: local7.err
+ret: 0
+<188>Feb 13 23:31:30 prio: local7.warning
+ret: 0
+<189>Feb 13 23:31:30 prio: local7.notice
+ret: 0
+<190>Feb 13 23:31:30 prio: local7.info
+ret: 0
+<191>Feb 13 23:31:30 prio: local7.debug
+ret: 0
diff --git a/tests/expected/logger/formats-rfc3164 b/tests/expected/logger/formats-rfc3164
new file mode 100644
index 0000000..2ab9fd5
--- /dev/null
+++ b/tests/expected/logger/formats-rfc3164
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test-hostname rfc3164: message
+ret: 0
diff --git a/tests/expected/logger/formats-rfc5424_msgid b/tests/expected/logger/formats-rfc5424_msgid
new file mode 100644
index 0000000..755e97b
--- /dev/null
+++ b/tests/expected/logger/formats-rfc5424_msgid
@@ -0,0 +1,2 @@
+<13>1 2009-02-13T23:31:30.123456+00:00 test-hostname rfc5424 - MSGID [timeQuality tzKnown="1" isSynced="0"] message
+ret: 0
diff --git a/tests/expected/logger/formats-rfc5424_nohost b/tests/expected/logger/formats-rfc5424_nohost
new file mode 100644
index 0000000..30ed025
--- /dev/null
+++ b/tests/expected/logger/formats-rfc5424_nohost
@@ -0,0 +1,2 @@
+<13>1 2009-02-13T23:31:30.123456+00:00 - rfc5424 - - [timeQuality tzKnown="1" isSynced="0"] message
+ret: 0
diff --git a/tests/expected/logger/formats-rfc5424_notime b/tests/expected/logger/formats-rfc5424_notime
new file mode 100644
index 0000000..d9c96f3
--- /dev/null
+++ b/tests/expected/logger/formats-rfc5424_notime
@@ -0,0 +1,2 @@
+<13>1 - test-hostname rfc5424 - - - message
+ret: 0
diff --git a/tests/expected/logger/formats-rfc5424_simple b/tests/expected/logger/formats-rfc5424_simple
new file mode 100644
index 0000000..90e5a34
--- /dev/null
+++ b/tests/expected/logger/formats-rfc5424_simple
@@ -0,0 +1,2 @@
+<13>1 2009-02-13T23:31:30.123456+00:00 test-hostname rfc5424 - - [timeQuality tzKnown="1" isSynced="0"] message
+ret: 0
diff --git a/tests/expected/logger/input_empty_line b/tests/expected/logger/input_empty_line
new file mode 100644
index 0000000..78578ae
--- /dev/null
+++ b/tests/expected/logger/input_empty_line
@@ -0,0 +1,3 @@
+a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5
+
+5{c..1} 4{c..1} 3{c..1} 2{c..1} 1{c..1}
diff --git a/tests/expected/logger/input_prio_prefix b/tests/expected/logger/input_prio_prefix
new file mode 100644
index 0000000..25a5f54
--- /dev/null
+++ b/tests/expected/logger/input_prio_prefix
@@ -0,0 +1 @@
+<66> prio_prefix
diff --git a/tests/expected/logger/input_simple b/tests/expected/logger/input_simple
new file mode 100644
index 0000000..9e5c66d
--- /dev/null
+++ b/tests/expected/logger/input_simple
@@ -0,0 +1 @@
+a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5
diff --git a/tests/expected/logger/journald b/tests/expected/logger/journald
new file mode 100644
index 0000000..354628d
--- /dev/null
+++ b/tests/expected/logger/journald
@@ -0,0 +1,3 @@
+MESSAGE_ID=b8f74e14bc714bfc8040a5106dc9376a
+MESSAGE=a b c 1 2 3
+ret: 0
diff --git a/tests/expected/logger/options-check_socket b/tests/expected/logger/options-check_socket
new file mode 100644
index 0000000..fa36c4e
--- /dev/null
+++ b/tests/expected/logger/options-check_socket
@@ -0,0 +1 @@
+Check written socket data of all subtests.
diff --git a/tests/expected/logger/options-input_file_empty_line b/tests/expected/logger/options-input_file_empty_line
new file mode 100644
index 0000000..d276e3c
--- /dev/null
+++ b/tests/expected/logger/options-input_file_empty_line
@@ -0,0 +1,4 @@
+<13>Feb 13 23:31:30 test_tag: a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5
+<13>Feb 13 23:31:30 test_tag:
+<13>Feb 13 23:31:30 test_tag: 5{c..1} 4{c..1} 3{c..1} 2{c..1} 1{c..1}
+ret: 0
diff --git a/tests/expected/logger/options-input_file_prio_prefix b/tests/expected/logger/options-input_file_prio_prefix
new file mode 100644
index 0000000..df69bb9
--- /dev/null
+++ b/tests/expected/logger/options-input_file_prio_prefix
@@ -0,0 +1,2 @@
+<66>Feb 13 23:31:30 test_tag: prio_prefix
+ret: 0
diff --git a/tests/expected/logger/options-input_file_simple b/tests/expected/logger/options-input_file_simple
new file mode 100644
index 0000000..d855247
--- /dev/null
+++ b/tests/expected/logger/options-input_file_simple
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test_tag: a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5
+ret: 0
diff --git a/tests/expected/logger/options-input_file_skip_empty b/tests/expected/logger/options-input_file_skip_empty
new file mode 100644
index 0000000..277c186
--- /dev/null
+++ b/tests/expected/logger/options-input_file_skip_empty
@@ -0,0 +1,3 @@
+<13>Feb 13 23:31:30 test_tag: a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5
+<13>Feb 13 23:31:30 test_tag: 5{c..1} 4{c..1} 3{c..1} 2{c..1} 1{c..1}
+ret: 0
diff --git a/tests/expected/logger/options-log_pid b/tests/expected/logger/options-log_pid
new file mode 100644
index 0000000..47a0147
--- /dev/null
+++ b/tests/expected/logger/options-log_pid
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test_tag[98765]: test
+ret: 0
diff --git a/tests/expected/logger/options-log_pid_define b/tests/expected/logger/options-log_pid_define
new file mode 100644
index 0000000..e47b875
--- /dev/null
+++ b/tests/expected/logger/options-log_pid_define
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test_tag[12345]: test
+ret: 0
diff --git a/tests/expected/logger/options-log_pid_long b/tests/expected/logger/options-log_pid_long
new file mode 100644
index 0000000..47a0147
--- /dev/null
+++ b/tests/expected/logger/options-log_pid_long
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test_tag[98765]: test
+ret: 0
diff --git a/tests/expected/logger/options-log_pid_no_arg b/tests/expected/logger/options-log_pid_no_arg
new file mode 100644
index 0000000..47a0147
--- /dev/null
+++ b/tests/expected/logger/options-log_pid_no_arg
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test_tag[98765]: test
+ret: 0
diff --git a/tests/expected/logger/options-simple b/tests/expected/logger/options-simple
new file mode 100644
index 0000000..2fa18e0
--- /dev/null
+++ b/tests/expected/logger/options-simple
@@ -0,0 +1,2 @@
+<13>Feb 13 23:31:30 test_tag: test
+ret: 0