diff options
author | Sami Kerola | 2015-10-04 00:39:33 +0200 |
---|---|---|
committer | Sami Kerola | 2016-02-02 18:27:28 +0100 |
commit | c1ca4fc10867e792fd431d06ccbd282b7353992e (patch) | |
tree | 3a97b7dbe6cd4e72c4f35bb18d7f06e84cdb496d /tests/expected/colcrt | |
parent | colcrt: reimplementation (diff) | |
download | kernel-qcow2-util-linux-c1ca4fc10867e792fd431d06ccbd282b7353992e.tar.gz kernel-qcow2-util-linux-c1ca4fc10867e792fd431d06ccbd282b7353992e.tar.xz kernel-qcow2-util-linux-c1ca4fc10867e792fd431d06ccbd282b7353992e.zip |
tests: update colcrt test expectations
The reimplementation caused output to change in some corner cases, such as
how binary inputs, long lines with underscores, and white space trimming,
are handled.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/expected/colcrt')
-rw-r--r-- | tests/expected/colcrt/functional-half-lines | 22 | ||||
-rw-r--r-- | tests/expected/colcrt/functional-no-options | 20 | ||||
-rw-r--r-- | tests/expected/colcrt/functional-no-underlining | 16 | ||||
-rw-r--r-- | tests/expected/colcrt/functional-short-options | 18 | ||||
-rw-r--r-- | tests/expected/colcrt/regressions-crash1 | 1 | ||||
-rw-r--r-- | tests/expected/colcrt/regressions-crash2 | 392 |
6 files changed, 49 insertions, 420 deletions
diff --git a/tests/expected/colcrt/functional-half-lines b/tests/expected/colcrt/functional-half-lines index 07a85ab5f..a7957f884 100644 --- a/tests/expected/colcrt/functional-half-lines +++ b/tests/expected/colcrt/functional-half-lines @@ -1,9 +1,9 @@ - 100 + 100 - - 101 + 101 -- - 102 + 102 --- 103 x - -- @@ -11,9 +11,11 @@ 105 esc9 - 106 esc8 - 107 esc7 + + 107 esc + + 108 esc6 109 backspace @@ -27,18 +29,18 @@ 114 | | --- - 115 line longer than 132 characters line longer than 132 characters line longer than 132 characters line longer than 132 ch01234 - - - - - - - - - - - - - - - - - - - + 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 + 118 -)*+119/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^ `abcdefghijklmnopqrstuvwxyz{|}~ - - + 119 + - - 200 + 200 --- 201 abc diff --git a/tests/expected/colcrt/functional-no-options b/tests/expected/colcrt/functional-no-options index 3ee7c070b..4b41b07f8 100644 --- a/tests/expected/colcrt/functional-no-options +++ b/tests/expected/colcrt/functional-no-options @@ -1,16 +1,16 @@ - 100 + 100 - - 101 + 101 -- - 102 + 102 --- 103 x - -- 104 shift 105 esc9 - 106 esc8 - 107 esc7 + 107 esc + 108 esc6 109 backspace 110 tab tab 111 abc efg @@ -19,14 +19,14 @@ 113 | x | 114 | | --- - 115 line longer than 132 characters line longer than 132 characters line longer than 132 characters line longer than 132 ch01234 - - - - - - - - - - - - - - - - - - - + 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 + 118 + 119 + - + 200 --- 201 abc 202 abc diff --git a/tests/expected/colcrt/functional-no-underlining b/tests/expected/colcrt/functional-no-underlining index e0e877fe1..306734c4f 100644 --- a/tests/expected/colcrt/functional-no-underlining +++ b/tests/expected/colcrt/functional-no-underlining @@ -1,12 +1,12 @@ - 100 - 101 - 102 + 100 + 101 + 102 103 x 104 shift 105 esc9 - 106 esc8 - 107 esc7 + 107 esc + 108 esc6 109 backspace 110 tab tab 111 abc efg @@ -16,9 +16,9 @@ 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 + 118 + 119 + 200 201 abc 202 abc 203 a bc diff --git a/tests/expected/colcrt/functional-short-options b/tests/expected/colcrt/functional-short-options index 09a870e3f..bd2d44b61 100644 --- a/tests/expected/colcrt/functional-short-options +++ b/tests/expected/colcrt/functional-short-options @@ -1,9 +1,9 @@ - 100 + 100 - 101 + 101 - 102 + 102 103 x @@ -11,9 +11,11 @@ 105 esc9 - 106 esc8 - 107 esc7 + + 107 esc + + 108 esc6 109 backspace @@ -33,12 +35,12 @@ 117 next line ascii 0 - 127 - 118 + 118 -)*+119/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^ `abcdefghijklmnopqrstuvwxyz{|}~ + 119 - 200 + 200 201 abc diff --git a/tests/expected/colcrt/regressions-crash1 b/tests/expected/colcrt/regressions-crash1 index a221b56c3..67a7b1c99 100644 --- a/tests/expected/colcrt/regressions-crash1 +++ b/tests/expected/colcrt/regressions-crash1 @@ -1 +1,2 @@ + W U; U; D f U; D f D f > @W ]~ K- - ---- -- -- - -- -- ---- -- ---- -- - -- --- -- return value: 0 diff --git a/tests/expected/colcrt/regressions-crash2 b/tests/expected/colcrt/regressions-crash2 index a4472fa29..11ebf74a8 100644 --- a/tests/expected/colcrt/regressions-crash2 +++ b/tests/expected/colcrt/regressions-crash2 @@ -1,386 +1,10 @@ - - -FGHIKIJKN\| - -MN9| -XYZRnT RnTUV| NXP:w| +FGHIKIJKN\ +MN9| +XYZRnT RnTUV| NXP:w MN - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -'QRnTUVWXYZQRnTU| - -MN9| -| - -return value: 0 +'QRnTUVWXYZQRnTU +MN9| +XYZ nT RnTUV| NXP:w + - +MNOP.return value: 0 |