aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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