]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: add tree libsmartcols test files
authorKarel Zak <kzak@redhat.com>
Thu, 15 Sep 2016 10:25:08 +0000 (12:25 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 15 Sep 2016 10:25:08 +0000 (12:25 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/libsmartcols/fromfile-tree [new file with mode: 0644]
tests/ts/libsmartcols/files/col-id [new file with mode: 0644]
tests/ts/libsmartcols/files/col-parent [new file with mode: 0644]
tests/ts/libsmartcols/files/col-tree [new file with mode: 0644]
tests/ts/libsmartcols/files/data-id [new file with mode: 0644]
tests/ts/libsmartcols/files/data-parent [new file with mode: 0644]

diff --git a/tests/expected/libsmartcols/fromfile-tree b/tests/expected/libsmartcols/fromfile-tree
new file mode 100644 (file)
index 0000000..9d345f8
--- /dev/null
@@ -0,0 +1,11 @@
+TREE           ID PARENT STRINGS
+aaaa            1      0 qqqqqqqqqqqqqqqqqX
+|-bbb           2      1 dddddddddddddX
+| |-ee          5      2 ddddddddddddddddddddddddddX
+| `-ffff        6      2 jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjX
+|-ccccc         3      1 ffffffffffffffffffffffffffffffffffffffffX
+| `-gggggg      7      3 mmmmmmmmmmmmmmmmmmmX
+|   |-hhh       8      7 lllllllllllllllllllllllllllllllllllllX
+|   | `-iiiiii  9      8 yyyyyyyyyyyyyyyyyyyyyyyyyyyyX
+|   `-jj       10      7 pppppppppX
+`-dddddd        4      1 ssssssssssX
diff --git a/tests/ts/libsmartcols/files/col-id b/tests/ts/libsmartcols/files/col-id
new file mode 100644 (file)
index 0000000..0188f42
--- /dev/null
@@ -0,0 +1,3 @@
+ID
+0
+right
diff --git a/tests/ts/libsmartcols/files/col-parent b/tests/ts/libsmartcols/files/col-parent
new file mode 100644 (file)
index 0000000..86fe08c
--- /dev/null
@@ -0,0 +1,3 @@
+PARENT
+0
+right
diff --git a/tests/ts/libsmartcols/files/col-tree b/tests/ts/libsmartcols/files/col-tree
new file mode 100644 (file)
index 0000000..5076880
--- /dev/null
@@ -0,0 +1,3 @@
+TREE
+0
+tree
diff --git a/tests/ts/libsmartcols/files/data-id b/tests/ts/libsmartcols/files/data-id
new file mode 100644 (file)
index 0000000..f00c965
--- /dev/null
@@ -0,0 +1,10 @@
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
diff --git a/tests/ts/libsmartcols/files/data-parent b/tests/ts/libsmartcols/files/data-parent
new file mode 100644 (file)
index 0000000..aa50716
--- /dev/null
@@ -0,0 +1,10 @@
+0
+1
+1
+1
+2
+2
+3
+7
+8
+7