summaryrefslogtreecommitdiffstats
path: root/tests/expected/colcrt
diff options
context:
space:
mode:
authorSami Kerola2015-09-22 11:40:13 +0200
committerSami Kerola2016-02-02 18:27:28 +0100
commit5abd5d8aec088d097bc82cab805560672bc97ec1 (patch)
tree4ebbd518f3f1d5b598ae2496d785da2590e66152 /tests/expected/colcrt
parentsfdisk: make --quiet really quiet (diff)
downloadkernel-qcow2-util-linux-5abd5d8aec088d097bc82cab805560672bc97ec1.tar.gz
kernel-qcow2-util-linux-5abd5d8aec088d097bc82cab805560672bc97ec1.tar.xz
kernel-qcow2-util-linux-5abd5d8aec088d097bc82cab805560672bc97ec1.zip
tests: add colcrt functional tests
Output formats are based on colcrt before recent asan fixes and magic constant replace, that are the commits ee24ab6f1..70e3fcf29. It seems the fixes caused unintentional, and not detected change to output format - which to me means colcrt has a regression that got to be part of release v2.27. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/expected/colcrt')
-rw-r--r--tests/expected/colcrt/functional0
-rw-r--r--tests/expected/colcrt/functional-half-lines87
-rw-r--r--tests/expected/colcrt/functional-no-options74
-rw-r--r--tests/expected/colcrt/functional-no-underlining44
-rw-r--r--tests/expected/colcrt/functional-short-options87
-rw-r--r--tests/expected/colcrt/regressions0
6 files changed, 292 insertions, 0 deletions
diff --git a/tests/expected/colcrt/functional b/tests/expected/colcrt/functional
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/expected/colcrt/functional
diff --git a/tests/expected/colcrt/functional-half-lines b/tests/expected/colcrt/functional-half-lines
new file mode 100644
index 000000000..07a85ab5f
--- /dev/null
+++ b/tests/expected/colcrt/functional-half-lines
@@ -0,0 +1,87 @@
+
+ 100
+ -
+ 101
+ --
+ 102
+ ---
+ 103 x
+ - --
+ 104 shift
+
+ 105 esc9
+
+
+ 106 esc8
+ 107 esc7
+
+ 109 backspace
+
+ 110 tab tab
+
+ 111 abc efg
+ - -
+ 112 |---|
+
+ 113 | x |
+
+ 114 | |
+ ---
+ 115 line longer than 132 characters line longer than 132 characters line longer than 132 characters line longer than 132 ch01234 - - - - - - - - - - - - - - - - - - -
+ - - - - - - - - - - - - - - - - - - -
+ 116 nulls
+
+ 117 next line ascii 0 - 127
+
+ 118
+
+)*+119/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^ `abcdefghijklmnopqrstuvwxyz{|}~
+ -
+
+ 200
+ ---
+ 201 abc
+
+ 202 abc
+ -
+ 203 a bc
+ -
+ 204 ab c
+ -
+ 205 abc
+ -
+ 206 abc
+ --
+ 207 a bc
+ --
+ 208 ab c
+ --
+ 209 abc
+ --
+ 210 a bc
+ - -
+ 211 ab c
+ - -
+ 212 a b c
+ - -
+ 213 a bc
+ --
+ 214 a bc
+ - -
+ 215 abc
+ --
+ 216 abc
+ - -
+ 217 a b c
+ - - -
+ 218 a bc
+ - --
+ 219 a bc
+ -- -
+ 220 abc
+ - --
+ 221 abc
+ ---
+ 222 abc
+ ---
+return value: 0
diff --git a/tests/expected/colcrt/functional-no-options b/tests/expected/colcrt/functional-no-options
new file mode 100644
index 000000000..3ee7c070b
--- /dev/null
+++ b/tests/expected/colcrt/functional-no-options
@@ -0,0 +1,74 @@
+ 100
+ -
+ 101
+ --
+ 102
+ ---
+ 103 x
+ - --
+ 104 shift
+ 105 esc9
+
+ 106 esc8
+ 107 esc7
+ 109 backspace
+ 110 tab tab
+ 111 abc efg
+ - -
+ 112 |---|
+ 113 | x |
+ 114 | |
+ ---
+ 115 line longer than 132 characters line longer than 132 characters line longer than 132 characters line longer than 132 ch01234 - - - - - - - - - - - - - - - - - - -
+ - - - - - - - - - - - - - - - - - - -
+ 116 nulls
+ 117 next line ascii 0 - 127
+ 118
+)*+119/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^ `abcdefghijklmnopqrstuvwxyz{|}~
+ -
+ 200
+ ---
+ 201 abc
+ 202 abc
+ -
+ 203 a bc
+ -
+ 204 ab c
+ -
+ 205 abc
+ -
+ 206 abc
+ --
+ 207 a bc
+ --
+ 208 ab c
+ --
+ 209 abc
+ --
+ 210 a bc
+ - -
+ 211 ab c
+ - -
+ 212 a b c
+ - -
+ 213 a bc
+ --
+ 214 a bc
+ - -
+ 215 abc
+ --
+ 216 abc
+ - -
+ 217 a b c
+ - - -
+ 218 a bc
+ - --
+ 219 a bc
+ -- -
+ 220 abc
+ - --
+ 221 abc
+ ---
+ 222 abc
+ ---
+return value: 0
diff --git a/tests/expected/colcrt/functional-no-underlining b/tests/expected/colcrt/functional-no-underlining
new file mode 100644
index 000000000..e0e877fe1
--- /dev/null
+++ b/tests/expected/colcrt/functional-no-underlining
@@ -0,0 +1,44 @@
+ 100
+ 101
+ 102
+ 103 x
+ 104 shift
+ 105 esc9
+
+ 106 esc8
+ 107 esc7
+ 109 backspace
+ 110 tab tab
+ 111 abc efg
+ 112 |---|
+ 113 | x |
+ 114 | |
+ 115 line longer than 132 characters line longer than 132 characters line longer than 132 characters line longer than 132 ch01234
+ 116 nulls
+ 117 next line ascii 0 - 127
+ 118
+)*+119/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^ `abcdefghijklmnopqrstuvwxyz{|}~
+ 200
+ 201 abc
+ 202 abc
+ 203 a bc
+ 204 ab c
+ 205 abc
+ 206 abc
+ 207 a bc
+ 208 ab c
+ 209 abc
+ 210 a bc
+ 211 ab c
+ 212 a b c
+ 213 a bc
+ 214 a bc
+ 215 abc
+ 216 abc
+ 217 a b c
+ 218 a bc
+ 219 a bc
+ 220 abc
+ 221 abc
+ 222 abc
+return value: 0
diff --git a/tests/expected/colcrt/functional-short-options b/tests/expected/colcrt/functional-short-options
new file mode 100644
index 000000000..09a870e3f
--- /dev/null
+++ b/tests/expected/colcrt/functional-short-options
@@ -0,0 +1,87 @@
+
+ 100
+
+ 101
+
+ 102
+
+ 103 x
+
+ 104 shift
+
+ 105 esc9
+
+
+ 106 esc8
+ 107 esc7
+
+ 109 backspace
+
+ 110 tab tab
+
+ 111 abc efg
+
+ 112 |---|
+
+ 113 | x |
+
+ 114 | |
+
+ 115 line longer than 132 characters line longer than 132 characters line longer than 132 characters line longer than 132 ch01234
+
+ 116 nulls
+
+ 117 next line ascii 0 - 127
+
+ 118
+
+)*+119/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^ `abcdefghijklmnopqrstuvwxyz{|}~
+
+
+ 200
+
+ 201 abc
+
+ 202 abc
+
+ 203 a bc
+
+ 204 ab c
+
+ 205 abc
+
+ 206 abc
+
+ 207 a bc
+
+ 208 ab c
+
+ 209 abc
+
+ 210 a bc
+
+ 211 ab c
+
+ 212 a b c
+
+ 213 a bc
+
+ 214 a bc
+
+ 215 abc
+
+ 216 abc
+
+ 217 a b c
+
+ 218 a bc
+
+ 219 a bc
+
+ 220 abc
+
+ 221 abc
+
+ 222 abc
+
+return value: 0
diff --git a/tests/expected/colcrt/regressions b/tests/expected/colcrt/regressions
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/expected/colcrt/regressions