All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v5] sched_getattr/sched_getattr02: Add new testcase for sched_getattr
Date: Tue, 3 Nov 2015 14:21:59 +0100	[thread overview]
Message-ID: <20151103132159.GC5795@rei> (raw)
In-Reply-To: <56389A8B.6040600@huawei.com>

Hi!
> +	for (i = 0; i < TST_TOTAL; i++)
> +		sched_getattr_verify(&test_cases[i]);

I've readded the TEST_LOOPING() here, since I asked you to do this loop
inside of the TEST_LOOPING() loop, not to remove it. Once it's removed
the default test parameters does not work.

> +	tst_exit();
> +}
> +
> +void setup(void)
> +{
> +	unused_pid = tst_get_unused_pid(setup);
> +
> +	tst_require_root();

And I've removed the tst_require_root() since it's not needed as we do
not call setattr anymore.

And pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

      reply	other threads:[~2015-11-03 13:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20 12:59 [LTP] [PATCH] sched_getattr/sched_getattr02: Add new testcase for sched_getattr Cui Bixuan
2015-10-26 15:47 ` Cyril Hrubis
2015-10-28  1:40   ` [LTP] [PATCH v2] " Cui Bixuan
2015-10-29 16:09     ` Cyril Hrubis
2015-10-31  6:46       ` [LTP] [PATCH v3] " Cui Bixuan
2015-11-02 17:28         ` Cyril Hrubis
2015-11-03  9:22           ` [LTP] [PATCH v4] " Cui Bixuan
2015-11-03 11:29           ` [LTP] [PATCH v5] " Cui Bixuan
2015-11-03 13:21             ` Cyril Hrubis [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=20151103132159.GC5795@rei \
    --to=chrubis@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 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.