On Mon, 2014-05-05 at 18:32 +0200, [email protected] wrote:
> Hi!
> > +char *TCID = "readdir03";
> > +
> > +#if !defined __x86_64__
> 
> Why is the test disabled on x86_64? What about other 64 bit
> architectures?
> 

In syscall.h __NR_readdir only appears on NONE x86_64. It will fail when
I make on x86_64:
readdir03.c:122:15: error: ‘__NR_readdir’ undeclared (first use in this
function)
  TEST(syscall(__NR_readdir, *test->fd, test->dirp, test->count));

> > +static void readdir_verify(const struct test_case_t *test)
> > +{
> > +   TEST(syscall(__NR_readdir, *test->fd, test->dirp, test->count));
> 
> So you are using raw readdir() syscall (man 2 readdir) instead of the
> glibc readdir() (man 3 readdir).
> 
> Are you aware that the rest of the readdir testcases use the glibc
> readdir()?
> 

Yes, I am aware that.
Could I create a new directory to do that or others?

And thank you very much.

Best regards,
Zeng



------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to