ada5eb73708a242584fbdff400500c8be255b36a
[swifty.git] / src / raw / test / test_sw_sendmsg.c
1 /*
2  * Test sw_sendmsg "syscall".
3  */
4
5 #include "test_sw.h"
6 #include "test.h"
7
8 static void sendmsg_dummy(void);
9 static void sendmsg_invalid_descriptor(void);
10 static void sendmsg_descriptor_is_not_socket(void);
11 static void sendmsg_socket_is_not_bound(void);
12 static void sendmsg_ok(void);
13
14 void sendmsg_test_suite(void)
15 {
16         start_suite();
17         sendmsg_dummy();
18 }
19
20 static void sendmsg_dummy(void)
21 {
22         test(1 == 1);
23 }