#include "dsasl-client.h"
#include "sasl-server.h"
#include "test-common.h"
+#include "test-dir.h"
#include "test-subprocess.h"
#include "settings.h"
#include "smtp-server.h"
/* client settings */
i_zero(&smtp_client_set);
smtp_client_set.my_hostname = "localhost";
- smtp_client_set.temp_path_prefix = "/tmp";
+ smtp_client_set.temp_path_prefix = test_dir_get();
smtp_client_set.command_timeout_msecs = CLIENT_PROGRESS_TIMEOUT_MSECS;
smtp_client_set.connect_timeout_msecs = CLIENT_PROGRESS_TIMEOUT_MSECS;
smtp_client_set.sasl_mechanisms = tset.sasl_mech;
test_init();
event_set_forced_debug(test_event, debug);
+ test_dir_init("smtp-payload");
test_subprocesses_init();
/* listen on localhost */