summaryrefslogtreecommitdiffstats
path: root/tests/expected/column
Commit message (Collapse)AuthorAgeFilesLines
* column: fix outputing empty column at the end of lineYousong Zhou2019-07-292-0/+2
| | | | | | | | | | | | | The following commands manifests the problem. In old versions before commit 4762ae9d60 ("column: use libsmartcols for --table"), both of them should output with 2 "|" echo '||' | column -o '|' -s '|' -t echo '|| ' | column -o '|' -s '|' -t Fixes: 4762ae9d60 ("column: use libsmartcols for --table") Signed-off-by: Yousong Zhou <zhouyousong@yunionyun.com> Reviewed-by: Sami Kerola <kerolasa@iki.fi>
* tests: add column --table-empty-lines testKarel Zak2018-08-232-0/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add empty column testKarel Zak2018-06-041-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update column(1) space-separator testKarel Zak2018-03-271-6/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* column: fix leading space characters bugKarel Zak2018-03-271-1/+1
| | | | | | | | | | | | | | | | | | The bug has been introduced during column(1) rewrite. The function read_input() need to skip leading space only temporary to detect empty lines, but the rest of the code has to use the original buffer (line). I've tried to fix one of the symptoms by 5c7b67fbbf41c973ca8d49b1e8bdba22dbb917aa (alter), but this solution is unnecessary and too complex. Changes: * don't ignore leading space * remove unnecessary stuff introduced by 5c7b67fbbf41c973ca8d49b1e8bdba22dbb917aa * fix regression test with incorrect separator Addresses: https://github.com/karelzak/util-linux/issues/575 Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1560283 Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: column(1) test for space-char separatorKarel Zak2018-02-121-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: column(1) test non-space separator at begin of lineKarel Zak2018-02-121-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update columns test due to dda229c7b2b16a31fae8e99079ab4f4ae5bc8eacKarel Zak2017-11-221-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add tests for new column featuresKarel Zak2017-05-028-0/+348
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add column(1) table testKarel Zak2017-05-024-0/+18
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add column(1) columnate testKarel Zak2017-05-028-4/+18
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* column: inform user when multibyte conversion error occursSami Kerola2014-05-071-0/+1
| | | | | | | | | The column(1) read input until conversion error, and used incomplete input when outputing, that made at least me to wonder where the rest disappeared without explanation. IMHO it is better to fail immediately rather than do only half of the task. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: test column(1) with multiple input filesKarel Zak2011-05-261-0/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add column testsSami Kerola2011-05-192-0/+14
Very basic regression tests for the column(1) command. http://permalink.gmane.org/gmane.linux.utilities.util-linux-ng/4066 Signed-off-by: Sami Kerola <kerolasa@iki.fi>