]> p2p-next.cs.pub.ro Git - swifty.git/commitdiff
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 3b4b4d73cbf94457eeea54b8c4143709765d8074..18ca8a3a429940da9fe3cc447f51876ddb825420 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();
 }