Lines Matching refs:test
91 assert_se(journal_file_open("test.journal", O_RDWR|O_CREAT, 0666, true, !!verification_key, NULL, NULL, NULL, &f) == 0);
96 char *test;
100 assert_se(asprintf(&test, "RANDOM=%lu", random() % RANDOM_RANGE));
102 iovec.iov_base = (void*) test;
103 iovec.iov_len = strlen(test);
107 free(test);
114 assert_se(journal_file_open("test.journal", O_RDONLY, 0666, true, !!verification_key, NULL, NULL, NULL, &f) == 0);
131 assert_se(stat("test.journal", &st) >= 0);
134 bit_toggle("test.journal", p);
138 if (raw_verify("test.journal", verification_key) >= 0)
141 bit_toggle("test.journal", p);