summaryrefslogtreecommitdiff
path: root/src/transport/test_plugin_transport.c
diff options
context:
space:
mode:
authorNils Gillmann <ng0@n0.is>2018-05-07 08:11:14 +0000
committerNils Gillmann <ng0@n0.is>2018-05-07 08:11:14 +0000
commit5652b4e8b0b2641c51f8ee8f93c530c7814866a4 (patch)
tree78b38e59d2b614da26c0d1cf8d0bf6a7d84dfbb8 /src/transport/test_plugin_transport.c
parent0623c03225a8122a4338cc9b1f0483ded77df5b8 (diff)
try to fix test failure in src/transport
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r--src/transport/test_plugin_transport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c
index 1d92588ea..93e833aa8 100644
--- a/src/transport/test_plugin_transport.c
+++ b/src/transport/test_plugin_transport.c
@@ -1,6 +1,6 @@
/*
This file is part of GNUnet.
- Copyright (C) 2009 GNUnet e.V.
+ Copyright (C) 2009, 2018 GNUnet e.V.
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -747,7 +747,7 @@ main (int argc, char * const *argv)
GNUNET_GETOPT_OPTION_END };
int ret;
- GNUNET_DISK_directory_remove ("/tmp/test-gnunetd-plugin-transport");
+ GNUNET_DISK_directory_remove GNUNET_DISK_mktemp("test-gnunetd-plugin-transport");
char * const argv_prog[] = { "test_plugin_transport", "-c",
"test_plugin_transport_data.conf", NULL };
@@ -757,7 +757,7 @@ main (int argc, char * const *argv)
(GNUNET_OK
== GNUNET_PROGRAM_run (3, argv_prog, "test-plugin-transport",
"testcase", options, &run, (void *) argv)) ? ok : 1;
- GNUNET_DISK_directory_remove ("/tmp/test-gnunetd-plugin-transport");
+ GNUNET_DISK_directory_remove GNUNET_DISK_mktemp("test-gnunetd-plugin-transport");
return ret;
}