[PATHS]
-SERVICEHOME = /tmp/test-gnunet-core-quote-peer-1/
+SERVICEHOME = /tmp/test-gnunet-core-quota-asym-recv-lim-peer-1/
DEFAULTCONFIG = test_core_quota_asymmetric_recv_limited_peer1.conf
[resolver]
[statistics]
PORT = 12487
+UNIXPATH = /tmp/gnunet-core-asym-recv-p1-service-statistics.sock
#PREFIX = xterm -T statistics1 -e valgrind --tool=memcheck
[transport-tcp]
[PATHS]
-SERVICEHOME = /tmp/test-gnunet-core-quote-peer-2/
+SERVICEHOME = /tmp/test-gnunet-core-quota-asym-recv-lim-peer-2/
DEFAULTCONFIG = test_core_quota_asymmetric_recv_limited_peer2.conf
[resolver]
[PATHS]
-SERVICEHOME = /tmp/test-gnunet-core-quote-peer-1/
+SERVICEHOME = /tmp/test-gnunet-core-quota-asym-sender-lim-peer-1/
DEFAULTCONFIG = test_core_quota_asymmetric_send_limited_peer1.conf
[resolver]
[statistics]
PORT = 12427
+UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-statistics.sock
#PREFIX = xterm -T statistics1 -e valgrind --tool=memcheck
[transport-tcp]
[PATHS]
-SERVICEHOME = /tmp/test-gnunet-core-quote-peer-2/
+SERVICEHOME = /tmp/test-gnunet-core-quota-asym-sender-lim-peer-2/
DEFAULTCONFIG = test_core_quota_asymmetric_send_limited_peer2.conf
[resolver]
#endif
NULL);
ret = check ();
- GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-1");
- GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-2");
+ if (test == SYMMETRIC)
+ {
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-quota-sym-peer-1/");
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-quota-sym-peer-2/");
+ }
+ else if (test == ASYMMETRIC_SEND_LIMITED)
+ {
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-quota-asym-sender-lim-peer-1/");
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-quota-asym-sender-lim-peer-2/");
+ }
+ else if (test == ASYMMETRIC_RECV_LIMITED)
+ {
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-quota-asym-recv-lim-peer-1/");
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-quota-asym-recv-lim-peer-2/");
+ }
+
+
return ret;
}
[PATHS]
-SERVICEHOME = /tmp/test-gnunet-core-quote-peer-1/
+SERVICEHOME = /tmp/test-gnunet-core-quota-sym-peer-1/
DEFAULTCONFIG = test_core_quota_peer1.conf
[resolver]
#GLOBAL_PREFIX = xterm -e valgrind --tool=memcheck
[statistics]
+UNIXPATH = /tmp/gnunet-core-sym-p1-service-statistics.sock
PORT = 12477
+
#PREFIX = xterm -T statistics1 -e valgrind --tool=memcheck
[transport-tcp]
[PATHS]
-SERVICEHOME = /tmp/test-gnunet-core-quote-peer-2/
+SERVICEHOME = /tmp/test-gnunet-core-quota-sym-peer-2/
DEFAULTCONFIG = test_core_quota_peer2.conf
[resolver]