]> git.saurik.com Git - apple/xnu.git/blobdiff - tests/socket_poll_close_25786011.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / tests / socket_poll_close_25786011.c
index b39b936ea7f20a779d465905c6813f47c47360de..92993534c8a5c1ce2936f9dcef4c3435970ae0bb 100644 (file)
@@ -3,6 +3,8 @@
 #include <sys/socket.h>
 #include <unistd.h>
 
+T_GLOBAL_META(T_META_RUN_CONCURRENTLY(true));
+
 T_DECL(socket_poll_close_25786011, "Tests an invalid poll call to a socket and then calling close.", T_META_LTEPHASE(LTE_POSTINIT))
 {
        int my_socket, ret;
@@ -17,7 +19,7 @@ T_DECL(socket_poll_close_25786011, "Tests an invalid poll call to a socket and t
         */
        struct pollfd my_pollfd = {
                .fd = my_socket,
-               .events = POLLEXTEND
+               .events = POLLEXTEND
        };
 
        /*