From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] mkswap01.sh: Add "udevadm trigger" before swap verification
Date: Wed, 13 Nov 2019 11:22:36 -0500 (EST) [thread overview]
Message-ID: <2005122441.11970775.1573662156034.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20191112035237.39839-1-yongxin.liu@windriver.com>
----- 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
next prev parent reply other threads:[~2019-11-13 16:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-12 3:52 [LTP] [PATCH] mkswap01.sh: Add "udevadm trigger" before swap verification Yongxin Liu
2019-11-12 6:12 ` Li Wang
2019-11-13 9:25 ` Li Wang
2019-11-13 16:22 ` Jan Stancek [this message]
2019-11-13 16:27 ` Jan Stancek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2005122441.11970775.1573662156034.JavaMail.zimbra@redhat.com \
--to=jstancek@redhat.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.