summaryrefslogtreecommitdiffstats
path: root/tests/expected/libsmartcols/fromfile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:30 +0000
commitc61e14d3a8412cd50d98aab604e607692c844c8a (patch)
tree4925aca0e6b64c8664ea2f3fdfa99a52dc93d5da /tests/expected/libsmartcols/fromfile
parentAdding upstream version 2.39.3. (diff)
downloadutil-linux-c61e14d3a8412cd50d98aab604e607692c844c8a.tar.xz
util-linux-c61e14d3a8412cd50d98aab604e607692c844c8a.zip
Adding upstream version 2.40.upstream/2.40
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/expected/libsmartcols/fromfile-tree-json20
-rw-r--r--tests/expected/libsmartcols/fromfile-wrapzero19
-rw-r--r--tests/expected/libsmartcols/fromfile-wrapzero-tree19
3 files changed, 48 insertions, 10 deletions
diff --git a/tests/expected/libsmartcols/fromfile-tree-json b/tests/expected/libsmartcols/fromfile-tree-json
index 3d65183..aada9f0 100644
--- a/tests/expected/libsmartcols/fromfile-tree-json
+++ b/tests/expected/libsmartcols/fromfile-tree-json
@@ -2,56 +2,56 @@
"testtable": [
{
"tree": "aaaa",
- "id": "1",
+ "id": 1,
"parent": "0",
"strings": "qqqqqqqqqqqqqqqqqX",
"children": [
{
"tree": "bbb",
- "id": "2",
+ "id": 2,
"parent": "1",
"strings": "dddddddddddddX",
"children": [
{
"tree": "ee",
- "id": "5",
+ "id": 5,
"parent": "2",
"strings": "ddddddddddddddddddddddddddX"
},{
"tree": "ffff",
- "id": "6",
+ "id": 6,
"parent": "2",
"strings": "jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjX"
}
]
},{
"tree": "ccccc",
- "id": "3",
+ "id": 3,
"parent": "1",
"strings": "ffffffffffffffffffffffffffffffffffffffffX",
"children": [
{
"tree": "gggggg",
- "id": "7",
+ "id": 7,
"parent": "3",
"strings": "mmmmmmmmmmmmmmmmmmmX",
"children": [
{
"tree": "hhh",
- "id": "8",
+ "id": 8,
"parent": "7",
"strings": "lllllllllllllllllllllllllllllllllllllX",
"children": [
{
"tree": "iiiiii",
- "id": "9",
+ "id": 9,
"parent": "8",
"strings": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyX"
}
]
},{
"tree": "jj",
- "id": "10",
+ "id": 10,
"parent": "7",
"strings": "pppppppppX"
}
@@ -60,7 +60,7 @@
]
},{
"tree": "dddddd",
- "id": "4",
+ "id": 4,
"parent": "1",
"strings": "ssssssssssX"
}
diff --git a/tests/expected/libsmartcols/fromfile-wrapzero b/tests/expected/libsmartcols/fromfile-wrapzero
new file mode 100644
index 0000000..11370ff
--- /dev/null
+++ b/tests/expected/libsmartcols/fromfile-wrapzero
@@ -0,0 +1,19 @@
+NAME NUM WRAPZERO
+aaaa 0 aaa
+bbb 100 bbbbb
+ccccc 21 cccc
+ CCCC
+dddddd 3 dddddddd
+ DDDD
+ DD
+ee 411 hello
+ baby
+ffff 5111 aaa
+ bbb
+ ccc
+ ddd
+gggggg 678993321 eee
+hhh 7666666 fffff
+iiiiii 8765 g
+ hhhhh
+jj 987456 ppppppppp
diff --git a/tests/expected/libsmartcols/fromfile-wrapzero-tree b/tests/expected/libsmartcols/fromfile-wrapzero-tree
new file mode 100644
index 0000000..552470d
--- /dev/null
+++ b/tests/expected/libsmartcols/fromfile-wrapzero-tree
@@ -0,0 +1,19 @@
+TREE ID PARENT WRAPZERO
+aaaa 1 0 aaa
+|-bbb 2 1 bbbbb
+| |-ee 5 2 hello
+| | baby
+| `-ffff 6 2 aaa
+| bbb
+| ccc
+| ddd
+|-ccccc 3 1 cccc
+| | CCCC
+| `-gggggg 7 3 eee
+| |-hhh 8 7 fffff
+| | `-iiiiii 9 8 g
+| | hhhhh
+| `-jj 10 7 ppppppppp
+`-dddddd 4 1 dddddddd
+ DDDD
+ DD