1*2c2f96dcSApple OSS Distributions #ifndef XNU_QUICK_TEST_HELPERS_H 2*2c2f96dcSApple OSS Distributions #define XNU_QUICK_TEST_HELPERS_H 3*2c2f96dcSApple OSS Distributions 4*2c2f96dcSApple OSS Distributions #include <stdlib.h> 5*2c2f96dcSApple OSS Distributions #include <sys/stat.h> 6*2c2f96dcSApple OSS Distributions #include <sys/syslimits.h> 7*2c2f96dcSApple OSS Distributions 8*2c2f96dcSApple OSS Distributions #define TEST_DIRECTORY "/tmp" 9*2c2f96dcSApple OSS Distributions 10*2c2f96dcSApple OSS Distributions extern char g_target_path[PATH_MAX]; 11*2c2f96dcSApple OSS Distributions 12*2c2f96dcSApple OSS Distributions int create_random_name( char *the_pathp, int do_open ); 13*2c2f96dcSApple OSS Distributions void create_target_directory( const char * the_targetp ); 14*2c2f96dcSApple OSS Distributions void remove_target_directory( void ); 15*2c2f96dcSApple OSS Distributions 16*2c2f96dcSApple OSS Distributions #endif 17