aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2021-01-08 01:03:25 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2021-01-08 16:51:37 +0100
commit096f6a0030aa5a384df7466b4b0fc7506fc4611b (patch)
treeb7b20a1beefe27c1e52b9f0ab210ad3f6466f9b1
parentda8c47ecb5cb34a871d7f2d32f5666a81120d45a (diff)
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
-rwxr-xr-xttcn3-gbproxy-test-fr/jenkins.sh2
-rwxr-xr-xttcn3-gbproxy-test/jenkins.sh3
2 files changed, 4 insertions, 1 deletions
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 @@ SUBNET=25
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 @@ SUBNET=24
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