aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite-capture.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-04-26 13:52:19 -0700
committerGerald Combs <gerald@wireshark.org>2016-04-26 20:52:08 +0000
commit7f710ef2b54d9eeb06c35ab1bd834f2df0696024 (patch)
treec662509816d133faa6e74b3896593886aec345ed /test/suite-capture.sh
parentf52c3c468a508e1e770c32d479cdd761cb412af8 (diff)
Test: more suite-capture debugging.
Change-Id: I94967aeabdf2786868c3f7fce9e95633332d4948 Reviewed-on: https://code.wireshark.org/review/15123 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'test/suite-capture.sh')
-rwxr-xr-xtest/suite-capture.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/suite-capture.sh b/test/suite-capture.sh
index badf9a758e..a60b3beeae 100755
--- a/test/suite-capture.sh
+++ b/test/suite-capture.sh
@@ -213,6 +213,7 @@ capture_step_stdin() {
fi
set -xv
+ date
(cat "${CAPTURE_DIR}dhcp.pcap"; sleep 1; tail -c +25 "${CAPTURE_DIR}dhcp.pcap") | \
$DUT -i - $TRAFFIC_CAPTURE_PROMISC \
-w ./testout.pcap \
@@ -220,6 +221,7 @@ capture_step_stdin() {
$CONSOLE_LOG_ARGS \
> ./testout.txt 2> ./testerr.txt
RETURNVALUE=$?
+ date
set +xv
if [ ! $RETURNVALUE -eq $EXIT_OK ]; then
capture_test_output_print ./testout.txt ./testerr.txt ./dumpcap_debug_log.tmp