diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-08-29 21:16:29 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-08-29 21:16:29 +0000 |
commit | db240c2b5eb8bd0c97feaf57c0361ebefa1b3e9a (patch) | |
tree | d5d8668c1311730a9c53340a447783e5a02cf32b /test/suite-capture.sh | |
parent | df5fdf9e63fc9800ad69eb8cae7e09a68c30541e (diff) |
Replace "-Q" with "WIRESHARK_QUIT_AFTER_CAPTURE" as discussed in bug 6256.
svn path=/trunk/; revision=38784
Diffstat (limited to 'test/suite-capture.sh')
-rwxr-xr-x | test/suite-capture.sh | 5 |
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 |