aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite-capture.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite-capture.sh')
-rwxr-xr-xtest/suite-capture.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/suite-capture.sh b/test/suite-capture.sh
index 9cd2a4c410..8fab50b270 100755
--- a/test/suite-capture.sh
+++ b/test/suite-capture.sh
@@ -386,8 +386,9 @@ capture_step_snapshot() {
}
wireshark_capture_suite() {
- # Q: quit after cap, k: start capture immediately
- DUT="$WIRESHARK -Q -k"
+ # k: start capture immediately
+ # WIRESHARK_QUIT_AFTER_CAPTURE needs to be set.
+ DUT="$WIRESHARK -k"
test_step_add "Capture 10 packets" capture_step_10packets
# piping to stdout doesn't work with Wireshark and capturing!
#test_step_add "Capture 10 packets using stdout: -w -" capture_step_10packets_stdout