From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v4 LTP] Skip the test if "htop" is used.
Date: Wed, 11 Sep 2019 11:00:56 +0200 [thread overview]
Message-ID: <20190911090055.GA13219@dell5510> (raw)
In-Reply-To: <20190910162337.60664-1-siliangx.yu@intel.com>
Hi Yu,
> From: "Yu,Siliang" <siliangx.yu@intel.com>
> In clear linux os, "htop" is used instead "top", which doesn't support '-b'. Skip the test on clear linux.
> Signed-off-by: Yu,Siliang <siliangx.yu@intel.com>
> ---
> .../kernel/hotplug/cpu_hotplug/functional/cpuhotplug06.sh | 4 ++++
> 1 file changed, 4 insertions(+)
> diff --git a/testcases/kernel/hotplug/cpu_hotplug/functional/cpuhotplug06.sh b/testcases/kernel/hotplug/cpu_hotplug/functional/cpuhotplug06.sh
> index 18a11197e..74a3dd2b1 100755
> --- a/testcases/kernel/hotplug/cpu_hotplug/functional/cpuhotplug06.sh
> +++ b/testcases/kernel/hotplug/cpu_hotplug/functional/cpuhotplug06.sh
> @@ -49,6 +49,10 @@ done
> LOOP_COUNT=1
> +if top -v | grep -q htop; then
> + tst_brkm TCONF "htop is used instead of top, Skip the test(workaround: alias top='/path/to/real/top')"
> +fi
Merged, with slightly adjusted commit message.
Kind regards,
Petr
prev parent reply other threads:[~2019-09-11 9:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-10 16:23 [LTP] [PATCH v4 LTP] Skip the test if "htop" is used SiliangYu
2019-09-11 9:00 ` Petr Vorel [this message]
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=20190911090055.GA13219@dell5510 \
--to=pvorel@suse.cz \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox