From: Cristian Greco <cristian@regolo.cc>
To: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH v2] syscalls: getdents0[234]: add tst_exit()
Date: Fri, 4 Mar 2011 09:37:11 +0100 [thread overview]
Message-ID: <20110304093711.7c022f74@regolo> (raw)
In-Reply-To: <4D6FD518.1040503@redhat.com>
[-- Attachment #1.1: Type: text/plain, Size: 1273 bytes --]
On Fri, 04 Mar 2011 01:51:20 +0800
Caspar Zhang <czhang@redhat.com> wrote:
> Similar to getdents0[34] and getdents0[234]_64, so I updated the patch
> to v2.
>
> These tests contain x86 asm so that they wouldn't be run on x86_64
> machine, but run into a simple main() functions instead. However all of
> them are missing tst_exit() which could result in a exit_code=10
> failure.
>
> Signed-off-by: Caspar Zhang <czhang@redhat.com>
> ---
> testcases/kernel/syscalls/getdents/getdents02.c | 4 ++--
> testcases/kernel/syscalls/getdents/getdents03.c | 4 ++--
> testcases/kernel/syscalls/getdents/getdents04.c | 4 ++--
> 3 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/testcases/kernel/syscalls/getdents/getdents02.c
> b/testcases/kernel/syscalls/getdents/getdents02.c
> index 4daae05..2503712 100644
> --- a/testcases/kernel/syscalls/getdents/getdents02.c
> +++ b/testcases/kernel/syscalls/getdents/getdents02.c
> @@ -74,7 +74,7 @@ int main()
> {
> tst_resm(TINFO, "This test includes x86 asm and will not work on "
> "this machine");
Hi Caspar,
wouldn't it be better to call tst_resm() with TCONF instead of TINFO,
for the sake of consistency?
Thanks,
--
Cristian Greco
GPG key ID: 0xCF4D32E4
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 309 bytes --]
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2011-03-04 8:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-03 17:37 [LTP] [PATCH] syscalls: getdents02: add tst_exit() Caspar Zhang
2011-03-03 17:51 ` [LTP] [PATCH v2] syscalls: getdents0[234]: " Caspar Zhang
2011-03-04 8:37 ` Cristian Greco [this message]
2011-03-04 8:52 ` Caspar Zhang
2011-03-04 9:27 ` Garrett Cooper
2011-03-04 9:31 ` Caspar Zhang
2011-03-04 10:14 ` Garrett Cooper
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=20110304093711.7c022f74@regolo \
--to=cristian@regolo.cc \
--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