diff --git a/test/litest.c b/test/litest.c index 53c441b5..349eca08 100644 --- a/test/litest.c +++ b/test/litest.c @@ -1122,6 +1122,11 @@ litest_delete_device(struct litest_device *d) free(d->private); memset(d,0, sizeof(*d)); free(d); + + /* zzz so udev can catch up with things, so we don't accidentally open + * an old device in the next test and then get all upset when things blow + * up */ + msleep(10); } void