tests: column(1) test for space-char separator

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2018-02-12 14:19:47 +01:00
parent f2c3c3a14f
commit 1800de76ba
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,6 @@
AAA BBBB C DDDD
BBB CCCC DDD
AA BB DD
AAAA B CC D
AA CC DD
AAAAA BBB CCC DDDD

View File

@ -0,0 +1,6 @@
AAA BBBB C DDDD
BBB CCCC DDD
AA BB DD
AAAA B CC D
AA CC DD
AAAAA BBB CCC DDDD

View File

@ -36,6 +36,9 @@ ts_init_subtest "input-separator"
$TS_CMD_COLUMN --separator ',' --table $TS_SELF/files/table-sep >> $TS_OUTPUT 2>&1
ts_finalize_subtest
ts_init_subtest "input-separator-space"
$TS_CMD_COLUMN --separator ',' --table $TS_SELF/files/table-sep-space >> $TS_OUTPUT 2>&1
ts_finalize_subtest
ts_init_subtest "long"
$TS_CMD_COLUMN --table $TS_SELF/files/mountinfo >> $TS_OUTPUT 2>&1