diff options
Diffstat (limited to 'src/transport')
6 files changed, 6 insertions, 6 deletions
diff --git a/src/transport/test_communicator_tcp_basic_peer1.conf b/src/transport/test_communicator_tcp_basic_peer1.conf index d9fff8bbb..dbc227ac6 100644 --- a/src/transport/test_communicator_tcp_basic_peer1.conf +++ b/src/transport/test_communicator_tcp_basic_peer1.conf | |||
@@ -36,7 +36,7 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/test_gnunet-communicator-unix_1.sock | |||
36 | 36 | ||
37 | [communicator-tcp] | 37 | [communicator-tcp] |
38 | #PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args | 38 | #PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args |
39 | PREFIX = valgrind --leak-check=full --track-origins=yes | 39 | #PREFIX = valgrind --leak-check=full --track-origins=yes |
40 | BINDTO = 60002 | 40 | BINDTO = 60002 |
41 | DISABLE_V6 = YES | 41 | DISABLE_V6 = YES |
42 | 42 | ||
diff --git a/src/transport/test_transport_api2_tcp_node1.conf b/src/transport/test_transport_api2_tcp_node1.conf index d6932b1b9..e38744949 100644 --- a/src/transport/test_transport_api2_tcp_node1.conf +++ b/src/transport/test_transport_api2_tcp_node1.conf | |||
@@ -15,7 +15,7 @@ DISABLE_V6 = YES | |||
15 | IMMEDIATE_START = YES | 15 | IMMEDIATE_START = YES |
16 | UNIXPATH = $GNUNET_RUNTIME_DIR/tcp-comm-p1.sock | 16 | UNIXPATH = $GNUNET_RUNTIME_DIR/tcp-comm-p1.sock |
17 | #PREFIX = valgrind --log-file=/tmp/vg_cpeer1-%p | 17 | #PREFIX = valgrind --log-file=/tmp/vg_cpeer1-%p |
18 | PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args | 18 | #PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args |
19 | 19 | ||
20 | [communicator-udp] | 20 | [communicator-udp] |
21 | BINARY = gnunet-communicator-udp | 21 | BINARY = gnunet-communicator-udp |
diff --git a/src/transport/test_transport_simple_send.sh b/src/transport/test_transport_simple_send.sh index e7da65ff7..3d5266622 100755 --- a/src/transport/test_transport_simple_send.sh +++ b/src/transport/test_transport_simple_send.sh | |||
@@ -2,7 +2,7 @@ | |||
2 | if ! [ -d "/run/netns" ]; then | 2 | if ! [ -d "/run/netns" ]; then |
3 | echo You have to create the directory /run/netns. | 3 | echo You have to create the directory /run/netns. |
4 | fi | 4 | fi |
5 | if [ "$(cat /proc/sys/kernel/core_uses_pid)" == 1 ]; then | 5 | if [ "$(cat /proc/sys/kernel/unprivileged_userns_clone)" == 1 ]; then |
6 | exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; ./test_transport_start_with_config test_transport_simple_send_topo.conf" | 6 | exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; ./test_transport_start_with_config test_transport_simple_send_topo.conf" |
7 | else | 7 | else |
8 | echo -e "Error during test setup: The kernel parameter kernel.unprivileged_userns_clone has to be set to 1! One has to execute\n\n sysctl kernel.unprivileged_userns_clone=1\n" | 8 | echo -e "Error during test setup: The kernel parameter kernel.unprivileged_userns_clone has to be set to 1! One has to execute\n\n sysctl kernel.unprivileged_userns_clone=1\n" |
diff --git a/src/transport/test_transport_simple_send_broadcast.sh b/src/transport/test_transport_simple_send_broadcast.sh index 93572327b..f264b1203 100755 --- a/src/transport/test_transport_simple_send_broadcast.sh +++ b/src/transport/test_transport_simple_send_broadcast.sh | |||
@@ -2,7 +2,7 @@ | |||
2 | if ! [ -d "/run/netns" ]; then | 2 | if ! [ -d "/run/netns" ]; then |
3 | echo You have to create the directory /run/netns. | 3 | echo You have to create the directory /run/netns. |
4 | fi | 4 | fi |
5 | if [ "$(cat /proc/sys/kernel/core_uses_pid)" == 1 ]; then | 5 | if [ "$(cat /proc/sys/kernel/unprivileged_userns_clone)" == 1 ]; then |
6 | # exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; valgrind --leak-check=full --track-origins=yes --trace-children=yes --trace-children-skip=/usr/bin/awk,/usr/bin/cut,/usr/bin/seq,/sbin/ip/sed/bash ./test_transport_start_with_config test_transport_simple_send_broadcast_topo.conf" | 6 | # exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; valgrind --leak-check=full --track-origins=yes --trace-children=yes --trace-children-skip=/usr/bin/awk,/usr/bin/cut,/usr/bin/seq,/sbin/ip/sed/bash ./test_transport_start_with_config test_transport_simple_send_broadcast_topo.conf" |
7 | exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; ./test_transport_start_with_config test_transport_simple_send_broadcast_topo.conf" | 7 | exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; ./test_transport_start_with_config test_transport_simple_send_broadcast_topo.conf" |
8 | else | 8 | else |
diff --git a/src/transport/test_transport_simple_send_string.sh b/src/transport/test_transport_simple_send_string.sh index f9510e6b6..b2bd05d5f 100755 --- a/src/transport/test_transport_simple_send_string.sh +++ b/src/transport/test_transport_simple_send_string.sh | |||
@@ -11,7 +11,7 @@ EOF | |||
11 | if ! [ -d "/run/netns" ]; then | 11 | if ! [ -d "/run/netns" ]; then |
12 | echo You have to create the directory /run/netns. | 12 | echo You have to create the directory /run/netns. |
13 | fi | 13 | fi |
14 | if [ "$(cat /proc/sys/kernel/core_uses_pid)" == 1 ]; then | 14 | if [ "$(cat /proc/sys/kernel/unprivileged_userns_clone)" == 1 ]; then |
15 | exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; ./test_transport_start_with_config -s '$string'" | 15 | exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; ./test_transport_start_with_config -s '$string'" |
16 | else | 16 | else |
17 | echo -e "Error during test setup: The kernel parameter kernel.unprivileged_userns_clone has to be set to 1! One has to execute\n\n sysctl kernel.unprivileged_userns_clone=1\n" | 17 | echo -e "Error during test setup: The kernel parameter kernel.unprivileged_userns_clone has to be set to 1! One has to execute\n\n sysctl kernel.unprivileged_userns_clone=1\n" |
diff --git a/src/transport/test_transport_udp_backchannel.sh b/src/transport/test_transport_udp_backchannel.sh index f93aef7ff..b42186307 100755 --- a/src/transport/test_transport_udp_backchannel.sh +++ b/src/transport/test_transport_udp_backchannel.sh | |||
@@ -2,7 +2,7 @@ | |||
2 | if ! [ -d "/run/netns" ]; then | 2 | if ! [ -d "/run/netns" ]; then |
3 | echo You have to create the directory /run/netns. | 3 | echo You have to create the directory /run/netns. |
4 | fi | 4 | fi |
5 | if [ "$(cat /proc/sys/kernel/core_uses_pid)" == 1 ]; then | 5 | if [ "$(cat /proc/sys/kernel/unprivileged_userns_clone)" == 1 ]; then |
6 | #exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; valgrind --leak-check=full --track-origins=yes --trace-children=yes --trace-children-skip=/usr/bin/awk,/usr/bin/cut,/usr/bin/seq,/sbin/ip ./test_transport_start_with_config test_transport_udp_backchannel_topo.conf" | 6 | #exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; valgrind --leak-check=full --track-origins=yes --trace-children=yes --trace-children-skip=/usr/bin/awk,/usr/bin/cut,/usr/bin/seq,/sbin/ip ./test_transport_start_with_config test_transport_udp_backchannel_topo.conf" |
7 | exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; ./test_transport_start_with_config test_transport_udp_backchannel_topo.conf" | 7 | exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; ./test_transport_start_with_config test_transport_udp_backchannel_topo.conf" |
8 | # exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; valgrind --leak-check=full --track-origins=yes ./test_transport_start_with_config test_transport_udp_backchannel_topo.conf" | 8 | # exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; valgrind --leak-check=full --track-origins=yes ./test_transport_start_with_config test_transport_udp_backchannel_topo.conf" |