} while (0)
#define COMPARE_WRITE_TIME_EQUAL(given,correct) \
COMPARE_WRITE_TIME_CMP(given,correct,!=)
-#define COMPARE_WRITE_TIME_GREATER(given,correct) \
- COMPARE_WRITE_TIME_CMP(given,correct,<=)
#define COMPARE_ACCESS_TIME_CMP(given, correct, cmp) do { \
COMPARE_TIME_CMP(given, access_time, correct, access_time, cmp); \
} while (0)
#define COMPARE_ACCESS_TIME_EQUAL(given,correct) \
COMPARE_ACCESS_TIME_CMP(given,correct,!=)
-#define COMPARE_ACCESS_TIME_GREATER(given,correct) \
- COMPARE_ACCESS_TIME_CMP(given,correct,<=)
#define COMPARE_CHANGE_TIME_CMP(given, correct, cmp) do { \
COMPARE_TIME_CMP(given, change_time, correct, change_time, cmp); \
} while (0)
#define COMPARE_CHANGE_TIME_EQUAL(given,correct) \
COMPARE_CHANGE_TIME_CMP(given,correct,!=)
-#define COMPARE_CHANGE_TIME_GREATER(given,correct) \
- COMPARE_CHANGE_TIME_CMP(given,correct,<=)
#define COMPARE_CREATE_TIME_CMP(given, correct, cmp) do { \
COMPARE_TIME_CMP(given, create_time, correct, create_time, cmp); \
COMPARE_CREATE_TIME_EQUAL(given,correct); \
} while (0)
-#define COMPARE_TIMES_AFTER_WRITE(given,correct) do { \
- COMPARE_WRITE_TIME_GREATER(given,correct); \
- COMPARE_CHANGE_TIME_GREATER(given,correct); \
- COMPARE_ACCESS_TIME_EQUAL(given,correct); \
- COMPARE_CREATE_TIME_EQUAL(given,correct); \
- COMPARE_TIME_CMP(given, change_time, given, write_time, !=); \
-} while (0)
-
-#define COMPARE_TIMES_AFTER_CLOSE(given,correct) do { \
- COMPARE_WRITE_TIME_GREATER(given,correct); \
- COMPARE_CHANGE_TIME_GREATER(given,correct); \
- COMPARE_ACCESS_TIME_GREATER(given,correct); \
- COMPARE_CREATE_TIME_EQUAL(given,correct); \
- COMPARE_TIME_CMP(given, change_time, given, write_time, !=); \
- COMPARE_TIME_CMP(given, access_time, given, write_time, !=); \
-} while (0)
-
#define GET_INFO_FILE(tree, finfo) do { \
struct timeval _atv; \
struct timeval _wtv; \