diff options
author | Mark Wielaard <mjw@redhat.com> | 2010-02-13 20:54:58 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2010-02-13 20:54:58 +0100 |
commit | a7367d45ca743e8842bf824b0fa2285054d26f74 (patch) | |
tree | 322a60c4cf498e0454af2199b79dbf8824039165 /runtime/stack.c | |
parent | cc9e5488d82b728e568bca1f8d6094856fc8e641 (diff) | |
download | systemtap-steved-a7367d45ca743e8842bf824b0fa2285054d26f74.tar.gz systemtap-steved-a7367d45ca743e8842bf824b0fa2285054d26f74.tar.xz systemtap-steved-a7367d45ca743e8842bf824b0fa2285054d26f74.zip |
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.
Diffstat (limited to 'runtime/stack.c')
0 files changed, 0 insertions, 0 deletions