]> git.saurik.com Git - apple/xnu.git/blobdiff - tests/voucher_entry_18826844.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / tests / voucher_entry_18826844.c
index 24e246ad027ff062e0722a4673873a959cf3583f..9b6ea0837733d79446e0e82d1207e56f064f1606 100644 (file)
@@ -10,6 +10,8 @@
 #include <mach/mach.h>
 #include <darwintest.h>
 
+T_GLOBAL_META(T_META_RUN_CONCURRENTLY(true));
+
 T_DECL(voucher_entry, "voucher_entry", T_META_CHECK_LEAKS(false), T_META_ALL_VALID_ARCHS(true))
 {
        kern_return_t kr        = KERN_SUCCESS;
@@ -27,8 +29,8 @@ T_DECL(voucher_entry, "voucher_entry", T_META_CHECK_LEAKS(false), T_META_ALL_VAL
        };
 
        kr = host_create_mach_voucher(mach_host_self(),
-                                     (mach_voucher_attr_raw_recipe_array_t)&recipe,
-                                     sizeof(recipe), &voucher);
+           (mach_voucher_attr_raw_recipe_array_t)&recipe,
+           sizeof(recipe), &voucher);
 
        T_ASSERT_MACH_SUCCESS(kr, "host_create_mach_voucher");
 
@@ -75,4 +77,3 @@ T_DECL(voucher_entry, "voucher_entry", T_META_CHECK_LEAKS(false), T_META_ALL_VAL
 
        T_ASSERT_MACH_ERROR(KERN_INVALID_NAME, kr, "voucher should now be invalid name");
 }
-