diff options
| author | jvoisin | 2023-07-10 23:46:28 +0200 |
|---|---|---|
| committer | jvoisin | 2023-07-10 23:46:28 +0200 |
| commit | 906b7f6d576b10a8f20d858e379595c9a94cabfc (patch) | |
| tree | 7e98c418bab79ca45f02d49f6d4707ee9aec763f /tests/test_send.c | |
| parent | 875b469a6dd588702a4d84a9e8f3f4002a482021 (diff) | |
Add some dynamic tests for sys/socket.h
Diffstat (limited to 'tests/test_send.c')
| -rw-r--r-- | tests/test_send.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/test_send.c b/tests/test_send.c deleted file mode 100644 index f65811f..0000000 --- a/tests/test_send.c +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | #include "common.h" | ||
| 2 | |||
| 3 | #include <sys/socket.h> | ||
| 4 | |||
| 5 | int main(int argc, char** argv) { | ||
| 6 | char buffer[12] = {0}; | ||
| 7 | |||
| 8 | CHK_FAIL_START | ||
| 9 | send(0, buffer, 14, 0); | ||
| 10 | CHK_FAIL_END | ||
| 11 | |||
| 12 | puts(buffer); | ||
| 13 | return ret; | ||
| 14 | } | ||
