Lines Matching defs:two
129 JournalFile *one, *two;
131 two = test_open("two.journal");
134 append_number(two, 3, NULL);
135 append_number(two, 4, NULL);
137 test_close(two);
141 JournalFile *one, *two;
143 two = test_open("two.journal");
145 append_number(two, 2, NULL);
147 append_number(two, 4, NULL);
149 test_close(two);
212 JournalFile *one, *two;
236 assert_se(journal_file_open("two.journal", O_RDWR|O_CREAT, 0644,
237 true, false, NULL, NULL, one, &two) == 0);
239 assert_se(two->header->state == STATE_ONLINE);
240 assert_se(!sd_id128_equal(two->header->file_id, one->header->file_id));
245 append_number(two, 3, &seqnum);
248 append_number(two, 4, &seqnum);
252 test_close(two);
267 assert_se(journal_file_open("two.journal", O_RDWR, 0,
268 true, false, NULL, NULL, NULL, &two) == 0);
270 assert_se(sd_id128_equal(two->header->seqnum_id, seqnum_id));
272 append_number(two, 7, &seqnum);
276 /* So..., here we have the same seqnum in two files with the
279 test_close(two);