gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -launch via script


From: gnunet
Subject: [gnunet] branch master updated: -launch via script
Date: Mon, 30 Aug 2021 09:38:48 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new c6cdedd41 -launch via script
c6cdedd41 is described below

commit c6cdedd416647bd28ee25d8d83f83a1233db2d5a
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Aug 30 09:35:00 2021 +0200

    -launch via script
---
 src/transport/Makefile.am                   | 6 +++++-
 src/transport/test_transport_simple_send.sh | 2 ++
 2 files changed, 7 insertions(+), 1 deletion(-)

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 = \
  $(HTTP_API_TIMEOUT_TEST) \
  $(HTTPS_API_TIMEOUT_TEST) \
  $(WLAN_TIMEOUT_TEST) \
- $(BT_TIMEOUT_TEST)
+ $(BT_TIMEOUT_TEST) \
+ $(check_SCRIPTS)
 if HAVE_GETOPT_BINARY
 TESTS += \
 test_transport_api_slow_ats
@@ -722,6 +723,9 @@ TESTS += \
 endif
 endif
 
+check_SCRIPTS= \
+  test_transport_simple_send.sh
+
 test_transport_api_cmd_simple_send_SOURCES = \
  test_transport_api_cmd_simple_send.c
 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 @@
+#!/bin/bash
+exec unshare -r -nmU bash -c "mount -t tmpfs --make-rshared tmpfs /run/netns; 
./test_transport_simple_send"

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]