On Mon, Jul 14, 2025 at 07:09:39AM +0000, Shinichiro Kawasaki wrote: > > --- a/tests/loop/010 > > +++ b/tests/loop/010 > > @@ -78,5 +78,12 @@ test() { > > if _dmesg_since_test_start | grep --quiet "$grep_str"; then > > echo "Fail" > > fi > > + > > + # The repeated loop device creation and deletions generated so many udev > > + # events. Drain the events to not influence following test cases. > > + if systemctl is-active systemd-udevd.service >/dev/null; then > > + systemctl restart systemd-udevd.service > > + fi Maybe adding a warning if udev or a 'udevadm settle --timeout 900' would good when they system is not using systemd.