summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-07-08 13:44:12 +0200
committerLennart Poettering <lennart@poettering.net>2024-07-10 09:35:31 +0200
commit66f4f49c8ff9d12e95914d55b936b1638e68b2f4 (patch)
tree1914a0589c2ebee15b41188c8609b72a22679203 /test
parentmount-tool: use lowercase table column names (diff)
downloadsystemd-66f4f49c8ff9d12e95914d55b936b1638e68b2f4.tar.xz
systemd-66f4f49c8ff9d12e95914d55b936b1638e68b2f4.zip
mount-tool: add support for a --json= output mode
Let's add a JSON output mode, like we have it for so many of our tools.
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/TEST-74-AUX-UTILS.mount.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/units/TEST-74-AUX-UTILS.mount.sh b/test/units/TEST-74-AUX-UTILS.mount.sh
index 14253c358d..d440a7c667 100755
--- a/test/units/TEST-74-AUX-UTILS.mount.sh
+++ b/test/units/TEST-74-AUX-UTILS.mount.sh
@@ -23,6 +23,7 @@ systemd-mount --list --full
systemd-mount --list --no-legend
systemd-mount --list --no-pager
systemd-mount --list --quiet
+systemd-mount --list --json=pretty
# tmpfs
mkdir -p "$WORK_DIR/mnt/foo/bar"