From: Michal Simek <michal.simek@petalogix.com>
To: Matt Fleming <matt@console-pimps.org>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] fcntl24,25,26 fail when run on tmpfs
Date: Thu, 30 Jul 2009 19:04:22 +0200 [thread overview]
Message-ID: <4A71D296.6040905@petalogix.com> (raw)
In-Reply-To: <20090730154452.GG3058@console-pimps.org>
Matt Fleming wrote:
> On Thu, Jul 30, 2009 at 12:59:17PM +0200, Michal Simek wrote:
>
>> Hi Matt,
>>
>>> Attached is a patch to skip testcases fcntl24, fcntl25 and fcntl26 if
>>> the host is running on tmpfs. The reason being that, as documented here
>>> http://bugzilla.kernel.org/show_bug.cgi?id=13626, F_SETLEASE and F_WRLCK
>>> cannot work on tmpfs.
>>>
>>>
>> I tested it and works. The same issue is for RAMFS. But for this fs in
>> necessary to create
>> tst_is_cwd_ramfs function. Maybe worth to add together
>> tst_is_cwd_tmpfs.c and tst_cwd_has_free.c too.
>>
>>
>
> Thanks for testing. Yes, the same issue will affect ramfs too.
>
> I'm not quite sure what sure why you're saying tst_cwd_has_free is
> needed?
>
I meant that will be worth to create new one file instead of tree.
I don't know call it tst_cwd_tests.c and add there content of
tst_is_cwd_tmpfs.c and tst_cwd_has_free.c + testing function for ramfs.
Cheers,
Michal
--
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2009-07-30 17:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 7:58 [LTP] fcntl24,25,26 fail when run on tmpfs Matt Fleming
2009-07-30 10:59 ` Michal Simek
2009-07-30 15:44 ` Matt Fleming
2009-07-30 17:04 ` Michal Simek [this message]
2009-08-03 11:19 ` Subrata Modak
2009-08-03 11:26 ` Matt Fleming
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=4A71D296.6040905@petalogix.com \
--to=michal.simek@petalogix.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=matt@console-pimps.org \
/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