aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-tcpdump-start.sh
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-18 14:14:44 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-18 14:14:44 +0100
commitd71c3438185cba1a9c27391e239e4522523336f9 (patch)
tree5893fc5f935d61d2e5449e8acda3726f9e956cb0 /ttcn3-tcpdump-start.sh
parentc7872fa0c0dec4a6d513a2793456ea06a9ff2c1d (diff)
ttcn3-tcpdump-start.sh: Don't call tcpdump log files ".log"
The problem is that we use ttcn3_logmerge FOO_Tests.*.log and that the tcpdump stdout log files also match this pattern. Call them .pcap.stdout in order to avoid them falling into the globbing pattern of the TITAN log files. Change-Id: Iac1ae217b006182121d86375ffa4d3c00ef37e8b
Diffstat (limited to 'ttcn3-tcpdump-start.sh')
-rwxr-xr-xttcn3-tcpdump-start.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttcn3-tcpdump-start.sh b/ttcn3-tcpdump-start.sh
index 0ce88e96..7321b520 100755
--- a/ttcn3-tcpdump-start.sh
+++ b/ttcn3-tcpdump-start.sh
@@ -20,7 +20,7 @@ if [ "$(id -u)" = "0" ]; then
else
CMD="sudo $TCPDUMP"
fi
-$CMD -U -s 0 -n -i any -w "$TTCN3_PCAP_PATH/$TESTCASE.pcap" >$TTCN3_PCAP_PATH/$TESTCASE.pcap.log 2>&1 &
+$CMD -U -s 0 -n -i any -w "$TTCN3_PCAP_PATH/$TESTCASE.pcap" >$TTCN3_PCAP_PATH/$TESTCASE.pcap.stdout 2>&1 &
PID=$!
echo $PID > $PIDFILE