Searched refs:run_pump (Results 1 - 1 of 1) sorted by relevance

/dovecot/src/lib/
H A Dtest-iostream-pump.c69 const char *run_pump(struct istream *in, struct ostream *out, int *counter, buffer_t *out_buffer) function
148 test_assert(strcmp(run_pump(in, out, &counter, buffer), "hello, world") == 0);
167 test_assert(strcmp(run_pump(in, out, &counter, buffer), "") == 0);
186 test_assert(strcmp(run_pump(in, out, &counter, buffer), "hell") == 0);
205 test_assert(strcmp(run_pump(in, out, &counter, buffer), "hello, world") == 0);
224 test_assert(strcmp(run_pump(in, out, &counter, buffer), "") == 0);
245 test_assert(strcmp(run_pump(in, out, &counter, buffer), block ? "" : "hel") == 0);
268 test_assert(strcmp(run_pump(in, out, &counter, buffer), "hello, world") == 0);

Completed in 10 milliseconds