diff options
Diffstat (limited to 'tools/libaio/harness/main.c')
-rw-r--r-- | tools/libaio/harness/main.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/tools/libaio/harness/main.c b/tools/libaio/harness/main.c deleted file mode 100644 index 74b2764620..0000000000 --- a/tools/libaio/harness/main.c +++ /dev/null @@ -1,39 +0,0 @@ -#include <stdio.h> -#include <errno.h> -#include <assert.h> -#include <stdlib.h> - -#include <sys/types.h> -#include <sys/stat.h> -#include <fcntl.h> -#include <unistd.h> - -#include <libaio.h> - -#if defined(__i386__) -#define KERNEL_RW_POINTER ((void *)0xc0010000) -#else -//#warning Not really sure where kernel memory is. Guessing. -#define KERNEL_RW_POINTER ((void *)0xffffffffc0010000) -#endif - - -char test_name[] = TEST_NAME; - -#include TEST_NAME - -int main(void) -{ - int res; - -#if defined(SETUP) - SETUP; -#endif - - res = test_main(); - printf("test %s completed %s.\n", test_name, - res ? "FAILED" : "PASSED" - ); - fflush(stdout); - return res ? 1 : 0; -} |