From: Cyril Hrubis <chrubis@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] mem/hugeshmat: new case for hugepage leak inspection
Date: Tue, 27 Jan 2015 16:31:40 +0100 [thread overview]
Message-ID: <20150127153140.GG16759@rei.suse.de> (raw)
In-Reply-To: <1422336738-617-1-git-send-email-liwang@redhat.com>
Hi!
> +void setup(void)
> +{
> + long mem_total, hpage_size;
> +
> + tst_require_root(NULL);
> +
> + mem_total = read_meminfo("MemTotal:");
> + if (mem_total < 2L*1024*1024) {
> + tst_resm(TINFO, "Test requires more than 2GB of RAM");
> + tst_exit();
This should be:
tst_brmk(TCONF, "Test requires more than 2GB of RAM");
As I said in the last mail.
Otherwise it looks fine.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next parent reply other threads:[~2015-01-27 15:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1422336738-617-1-git-send-email-liwang@redhat.com>
2015-01-27 15:31 ` Cyril Hrubis [this message]
[not found] ` <2114349772.1193590.1422414177762.JavaMail.zimbra@redhat.com>
[not found] ` <54C893E8.7020609@cn.fujitsu.com>
2015-02-10 3:22 ` [LTP] [PATCH] hugeshmat04: fix typo Zeng Linggang
2015-02-10 3:28 ` Wanlong Gao
[not found] <1419737900-6117-1-git-send-email-liwang@redhat.com>
2014-12-28 4:06 ` [LTP] [PATCH] mem/hugeshmat: new case for hugepage leak inspection Li Wang
2014-12-28 3:20 Li Wang
-- strict thread matches above, loose matches on Subject: below --
2014-12-27 7:13 Li Wang
2014-12-30 9:23 ` Jan Stancek
2015-01-04 3:10 ` Li Wang
2015-01-05 10:16 ` Jan Stancek
2015-01-06 9:51 ` Li Wang
2015-01-06 10:35 ` Jan Stancek
2015-01-06 14:07 ` Li Wang
2015-01-07 12:32 ` Jan Stancek
2015-01-07 14:59 ` Li Wang
2015-01-26 16:48 ` Cyril Hrubis
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=20150127153140.GG16759@rei.suse.de \
--to=chrubis@suse.cz \
--cc=liwang@redhat.com \
--cc=ltp-list@lists.sourceforge.net \
/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