9 #include <sys/statvfs.h>
11 #define e(errn) e_f(__FILE__, __LINE__, (errn))
12 #define em(errn,msg) do { fprintf(stderr, "%s\n", msg); e(errn); } while(0)
13 #define efmt(...) fail_printf(__FILE__, __FUNCTION__, __LINE__, __VA_ARGS__)
15 #define BIGVARNAME "BIGTEST"
17 void printprogress(char *msg
, int i
, int max
);
19 int does_fs_truncate(void);
20 void e_f(char *file
, int lineno
, int n
);
21 void fail_printf(const char *file
, const char *func
, int line
,
22 const char *fmt
, ...) __attribute__ ((format(printf
, 4, 5)));
23 int name_max(char *path
);
25 void rm_rf_dir(int test_nr
);
26 void rm_rf_ppdir(int test_nr
);
27 void start(int test_nr
);
28 void getmem(uint32_t *total
, uint32_t *free
, uint32_t *cached
);
29 int get_setting_use_network(void);
31 extern int common_test_nr
, errct
, subtest
;
32 int system_p(const char *command
);