aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/suite-capture.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/suite-capture.sh b/test/suite-capture.sh
index cfe7ca1d48..1a08b72c19 100755
--- a/test/suite-capture.sh
+++ b/test/suite-capture.sh
@@ -201,14 +201,12 @@ capture_step_fifo() {
# capture packets via a fifo
capture_step_stdin() {
- set -x
(cat $CAPFILE; sleep 1; tail -c +25 $CAPFILE) | \
$DUT -i - $TRAFFIC_CAPTURE_PROMISC \
-w ./testout.pcap \
-a duration:$TRAFFIC_CAPTURE_DURATION \
> ./testout.txt 2>&1
RETURNVALUE=$?
- set +x
if [ ! $RETURNVALUE -eq $EXIT_OK ]; then
capture_test_output_print ./testout.txt
test_step_failed "exit status of $DUT: $RETURNVALUE"