summaryrefslogtreecommitdiffstats
path: root/tests/expected/logger
diff options
context:
space:
mode:
authorSami Kerola2015-03-15 13:54:50 +0100
committerKarel Zak2015-03-16 14:08:43 +0100
commit81ff52b32225a2a2aa3f926357aafab866aa0bc3 (patch)
treec452787bb08cfa57483f1a078b41af04d72af3c0 /tests/expected/logger
parentlogger: add -DTEST_LOGGER (diff)
downloadkernel-qcow2-util-linux-81ff52b32225a2a2aa3f926357aafab866aa0bc3.tar.gz
kernel-qcow2-util-linux-81ff52b32225a2a2aa3f926357aafab866aa0bc3.tar.xz
kernel-qcow2-util-linux-81ff52b32225a2a2aa3f926357aafab866aa0bc3.zip
tests: add logger(1) command line options tests
[kzak@redhat.com: - use LOGGER_TEST_* env] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/logger')
-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/options0
-rw-r--r--tests/expected/logger/options-input_file_empty_line3
-rw-r--r--tests/expected/logger/options-input_file_prio_prefix1
-rw-r--r--tests/expected/logger/options-input_file_simple1
-rw-r--r--tests/expected/logger/options-input_file_skip_empty2
-rw-r--r--tests/expected/logger/options-log_pid1
-rw-r--r--tests/expected/logger/options-log_pid_define1
-rw-r--r--tests/expected/logger/options-log_pid_long1
-rw-r--r--tests/expected/logger/options-log_pid_no_arg1
-rw-r--r--tests/expected/logger/options-simple1
13 files changed, 17 insertions, 0 deletions
diff --git a/tests/expected/logger/input_empty_line b/tests/expected/logger/input_empty_line
new file mode 100644
index 000000000..78578aeb8
--- /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 000000000..25a5f54d5
--- /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 000000000..9e5c66d1e
--- /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/options b/tests/expected/logger/options
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/expected/logger/options
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 000000000..a10fd1c1b
--- /dev/null
+++ b/tests/expected/logger/options-input_file_empty_line
@@ -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:
+<13>Feb 13 23:31:30 test_tag: 5{c..1} 4{c..1} 3{c..1} 2{c..1} 1{c..1}
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 000000000..b0f978512
--- /dev/null
+++ b/tests/expected/logger/options-input_file_prio_prefix
@@ -0,0 +1 @@
+<66>Feb 13 23:31:30 test_tag: prio_prefix
diff --git a/tests/expected/logger/options-input_file_simple b/tests/expected/logger/options-input_file_simple
new file mode 100644
index 000000000..e8a2ca86e
--- /dev/null
+++ b/tests/expected/logger/options-input_file_simple
@@ -0,0 +1 @@
+<13>Feb 13 23:31:30 test_tag: a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 c1 c2 c3 c4 c5
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 000000000..cdbe87a2c
--- /dev/null
+++ b/tests/expected/logger/options-input_file_skip_empty
@@ -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
+<13>Feb 13 23:31:30 test_tag: 5{c..1} 4{c..1} 3{c..1} 2{c..1} 1{c..1}
diff --git a/tests/expected/logger/options-log_pid b/tests/expected/logger/options-log_pid
new file mode 100644
index 000000000..d21ecd4fd
--- /dev/null
+++ b/tests/expected/logger/options-log_pid
@@ -0,0 +1 @@
+<13>Feb 13 23:31:30 test_tag[98765]: test
diff --git a/tests/expected/logger/options-log_pid_define b/tests/expected/logger/options-log_pid_define
new file mode 100644
index 000000000..14024b123
--- /dev/null
+++ b/tests/expected/logger/options-log_pid_define
@@ -0,0 +1 @@
+<13>Feb 13 23:31:30 test_tag[12345]: test
diff --git a/tests/expected/logger/options-log_pid_long b/tests/expected/logger/options-log_pid_long
new file mode 100644
index 000000000..d21ecd4fd
--- /dev/null
+++ b/tests/expected/logger/options-log_pid_long
@@ -0,0 +1 @@
+<13>Feb 13 23:31:30 test_tag[98765]: test
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 000000000..d21ecd4fd
--- /dev/null
+++ b/tests/expected/logger/options-log_pid_no_arg
@@ -0,0 +1 @@
+<13>Feb 13 23:31:30 test_tag[98765]: test
diff --git a/tests/expected/logger/options-simple b/tests/expected/logger/options-simple
new file mode 100644
index 000000000..1d0c3a082
--- /dev/null
+++ b/tests/expected/logger/options-simple
@@ -0,0 +1 @@
+<13>Feb 13 23:31:30 test_tag: test