[LTP] [PATCH] mkswap01.sh: Add "udevadm trigger" before swap verification
Jan Stancek
jstancek@redhat.com
Wed Nov 13 17:22:36 CET 2019
----- Original Message -----
> diff --git a/testcases/commands/mkswap/mkswap01.sh
> b/testcases/commands/mkswap/mkswap01.sh
> index 3a348c6e6..9437c4a4e 100755
> --- a/testcases/commands/mkswap/mkswap01.sh
> +++ b/testcases/commands/mkswap/mkswap01.sh
> @@ -129,6 +129,8 @@ mkswap_test()
> return
> fi
>
> + udevadm trigger --name-match=$TST_DEVICE
It's been many months since I looked at this,..
Can you explain why this fixes it?
Don't we need "udevadm settle" as well to make sure udev caught up
before we check result?
Regards,
Jan
More information about the ltp
mailing list