Similar to 5c60d3011f, but for udevd.
5c60d3011f
Otherwise, if a test in a spurious state, it consumes quite long time. Let's fail earlier in such case. This also drops an unnecessary calls of 'udevadm settle' in testcase_nvme_basic() of TEST-64-UDEV-STORAGE.