Change in docker-playground[master]: ttcn3-gbproxy-test: Fix pcap capture with dumpcap

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/.

daniel gerrit-no-reply at lists.osmocom.org
Mon Jan 11 03:32:28 UTC 2021


daniel has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/22047 )

Change subject: ttcn3-gbproxy-test: Fix pcap capture with dumpcap
......................................................................

ttcn3-gbproxy-test: Fix pcap capture with dumpcap

In commit 2279aac6 dumpcap is used to capture pcaps, but dumpcap fails
if the directory isn't writable for everyone.
Commit 62ac27779 only fixed this issue for frame relay, this simply
mirrors the change for ttcn3-gbproxy-test

Change-Id: I11dcf9efd0b06544a82e31dec03fe76e182fd0d3
Related: OS#4518 SYS#5115
---
M ttcn3-gbproxy-test-fr/jenkins.sh
M ttcn3-gbproxy-test/jenkins.sh
2 files changed, 4 insertions(+), 1 deletion(-)

Approvals:
  daniel: Verified
  pespin: Looks good to me, but someone else must approve
  lynxis lazus: Looks good to me, approved



diff --git a/ttcn3-gbproxy-test-fr/jenkins.sh b/ttcn3-gbproxy-test-fr/jenkins.sh
index 7038810..78d98e2 100755
--- a/ttcn3-gbproxy-test-fr/jenkins.sh
+++ b/ttcn3-gbproxy-test-fr/jenkins.sh
@@ -24,7 +24,7 @@
 network_create $SUBNET
 
 mkdir $VOL_BASE_DIR/gbproxy-tester
-# if we don't change permissiosn, dumpcap fails to write (despite starting it as root!)
+# if we don't change permissions, dumpcap fails to write (despite starting it as root!)
 chmod a+w $VOL_BASE_DIR/gbproxy-tester
 cp GBProxy_Tests.cfg $VOL_BASE_DIR/gbproxy-tester/
 
diff --git a/ttcn3-gbproxy-test/jenkins.sh b/ttcn3-gbproxy-test/jenkins.sh
index acc7350..8150430 100755
--- a/ttcn3-gbproxy-test/jenkins.sh
+++ b/ttcn3-gbproxy-test/jenkins.sh
@@ -10,6 +10,9 @@
 network_create $SUBNET
 
 mkdir $VOL_BASE_DIR/gbproxy-tester
+# if we don't change permissions, dumpcap fails to write (despite starting it as root!)
+chmod a+w $VOL_BASE_DIR/gbproxy-tester
+
 cp GBProxy_Tests.cfg $VOL_BASE_DIR/gbproxy-tester/
 
 mkdir $VOL_BASE_DIR/sgsn

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/22047
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I11dcf9efd0b06544a82e31dec03fe76e182fd0d3
Gerrit-Change-Number: 22047
Gerrit-PatchSet: 2
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
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/20210111/b2806fc9/attachment.htm>


More information about the gerrit-log mailing list