aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-12-10 15:34:59 +0100
committerOliver Smith <osmith@sysmocom.de>2019-12-10 15:39:50 +0100
commit47ea18eb8ef7ad43d9ffd19801109d7711170c45 (patch)
treea72418a72056669271335a720610e1b7fe2ac8ac
parentfdd62daa666daf8e1d2438072e4df10d7d4975e4 (diff)
Cosmetic: README.md: document how to run tests
Mention the setcap command, that makes external tests work. Related: OS#4317 Change-Id: Idc18925f0b71164b52248ca9312b997681d15241
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index b65b877..791e28f 100644
--- a/README.md
+++ b/README.md
@@ -40,6 +40,15 @@ There are Debian, Ubuntu, Raspbian packages available via the excellent
Please see the *contrib/osmo-pcap-server.cfg* and *contrib/osmo-pcap-client.cfg*
file in the repository
+## Running tests
+
+In order to run all tests, do the following:
+
+$ ./configure --enable-external-tests
+$ make -j5
+$ sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' src/osmo-pcap-client
+$ make check
+
## Wishlist/TODO
- [ ] Add non-blocking TLS (probably GNUtls) support between client and server.