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