On Tuesday 20 September 2005 09:09, luothing@... wrote:
> I simply apply the patch, and run new round ltp on TT mode, and found
> most part of problem is disappear, that\'s a real good news.
> the failure list is:
As I specified in a separate mail, that's a host bug too, due to having the=
file already open for writing. Are you a LTP developer like I guessed or I=
understood something wrong?
=46rom the man page:
Take out a write lease. This will cause us to be=20
notified when another process opens the
file (for reading or writing) or truncates it. A writ=
lease may be placed on a file
only if no other process currently has the file open.
In the current Linux implementation, that becomes "no process, including th=
caller, has the file open for writing".
So fixing the test-case to open the file for reading only, or closing and=20
reopening (if O_CREAT is a problem), would make it pass. Not sure it's righ=
but there's no standard for leases IIRC (I'm not at all an expert about thi=
though, so correct me please).
> ioperm* iopl*
> nanosleep02 it seems time is not precise
Yes, we'll look at it.
> setregid02 with note \"setregid(65535, -1) failed (1) but did
> not set the expected errno (22).\"
=46ails on the host too (same Linux version).
> > Patches are attached against 2.6.13 - apply uml-fault-micro-cleanups
> > before the rest. They\'ll be all included in 2.6.13-bs1. Btw, what\'s
> > your name? I\'d like to credit you in the changelog.
> you can call me: LuoXin
> > I also fixed the modify_ldt01 problem (trivial missing break;), and
> > modify_ldt02 doesn\'t create host problems here (but it\'s an older
> > release) -
> It maybe relate to my test environment, I use kernel(linux-2.6.9-prep) fr=
> redhat, when I apply skas3-v8.2 patch, I need to modify some code, which I
> am not sure, and I test this testcase on office kernel linux-18.104.22.168, it
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB