Change in osmo-pcap[master]: Cosmetic: README.md: document how to run tests

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Dec 10 16:46:39 UTC 2019


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcap/+/16532 )

Change subject: Cosmetic: README.md: document how to run tests
......................................................................

Cosmetic: README.md: document how to run tests

Mention the setcap command, that makes external tests work.

Related: OS#4317
Change-Id: Idc18925f0b71164b52248ca9312b997681d15241
---
M README.md
1 file changed, 9 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/README.md b/README.md
index b65b877..791e28f 100644
--- a/README.md
+++ b/README.md
@@ -40,6 +40,15 @@
 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.

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcap/+/16532
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcap
Gerrit-Branch: master
Gerrit-Change-Id: Idc18925f0b71164b52248ca9312b997681d15241
Gerrit-Change-Number: 16532
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191210/f7c38312/attachment.htm>


More information about the gerrit-log mailing list