summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-08-06 10:23:45 +0200
committerGitHub <noreply@github.com>2024-08-06 10:23:45 +0200
commit92d885d8700d154a7444184b1c6feeab5d9c9789 (patch)
treed16d6be17f8ac2d23593f3c9115588a17ca65d72 /test
parentMerge pull request #33933 from yuwata/systemctl-bus-transport-and-runtime-scope (diff)
parentudevadm-info: support json output for --attribute-walk (diff)
downloadsystemd-92d885d8700d154a7444184b1c6feeab5d9c9789.tar.xz
systemd-92d885d8700d154a7444184b1c6feeab5d9c9789.zip
Merge pull request #33942 from yuwata/udevadm-info-attribute-walk-json
udevadm-info: support json output for --attribute-walk
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/TEST-17-UDEV.10.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/units/TEST-17-UDEV.10.sh b/test/units/TEST-17-UDEV.10.sh
index a2b8b14d0c..1808e1975b 100755
--- a/test/units/TEST-17-UDEV.10.sh
+++ b/test/units/TEST-17-UDEV.10.sh
@@ -70,6 +70,9 @@ udevadm info -q name -r /dev/null
udevadm info --query symlink --root /sys/class/net/$netdev
(! udevadm info -q hello -r /sys/class/net/$netdev)
udevadm info -a /sys/class/net/$netdev
+udevadm info -a --json=off /sys/class/net/$netdev
+udevadm info -a --json=pretty /sys/class/net/$netdev | jq . >/dev/null
+udevadm info -a --json=short /sys/class/net/$netdev | jq . >/dev/null
udevadm info -t >/dev/null
udevadm info --tree /sys/class/net/$netdev
udevadm info -x /sys/class/net/$netdev