[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: try to fix test failure in
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: try to fix test failure in src/transport |
Date: |
Mon, 07 May 2018 10:10:51 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 5652b4e8b try to fix test failure in src/transport
5652b4e8b is described below
commit 5652b4e8b0b2641c51f8ee8f93c530c7814866a4
Author: Nils Gillmann <address@hidden>
AuthorDate: Mon May 7 08:11:14 2018 +0000
try to fix test failure in src/transport
Signed-off-by: Nils Gillmann <address@hidden>
---
src/transport/gnunet-helper-transport-wlan-dummy.c | 4 ++--
src/transport/test_plugin_transport.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/transport/gnunet-helper-transport-wlan-dummy.c
b/src/transport/gnunet-helper-transport-wlan-dummy.c
index f02d8bdd7..b8c1501d2 100644
--- a/src/transport/gnunet-helper-transport-wlan-dummy.c
+++ b/src/transport/gnunet-helper-transport-wlan-dummy.c
@@ -30,12 +30,12 @@
/**
* Name of the fifo to use for IPC with the other dummy process.
*/
-#define FIFO_FILE1 "/tmp/test-transport/api-wlan-p1/WLAN_FIFO_in"
+#define FIFO_FILE1 GNUNET_DISK_mktemp("test-transport/api-wlan-p1/")
"WLAN_FIFO_in"
/**
* Name of the fifo to use for IPC with the other dummy process.
*/
-#define FIFO_FILE2 "/tmp/test-transport/api-wlan-p1/WLAN_FIFO_out"
+#define FIFO_FILE2 GNUNET_DISK_mktemp("test-transport/api-wlan-p1/")
"WLAN_FIFO_out"
/**
* Maximum size of a message allowed in either direction
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;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: try to fix test failure in src/transport,
gnunet <=