From: Michal Simek <michal.simek@petalogix.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] creat08: Fix test to be able to run on NFS
Date: Mon, 26 Sep 2011 08:36:11 +0200 [thread overview]
Message-ID: <4E801D5B.1030206@petalogix.com> (raw)
In-Reply-To: <1316084942-24319-1-git-send-email-monstr@monstr.eu>
Michal Simek wrote:
> NFS creates temporary .nfsXXX files for every open/created file.
> Based on this rmdir syscall failed because directory is not empty.
> The solution is to close all open/created files. They are also unlink
> in cleanup.
>
> Error log:
> creat08 5 TBROK : rmdir testdir.A.167 failed: errno=???(39): Directory not empty
> creat08 6 TBROK : Remaining cases broken
>
> Example of created files(listed by readdir):
> testdir.A.155
> .nfs00000000070201f60000007d
> ..
> .nfs00000000070201f70000007c
> .
>
> testdir.B.155
> .nfs00000000000dc13c0000007f
> .nfs00000000000dc1050000007e
> ..
> .
> .nfs00000000000dc0f600000080
>
> Signed-off-by: Michal Simek <monstr@monstr.eu>
> ---
> testcases/kernel/syscalls/creat/creat08.c | 23 +++++++++++++++++------
> 1 files changed, 17 insertions(+), 6 deletions(-)
Can someone review it or apply it to git?
Thanks,
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
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2011-09-26 7:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-15 11:09 [LTP] [PATCH] creat08: Fix test to be able to run on NFS Michal Simek
2011-09-26 6:36 ` Michal Simek [this message]
2011-10-05 15:07 ` 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=4E801D5B.1030206@petalogix.com \
--to=michal.simek@petalogix.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