From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
To: Eryu Guan <eguan@redhat.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] syscalls/open11: new open(2) test case
Date: Mon, 04 Feb 2013 09:59:41 +0800 [thread overview]
Message-ID: <510F160D.9080503@cn.fujitsu.com> (raw)
In-Reply-To: <1359543471-19535-1-git-send-email-eguan@redhat.com>
On 01/30/2013 06:57 PM, Eryu Guan wrote:
> + { /* open device special file O_WRONLY */
> + .desc = "Open device special file O_WRONLY",
> + .path = T_DEV,
> + .flags = O_WRONLY,
> + .mode = 0644,
> + .err = 0,
> + },
> + { /* open device special file O_RDWR */
> + .desc = "Open device special file O_RDWR",
> + .path = T_DEV,
> + .flags = O_RDWR,
> + .mode = 0644,
> + .err = 0,
> + },
> + { /* open device special file O_RDWR */
> + .desc = "Open device special file O_RDWR",
> + .path = T_DEV,
> + .flags = O_RDWR,
> + .mode = 0644,
> + .err = 0,
> + },
Why should this test twice?
Thanks,
Wanlong Gao
> + /*
> + * Test open(2) non-existing file
> + */
> + { /* open non-existing regular file in existing dir */
> + .desc = "Open non-existing regular file in existing dir",
> + .path = T_DIR"/"T_NEW_REG,
> + .flags = O_RDWR | O_CREAT,
> + .mode = 0644,
> + .err = 0,
> + },
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2013-02-04 2:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-30 10:57 [LTP] [PATCH] syscalls/open11: new open(2) test case Eryu Guan
2013-02-04 1:59 ` Wanlong Gao [this message]
2013-02-04 3:22 ` [LTP] [PATCH v2] " Eryu Guan
2013-02-04 3:28 ` Wanlong Gao
2013-02-04 4:55 ` Caspar Zhang
2013-02-04 5:32 ` 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=510F160D.9080503@cn.fujitsu.com \
--to=gaowanlong@cn.fujitsu.com \
--cc=eguan@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