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