X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d9a64523371fa019c4575bb400cbbc3a50ac9903..c3c9b80d004dbbfdf763edeb97968c6997e3b45b:/tests/mach_port_deallocate_21692215.c diff --git a/tests/mach_port_deallocate_21692215.c b/tests/mach_port_deallocate_21692215.c index 4b84428f6..f072b1041 100644 --- a/tests/mach_port_deallocate_21692215.c +++ b/tests/mach_port_deallocate_21692215.c @@ -4,21 +4,23 @@ #include #include +T_GLOBAL_META(T_META_RUN_CONCURRENTLY(true)); + #define NR_PORTS 4 T_DECL(mach_port_deallocate, "mach_port_deallocate deallocates also PORT_SET"){ mach_port_t port_set; mach_port_t port[NR_PORTS]; - int i,ret; + int i, ret; - ret= mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_PORT_SET, &port_set); + ret = mach_port_allocate(mach_task_self(), MACH_PORT_RIGHT_PORT_SET, &port_set); T_ASSERT_MACH_SUCCESS(ret, "mach_port_allocate MACH_PORT_RIGHT_PORT_SET"); - for(i=0;i