diff options
author | Karel Zak | 2016-09-16 13:49:37 +0200 |
---|---|---|
committer | Karel Zak | 2016-09-16 13:49:37 +0200 |
commit | 4a2b50f2384f8fb6cec941c1483d1c60003671ee (patch) | |
tree | 731d07a15960f48db262d73f903a26819e08ca3e /tests/ts/libsmartcols/fromfile | |
parent | tests: add libsmartcols JSON test (diff) | |
download | kernel-qcow2-util-linux-4a2b50f2384f8fb6cec941c1483d1c60003671ee.tar.gz kernel-qcow2-util-linux-4a2b50f2384f8fb6cec941c1483d1c60003671ee.tar.xz kernel-qcow2-util-linux-4a2b50f2384f8fb6cec941c1483d1c60003671ee.zip |
tests: add export and raw to libsmartcols test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/libsmartcols/fromfile')
-rwxr-xr-x | tests/ts/libsmartcols/fromfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/ts/libsmartcols/fromfile b/tests/ts/libsmartcols/fromfile index f9c270a70..c2796f777 100755 --- a/tests/ts/libsmartcols/fromfile +++ b/tests/ts/libsmartcols/fromfile @@ -203,5 +203,27 @@ $TESTPROG --nlines 10 \ >> $TS_OUTPUT 2>&1 ts_finalize_subtest +ts_init_subtest "raw" +$TESTPROG --nlines 10 --raw \ + --column $TS_SELF/files/col-name \ + --column $TS_SELF/files/col-number \ + --column $TS_SELF/files/col-trunc \ + $TS_SELF/files/data-string \ + $TS_SELF/files/data-number \ + $TS_SELF/files/data-string-long \ + >> $TS_OUTPUT 2>&1 +ts_finalize_subtest + +ts_init_subtest "export" +$TESTPROG --nlines 10 --export \ + --column $TS_SELF/files/col-name \ + --column $TS_SELF/files/col-number \ + --column $TS_SELF/files/col-trunc \ + $TS_SELF/files/data-string \ + $TS_SELF/files/data-number \ + $TS_SELF/files/data-string-long \ + >> $TS_OUTPUT 2>&1 +ts_finalize_subtest + ts_log "...done." ts_finalize |