raw: Add socket_manager.c symlink.
[swifty.git] / src / raw / test / test_sw_sendmsg.c
index 58ff8bb..36b35a8 100644 (file)
@@ -30,9 +30,33 @@ void sendmsg_test_suite(void)
 {
        start_suite();
        sendmsg_dummy();
+       sendmsg_invalid_descriptor();
+       sendmsg_descriptor_is_not_socket();
+       sendmsg_socket_is_not_bound();
+       sendmsg_ok();
 }
 
 static void sendmsg_dummy(void)
 {
-       test(1 == 1);
+       test (1 == 1);
+}
+
+static void sendmsg_invalid_descriptor(void)
+{
+       test (1 == 0);
+}
+
+static void sendmsg_descriptor_is_not_socket(void)
+{
+       test (1 == 0);
+}
+
+static void sendmsg_socket_is_not_bound(void)
+{
+       test (1 == 0);
+}
+
+static void sendmsg_ok(void)
+{
+       test (1 == 0);
 }