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