]> sourceware.org Git - systemtap.git/commit
Test for sendfile syscall can handle non-socket fds now.
authorMark Wielaard <mjw@redhat.com>
Sat, 13 Feb 2010 19:54:58 +0000 (20:54 +0100)
committerMark Wielaard <mjw@redhat.com>
Sat, 13 Feb 2010 19:54:58 +0000 (20:54 +0100)
commita7367d45ca743e8842bf824b0fa2285054d26f74
tree322a60c4cf498e0454af2199b79dbf8824039165
parentcc9e5488d82b728e568bca1f8d6094856fc8e641
Test for sendfile syscall can handle non-socket fds now.

Since 2.6.33 sendfile can handle non-socket fds, so make the test
handle both success and failure.

* testsuite/systemtap.syscall/sendfile.c (main): Make buffer 22 bytes,
  since 22 == EINVAL, test for 22 bytes send or -22 failure.
testsuite/systemtap.syscall/sendfile.c
This page took 0.025083 seconds and 5 git commands to generate.