summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-01-11 16:35:18 +0100
committerLennart Poettering <lennart@poettering.net>2024-01-11 17:54:19 +0100
commita50666e376057a24b67f80c9a8025096c750fb23 (patch)
treef333abb19c25a4e6b11427373b41a63f68a5e114 /test
parentnetwork: fix Name= -> OriginalName= in the default .link files (diff)
downloadsystemd-a50666e376057a24b67f80c9a8025096c750fb23.tar.xz
systemd-a50666e376057a24b67f80c9a8025096c750fb23.zip
id128: add --no-pager, --no-legend, --json=/-j switches to systemd-id128 tool
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/testsuite-74.id128.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/units/testsuite-74.id128.sh b/test/units/testsuite-74.id128.sh
index c1b80d660e..f91cd5f78d 100755
--- a/test/units/testsuite-74.id128.sh
+++ b/test/units/testsuite-74.id128.sh
@@ -22,6 +22,13 @@ systemd-id128 show root-x86-64 --app-specific=4f68bce3e8cd4db196e7fbcaf984b709
systemd-id128 show --pretty root-x86-64 --app-specific=4f68bce3e8cd4db196e7fbcaf984b709
[[ "$(systemd-id128 show root-x86-64 --app-specific=4f68bce3e8cd4db196e7fbcaf984b709 -P)" = "8ee5535e7cb14c249e1d28b8dfbb939c" ]]
+systemd-id128 show -j
+systemd-id128 show --no-pager
+systemd-id128 show --json=short
+systemd-id128 show --no-legend
+systemd-id128 show --no-pager --no-legend
+systemd-id128 show root -P -u
+
[[ "$(systemd-id128 new | wc -c)" -eq 33 ]]
systemd-id128 new -p
systemd-id128 new -u