diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-15 23:22:18 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-15 23:39:48 +0200 |
commit | 26146d82db430394c96374d6790a5855b25c5981 (patch) | |
tree | fea7036a1a20a584348eeed6d2e7323e77670d77 /test/units/testsuite-17.01.sh | |
parent | Merge pull request #20751 from poettering/watchdog-tweaklet (diff) | |
download | systemd-26146d82db430394c96374d6790a5855b25c5981.tar.xz systemd-26146d82db430394c96374d6790a5855b25c5981.zip |
test: use --settle option for udevadm trigger
Diffstat (limited to 'test/units/testsuite-17.01.sh')
-rwxr-xr-x | test/units/testsuite-17.01.sh | 8 |
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 ( |