static int
test_program_input_handle(struct test_client *client, const char *line)
{
+ const char *tmp_prefix = test_dir_prepend("program-client-unix.");
int cmp = -1;
const char *arg;
case CLIENT_STATE_BODY:
if (client->os_body == NULL) {
client->os_body = iostream_temp_create_named(
- ".dovecot.test.", 0, "test_program_input body");
+ tmp_prefix, 0, "test_program_input body");
}
if (client->is_body == NULL)
client->is_body = i_stream_create_dot(client->in,
}
}
+ test_dir_init("program-client-net");
ret = test_run(tests);
event_unref(&event);
static int
test_program_input_handle(struct test_client *client, const char *line)
{
+ const char *tmp_prefix = test_dir_prepend("program-client-unix.");
int cmp = -1;
const char *arg;
case CLIENT_STATE_BODY:
if (client->os_body == NULL) {
client->os_body = iostream_temp_create_named(
- ".dovecot.test.", 0, "test_program_input body");
+ tmp_prefix, 0, "test_program_input body");
}
switch (o_stream_send_istream(client->os_body, client->in)) {
case OSTREAM_SEND_ISTREAM_RESULT_ERROR_OUTPUT:
}
}
+ test_dir_init("program-client-unix");
ret = test_run(tests);
event_unref(&event);