755a842dcd8a98150394ccd7319d057a74b7b976
[swifty.git] / src / raw / test / test_sw_recvfrom.c
1 /*
2  * Test sw_recvfrom "syscall".
3  */
4
5 #include "test_sw.h"
6 #include "test.h"
7
8 static void recvfrom_dummy(void);
9 static void recvfrom_invalid_descriptor(void);
10 static void recvfrom_descriptor_is_not_a_socket(void);
11 static void recvfrom_socket_is_not_bound(void);
12 static void recvfrom_after_sendto_ok(void);
13 static void recvfrom_after_sendmsg_ok(void);
14
15 void recvfrom_test_suite(void)
16 {
17         start_suite();
18         recvfrom_dummy();
19 }
20
21 static void recvfrom_dummy(void)
22 {
23         test(1 == 1);
24 }
25