diff options
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/Makefile.am | 6 | ||||
-rw-r--r-- | src/transport/test_transport_simple_send.sh | 2 |
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) | ||
701 | if HAVE_GETOPT_BINARY | 702 | if HAVE_GETOPT_BINARY |
702 | TESTS += \ | 703 | TESTS += \ |
703 | test_transport_api_slow_ats | 704 | test_transport_api_slow_ats |
@@ -722,6 +723,9 @@ TESTS += \ | |||
722 | endif | 723 | endif |
723 | endif | 724 | endif |
724 | 725 | ||
726 | check_SCRIPTS= \ | ||
727 | test_transport_simple_send.sh | ||
728 | |||
725 | test_transport_api_cmd_simple_send_SOURCES = \ | 729 | test_transport_api_cmd_simple_send_SOURCES = \ |
726 | test_transport_api_cmd_simple_send.c | 730 | test_transport_api_cmd_simple_send.c |
727 | test_transport_api_cmd_simple_send_LDADD = \ | 731 | test_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 | ||
2 | exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; ./test_transport_simple_send" | ||