summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-17.10.sh
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-04-04 19:51:34 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-04-16 02:42:20 +0200
commitb2800ec597a796b99508c1fbed51b55d17fa5229 (patch)
tree752ce28e7276d4345c80e8a89d84013b0fd075a1 /test/units/testsuite-17.10.sh
parentcreds-util: move pick_up_credentials() from network-generator (diff)
downloadsystemd-b2800ec597a796b99508c1fbed51b55d17fa5229.tar.xz
systemd-b2800ec597a796b99508c1fbed51b55d17fa5229.zip
udevadm-control: check if control command really specified
Previously, 'udevadm control' only checked the number of the arguments. So, if only `--timeout` is specified, it spuriously did nothing and succeeded. This makes the command request at least one control command.
Diffstat (limited to '')
-rwxr-xr-xtest/units/testsuite-17.10.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/units/testsuite-17.10.sh b/test/units/testsuite-17.10.sh
index f229dcf25f..f643b0d6b4 100755
--- a/test/units/testsuite-17.10.sh
+++ b/test/units/testsuite-17.10.sh
@@ -45,8 +45,7 @@ udevadm control -S
udevadm control -R
udevadm control -p HELLO=world
udevadm control -m 42
-udevadm control --ping
-udevadm control -t 5
+udevadm control --ping -t 5
udevadm control -h
udevadm info /dev/null