public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: Zhou Wenjian <zhouwj-fnst@cn.fujitsu.com>
Cc: <systemtap@sourceware.org>
Subject: Re: [PATCH 3/3] Add new case for stress test
Date: Tue, 15 Dec 2015 12:41:00 -0000	[thread overview]
Message-ID: <y0mk2oflw9h.fsf@fche.csb> (raw)
In-Reply-To: <1450164104-1508-3-git-send-email-zhouwj-fnst@cn.fujitsu.com> (Zhou Wenjian's message of "Tue, 15 Dec 2015 15:21:44 +0800")


zhouwj-fnst wrote:

> [...]
> +proc gen_load {} {
> +    # if 'genload' from the ltp exists, use it to create a real load
> +    set genload {/usr/local/ltp/testcases/bin/genload}
> +    if [file executable $genload] {
> [...]

How about using the same logic used in lib/stap_run.exp looking for
/usr/bin/stress?  Or $PATH searching?  That /usr/local/ltp path is
just not a good fit for general installations.

- FChE

  reply	other threads:[~2015-12-15 12:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-15  7:23 [PATCH 1/3] Add new semko test case Zhou Wenjian
2015-12-15  7:23 ` [PATCH 2/3] Add new test case for buffer size Zhou Wenjian
2015-12-23 17:58   ` David Smith
2015-12-15  7:23 ` [PATCH 3/3] Add new case for stress test Zhou Wenjian
2015-12-15 12:41   ` Frank Ch. Eigler [this message]
2015-12-16  5:54     ` "Zhou, Wenjian/周文剑"
2015-12-23 17:46       ` David Smith
2015-12-23 17:59 ` [PATCH 1/3] Add new semko test case David Smith

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=y0mk2oflw9h.fsf@fche.csb \
    --to=fche@redhat.com \
    --cc=systemtap@sourceware.org \
    --cc=zhouwj-fnst@cn.fujitsu.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).