summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-17.01.sh
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-09-15 23:22:18 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-09-15 23:39:48 +0200
commit26146d82db430394c96374d6790a5855b25c5981 (patch)
treefea7036a1a20a584348eeed6d2e7323e77670d77 /test/units/testsuite-17.01.sh
parentMerge pull request #20751 from poettering/watchdog-tweaklet (diff)
downloadsystemd-26146d82db430394c96374d6790a5855b25c5981.tar.xz
systemd-26146d82db430394c96374d6790a5855b25c5981.zip
test: use --settle option for udevadm trigger
Diffstat (limited to 'test/units/testsuite-17.01.sh')
-rwxr-xr-xtest/units/testsuite-17.01.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/units/testsuite-17.01.sh b/test/units/testsuite-17.01.sh
index 3b099fc2a4..4f9f72daf1 100755
--- a/test/units/testsuite-17.01.sh
+++ b/test/units/testsuite-17.01.sh
@@ -6,7 +6,7 @@ mkdir -p /run/udev/rules.d/
rm -f /run/udev/rules.d/50-testsuite.rules
udevadm control --reload
-udevadm trigger /dev/sda
+udevadm trigger --settle /dev/sda
while : ; do
(
@@ -24,7 +24,7 @@ SUBSYSTEM=="block", KERNEL=="sda", OPTIONS="log_level=debug"
ACTION!="remove", SUBSYSTEM=="block", KERNEL=="sda", ENV{SYSTEMD_WANTS}="foobar.service"
EOF
udevadm control --reload
-udevadm trigger /dev/sda
+udevadm trigger --settle /dev/sda
while : ; do
(
@@ -42,7 +42,7 @@ SUBSYSTEM=="block", KERNEL=="sda", OPTIONS="log_level=debug"
ACTION!="remove", SUBSYSTEM=="block", KERNEL=="sda", ENV{SYSTEMD_WANTS}="waldo.service"
EOF
udevadm control --reload
-udevadm trigger /dev/sda
+udevadm trigger --settle /dev/sda
while : ; do
(
@@ -58,7 +58,7 @@ done
rm /run/udev/rules.d/50-testsuite.rules
udevadm control --reload
-udevadm trigger /dev/sda
+udevadm trigger --settle /dev/sda
while : ; do
(