]> sourceware.org Git - systemtap.git/commit
Simplify sendfile.c test program for use on an NFS partition.
authorDavid Smith <dsmith@redhat.com>
Thu, 12 Dec 2013 16:47:52 +0000 (10:47 -0600)
committerDavid Smith <dsmith@redhat.com>
Thu, 12 Dec 2013 16:47:52 +0000 (10:47 -0600)
commit19f4921c5c6a5aaa9eedc37d753559b10eac4165
tree7415f8edc2b53e268f26f905bc6f317d123b2b76
parent4f0e6215ab4c82553d4d881f3fb9865c6e1a464a
Simplify sendfile.c test program for use on an NFS partition.

* testsuite/systemtap.syscall/sendfile.c: Simplify testcase. Originally
  when compiled 32-bits on a 64-bit system and run on an NFS partition,
  fstat() returns an invalid size of the newly created file. This invalid
  size was verified with strace. Since we know the size of the file
  anyway, just use it directly, which avoids the NFS problem.
testsuite/systemtap.syscall/sendfile.c
This page took 0.024972 seconds and 5 git commands to generate.