From: Mike Frysinger <vapier@gentoo.org>
To: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] fix getxattr02 case with errno EPERM
Date: Mon, 9 Jan 2012 12:20:54 -0500 [thread overview]
Message-ID: <201201091220.55745.vapier@gentoo.org> (raw)
In-Reply-To: <20120109072905.GA27172@eguan-t400.redhat.com>
[-- Attachment #1.1: Type: Text/Plain, Size: 571 bytes --]
On Monday 09 January 2012 02:29:05 Eryu Guan wrote:
> On Mon, Jan 09, 2012 at 02:50:21PM +0800, Peng Haitao wrote:
> > + if ((tst_kvercmp(3, 0, 0)) >= 0)
> > + exp_eno = ENODATA;
> > + else
> > + exp_eno = EPERM;
>
> I think some comments describing why the comparison is needed will be
> better, the commit message will be fine here.
>
> Or you can put the reason at the beginning of the test case along with
> the test descriptions.
a comment right above this section of code would be best. less likely to
bitrot or get loss in the future.
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 430 bytes --]
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
[-- 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 parent reply other threads:[~2012-01-09 17:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4F0A8E2D.8030305@cn.fujitsu.com>
[not found] ` <20120109072905.GA27172@eguan-t400.redhat.com>
2012-01-09 17:20 ` Mike Frysinger [this message]
[not found] ` <201201091220.17521.vapier@gentoo.org>
[not found] ` <4F0B9824.1080801@cn.fujitsu.com>
[not found] ` <4F0BAFA9.50704@casparzhang.com>
2012-01-10 3:28 ` [LTP] [PATCH] fix getxattr02 case with errno EPERM Wanlong Gao
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=201201091220.55745.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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 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.