aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_simple_send_dv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_transport_simple_send_dv.sh')
-rwxr-xr-xsrc/transport/test_transport_simple_send_dv.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/transport/test_transport_simple_send_dv.sh b/src/transport/test_transport_simple_send_dv.sh
deleted file mode 100755
index fa127cfa4..000000000
--- a/src/transport/test_transport_simple_send_dv.sh
+++ /dev/null
@@ -1,11 +0,0 @@
1#!/bin/bash
2if ! [ -d "/run/netns" ]; then
3 echo You have to create the directory /run/netns.
4fi
5if [ "$(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_distance_vector_topo.conf"
7 exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; ./test_transport_start_with_config test_transport_distance_vector_topo.conf"
8else
9 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"
10 exit 78
11fi