int main(int argc, char *argv[]) { arg_keep = argc > 1; /* journal_file_open requires a valid machine id */ if (access("/etc/machine-id", F_OK) != 0) return EXIT_TEST_SKIP; test_non_empty(); test_empty(); return 0; }
int main(int argc, char *argv[]) { arg_keep = argc > 1; test_setup_logging(LOG_INFO); /* journal_file_open requires a valid machine id */ if (access("/etc/machine-id", F_OK) != 0) return log_tests_skipped("/etc/machine-id not found"); test_non_empty(); test_empty(); #if HAVE_XZ || HAVE_LZ4 test_min_compress_size(); #endif return 0; }