diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-08-06 10:23:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-06 10:23:45 +0200 |
commit | 92d885d8700d154a7444184b1c6feeab5d9c9789 (patch) | |
tree | d16d6be17f8ac2d23593f3c9115588a17ca65d72 /test | |
parent | Merge pull request #33933 from yuwata/systemctl-bus-transport-and-runtime-scope (diff) | |
parent | udevadm-info: support json output for --attribute-walk (diff) | |
download | systemd-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-x | test/units/TEST-17-UDEV.10.sh | 3 |
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 |