Lines Matching refs:assert_ret
46 #define assert_ret(expr) \
55 assert_ret(journal_file_open(name, O_RDWR|O_CREAT, 0644, true, false, NULL, NULL, NULL, &f));
82 assert_ret(journal_file_append_entry(f, &ts, iovec, 1, seqnum, NULL, NULL));
92 assert_ret(sd_journal_get_data(j, "NUMBER", &d, &l));
106 assert_ret(r = sd_journal_next(j));
119 assert_ret(r = sd_journal_previous(j));
164 assert_ret(sd_journal_open_directory(&j, t, 0));
165 assert_ret(sd_journal_seek_head(j));
166 assert_ret(sd_journal_next(j));
172 assert_ret(sd_journal_open_directory(&j, t, 0));
173 assert_ret(sd_journal_seek_tail(j));
174 assert_ret(sd_journal_previous(j));
180 assert_ret(sd_journal_open_directory(&j, t, 0));
181 assert_ret(sd_journal_seek_tail(j));
182 assert_ret(r = sd_journal_previous_skip(j, 4));
189 assert_ret(sd_journal_open_directory(&j, t, 0));
190 assert_ret(sd_journal_seek_head(j));
191 assert_ret(r = sd_journal_next_skip(j, 4));