diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-12-21 17:06:14 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-12-23 17:35:21 +0100 |
commit | d0242ac94604aa9a862f8ca5746c70bc6719fe85 (patch) | |
tree | 27e68dd9f8217791bc977b6e47a0212ab47acdef /test | |
parent | a67bacff34b3e4f3a6387742177536d6ea8773f7 (diff) | |
download | systemd-d0242ac94604aa9a862f8ca5746c70bc6719fe85.tar.gz |
format-table: add field type TABLE_PATH_BASENAME
This is just like TABLE_PATH, but only shows the basename in regular
tabular output.
This is useful in systemd-repart for example
Diffstat (limited to 'test')
-rwxr-xr-x | test/units/testsuite-58.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/units/testsuite-58.sh b/test/units/testsuite-58.sh index d63537f840..cf1007f69a 100755 --- a/test/units/testsuite-58.sh +++ b/test/units/testsuite-58.sh @@ -381,7 +381,7 @@ EOF "type" : "swap", "label" : "label2", "uuid" : "837c3d67-21b3-478e-be82-7e7f83bf96d3", - "file" : "root.conf", + "file" : "$defs/root.conf", "node" : "$imgs/zzz1", "offset" : 1048576, "old_size" : 0, @@ -441,7 +441,7 @@ EOF "type" : "swap", "label" : "label1", "uuid" : "7b93d1f2-595d-4ce3-b0b9-837fbd9e63b0", - "file" : "root1.conf", + "file" : "$defs/1/root1.conf", "node" : "$imgs/zzz1", "offset" : 1048576, "old_size" : 0, @@ -456,7 +456,7 @@ EOF "type" : "swap", "label" : "label2", "uuid" : "837c3d67-21b3-478e-be82-7e7f83bf96d3", - "file" : "root2.conf", + "file" : "$defs/2/root2.conf", "node" : "$imgs/zzz2", "offset" : 34603008, "old_size" : 0, |