aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/Makefile.am6
-rw-r--r--src/transport/test_transport_simple_send.sh2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index 70687f7b5..61b3bab7c 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -697,7 +697,8 @@ TESTS = \
697 $(HTTP_API_TIMEOUT_TEST) \ 697 $(HTTP_API_TIMEOUT_TEST) \
698 $(HTTPS_API_TIMEOUT_TEST) \ 698 $(HTTPS_API_TIMEOUT_TEST) \
699 $(WLAN_TIMEOUT_TEST) \ 699 $(WLAN_TIMEOUT_TEST) \
700 $(BT_TIMEOUT_TEST) 700 $(BT_TIMEOUT_TEST) \
701 $(check_SCRIPTS)
701if HAVE_GETOPT_BINARY 702if HAVE_GETOPT_BINARY
702TESTS += \ 703TESTS += \
703test_transport_api_slow_ats 704test_transport_api_slow_ats
@@ -722,6 +723,9 @@ TESTS += \
722endif 723endif
723endif 724endif
724 725
726check_SCRIPTS= \
727 test_transport_simple_send.sh
728
725test_transport_api_cmd_simple_send_SOURCES = \ 729test_transport_api_cmd_simple_send_SOURCES = \
726 test_transport_api_cmd_simple_send.c 730 test_transport_api_cmd_simple_send.c
727test_transport_api_cmd_simple_send_LDADD = \ 731test_transport_api_cmd_simple_send_LDADD = \
diff --git a/src/transport/test_transport_simple_send.sh b/src/transport/test_transport_simple_send.sh
new file mode 100644
index 000000000..25d5b6797
--- /dev/null
+++ b/src/transport/test_transport_simple_send.sh
@@ -0,0 +1,2 @@
1#!/bin/bash
2exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; ./test_transport_simple_send"