Hi,

this testcase is currently failing on i386:

sendfile06_64    1  TFAIL  :  sendfile06.c:90: sendfile(2) failed to return 
expected value, expected: 17592186044442, got: 26

It's using SAFE_FSTAT from libltp, which is not compiled with 
  -D_FILE_OFFSET_BITS=64 -DOFF_T=__off64_t as the testcase.

The testcase can pass if I turn SAFE_FSTAT into plain fstat:

-       SAFE_FSTAT(cleanup, fd, &sb);
+       TEST(fstat(fd, &sb));
+       if (TEST_RETURN != 0)
+               tst_brkm(TBROK | TTERRNO, cleanup, "fstat");

but I'm wondering if we can fix this at global level, so users
of safe_macros don't have to worry about this.

Regards,
Jan

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to