Re: Linux Test Project

2007-03-21 Thread Matthew Burgess
On Wednesday 21 March 2007 00:31, Bruce Dubbs wrote:
 Just a note to say I was trying out the LTP today on my 6.2 test system.

 http://ltp.sourceforge.net/

 I ran the tests and got four failures:

 mincore01  FAIL   1
 gf15   FAIL   1
 gf17   FAIL   1
 gf18   FAIL   1

On latest LFS (SVN-20070319 - jhalfs build) I get:

mincore01  FAIL   1
sendmsg01  FAIL   2

 The mincore01 gives:

 $ sudo ./mincore01
 mincore011  PASS  :  expected failure: errno = 22 (Invalid argument)
 mincore012  PASS  :  expected failure: errno = 14 (Bad address)
 mincore013  FAIL  :  call succeeded unexpectedly
 mincore014  PASS  :  expected failure: errno = 12 (Cannot allocate
 memory)

Exactly the same results here.

The sendmsg01 failure is caused by the test case trying to call `ifconfig' 
which no longer exists on an LFS system.

Matt.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: Linux Test Project

2007-03-21 Thread Bruce Dubbs
Matthew Burgess wrote:
 On Wednesday 21 March 2007 00:31, Bruce Dubbs wrote:
 Just a note to say I was trying out the LTP today on my 6.2 test system.

 http://ltp.sourceforge.net/

 I ran the tests and got four failures:

 mincore01  FAIL   1
 gf15   FAIL   1
 gf17   FAIL   1
 gf18   FAIL   1
 
 On latest LFS (SVN-20070319 - jhalfs build) I get:
 
 mincore01  FAIL   1
 sendmsg01  FAIL   2
 
 The mincore01 gives:

 $ sudo ./mincore01
 mincore011  PASS  :  expected failure: errno = 22 (Invalid argument)
 mincore012  PASS  :  expected failure: errno = 14 (Bad address)
 mincore013  FAIL  :  call succeeded unexpectedly
 mincore014  PASS  :  expected failure: errno = 12 (Cannot allocate
 memory)
 
 Exactly the same results here.
 
 The sendmsg01 failure is caused by the test case trying to call `ifconfig' 
 which no longer exists on an LFS system.

Thanks Matt.  I was beginning to think I was the only one.
My sendmsg01 passed because I have net-tools on my systems.

I'm asking around about the mincore01 problem.  If I can't get an
answer, I'm going to elevate the post to lkml.

  -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Linux Test Project

2007-03-20 Thread Bruce Dubbs
Just a note to say I was trying out the LTP today on my 6.2 test system.

http://ltp.sourceforge.net/

I ran the tests and got four failures:

mincore01  FAIL   1
gf15   FAIL   1
gf17   FAIL   1
gf18   FAIL   1

gf stands for growfiles and the reason they failed is that I ran out of
disk space (I had 1.3G free).  When I created a new 10G partition for
them, the gf tests passed.

The mincore01 gives:

$ sudo ./mincore01
mincore011  PASS  :  expected failure: errno = 22 (Invalid argument)
mincore012  PASS  :  expected failure: errno = 14 (Bad address)
mincore013  FAIL  :  call succeeded unexpectedly
mincore014  PASS  :  expected failure: errno = 12 (Cannot allocate
memory)

Details:
test3:   Invoke mincore() when the vector points to an invalid address.

This may be a bug in the test suite.  The address they specify is NULL,
but the length is zero.

In other words, it looks like LFS is a pretty strong system (If you
didn't already know that).

  -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page