raw: Run insufficient_file_descriptos function in child process.
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Sat, 21 May 2011 16:52:21 +0000 (19:52 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Sat, 21 May 2011 16:52:24 +0000 (19:52 +0300)
Used in sw_socket.c.

src/raw/test/test_sw_socket.c

index 3b4b4d7..18ca8a3 100644 (file)
@@ -34,7 +34,7 @@ void socket_test_suite(void)
        socket_invalid_domain();
        socket_invalid_type();
        socket_invalid_protocol();
-       socket_insufficient_file_descriptors();
+       run_as_child_process(socket_insufficient_file_descriptors);
        socket_ok();
 }