summaryrefslogtreecommitdiffstats
path: root/tests/ts/column/table
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ts/column/table')
-rwxr-xr-xtests/ts/column/table12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ts/column/table b/tests/ts/column/table
index 5c89d5eaf..bd1f16f3f 100755
--- a/tests/ts/column/table
+++ b/tests/ts/column/table
@@ -40,6 +40,14 @@ ts_init_subtest "input-separator-space"
$TS_CMD_COLUMN --separator "$(echo -e '\t')" --table $TS_SELF/files/table-sep-space >> $TS_OUTPUT 2>&1
ts_finalize_subtest
+ts_init_subtest "empty-lines"
+$TS_CMD_COLUMN --table --table-empty-lines $TS_SELF/files/table-empty-lines >> $TS_OUTPUT 2>&1
+ts_finalize_subtest
+
+ts_init_subtest "noempty-lines"
+$TS_CMD_COLUMN --table $TS_SELF/files/table-empty-lines >> $TS_OUTPUT 2>&1
+ts_finalize_subtest
+
ts_init_subtest "long"
$TS_CMD_COLUMN --table $TS_SELF/files/mountinfo >> $TS_OUTPUT 2>&1
ts_finalize_subtest
@@ -104,4 +112,8 @@ $TS_CMD_COLUMN --table $TS_SELF/files/mountinfo \
>> $TS_OUTPUT 2>&1
ts_finalize_subtest
+ts_init_subtest "empty-column"
+printf ':a:b\n' | $TS_CMD_COLUMN --table --separator ':' --output-separator ':' >> $TS_OUTPUT 2>&1
+ts_finalize_subtest
+
ts_finalize