64-bit VFS_LSEEK_OFF
[minix3.git] / test / common.h
blob69e3237f56659595783f33aedf8f57618234f727
2 #include <errno.h>
3 #include <stdlib.h>
4 #include <string.h>
5 #include <unistd.h>
6 #include <stdio.h>
7 #include <time.h>
8 #include <sys/statvfs.h>
10 #define e(errn) e_f(__FILE__, __LINE__, (errn))
11 #define em(errn,msg) do { fprintf(stderr, "%s\n", msg); e(errn); } while(0)
13 #define BIGVARNAME "BIGTEST"
15 void printprogress(char *msg, int i, int max);
16 void cleanup(void);
17 int does_fs_truncate(void);
18 void e_f(char *file, int lineno, int n);
19 int name_max(char *path);
20 void quit(void);
21 void rm_rf_dir(int test_nr);
22 void rm_rf_ppdir(int test_nr);
23 void start(int test_nr);
24 void getmem(u32_t *total, u32_t *free, u32_t *cached);
26 extern int common_test_nr, errct, subtest;