On Thu, 2009-06-18 at 23:01 +0530, Subrata Modak wrote:

Hi Subrata,

> Hi Muni,
> 
> On Wed, 2009-06-10 at 12:44 +0530, Munipradeep Beerakam wrote:
> > Hi,
> > 
> > Here is the attachment to fix the configuration error in
> > get_mempolicy01.c
> > Actually it should not fail due to configuration error. So changed the
> > necessary.
> > 
> > Thanks
> > Muni
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > differences
> > between files
> > attachment
> > (get_mempolicy01.patch)
> > 
> > 
> > ---
> > a/testcases/kernel/syscalls/get_mempolicy/get_mempolicy01.c 2009-06-10
> > 07:08:08.000000000 -0400
> > +++
> > b/testcases/kernel/syscalls/get_mempolicy/get_mempolicy01.c 2009-06-10
> > 07:12:16.000000000 -0400
> > @@ -296,7 +296,7 @@
> >                          TEST(rc = syscall(__NR_set_mempolicy,
> > tc->policy,&nodemask, maxnode));
> > 
> >                 if (TEST_RETURN < 0) {
> > -                       tst_resm(TFAIL, "set_mempolicy() failed -
> > errno = %d : %s",TEST_ERRNO, strerror(TEST_ERRNO));
> > +                       tst_resm(TCONF, "set_mempolicy() failed -
> > errno = %d : %s",TEST_ERRNO, strerror(TEST_ERRNO));
> >                          result = 1;
> >                         cleanup();
> >                          tst_exit();
> > @@ -307,7 +307,7 @@
> >                  // mmap memory
> >                  p = mmap(NULL, len, PROT_READ|PROT_WRITE,MAP_PRIVATE|
> > MAP_ANONYMOUS, 0, 0);
> >                  if (p == (void*)-1) {
> > -                       tst_resm(TFAIL, "malloc failed - errno = %d :
> > %s",TEST_ERRNO, strerror(TEST_ERRNO));
> > +                       tst_resm(TCONF, "malloc failed - errno = %d :
> > %s",TEST_ERRNO, strerror(TEST_ERRNO));
> >                          result = 1;
> >                         cleanup();
> >                          tst_exit();
> 
> The problem reported on your machine is function not implemented.
> However, if you change the FAIL to blindly CONF, that will cause issues
> like actual failures reported wrongly.
> 
> See, whether you can find out ways to isolate only function not
> implemented part.
> 
> Regards--
> Subrata
> 
> 
As I don't know what are all the error reporting options LTP have, I
changed it to CONF. We can change it accordingly to need. Can we report
it as BROKEN, as set_mempolicy is preventing the get_mempolicy test to
run?

Regards
Muni


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to