diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-06-29 23:10:49 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-06-29 23:10:49 +0000 |
commit | 2d306873c99b7d2b774177a6b8840d4865c756e4 (patch) | |
tree | aacee4fdc1a604f776b779dbc54e77b8ea2c9b1f /test/suite-capture.sh | |
parent | 94159d5d0e9fafe62a04ee4fe5b725cbc9632331 (diff) |
Temporarily enable tracing for the stdin capture step.
svn path=/trunk/; revision=37837
Diffstat (limited to 'test/suite-capture.sh')
-rwxr-xr-x | test/suite-capture.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/suite-capture.sh b/test/suite-capture.sh index 1a08b72c19..cfe7ca1d48 100755 --- a/test/suite-capture.sh +++ b/test/suite-capture.sh @@ -201,12 +201,14 @@ 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" |