From d927e094ebde77b6e0785914845ea5c33408e4be Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 31 May 2011 18:34:24 +0000 Subject: Try adding the fifo step to Wireshark. Clean up the order of tests. svn path=/trunk/; revision=37485 --- test/suite-capture.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/suite-capture.sh') diff --git a/test/suite-capture.sh b/test/suite-capture.sh index 5fe7983f3f..854979d8ce 100755 --- a/test/suite-capture.sh +++ b/test/suite-capture.sh @@ -384,10 +384,13 @@ wireshark_capture_suite() { 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 + if [ $TEST_FIFO ]; then + test_step_add "Capture via fifo" capture_step_fifo + fi + test_step_add "Capture via stdin" capture_step_stdin # read filter doesn't work with Wireshark and capturing! #test_step_add "Capture read filter (${TRAFFIC_CAPTURE_DURATION}s)" capture_step_read_filter test_step_add "Capture snapshot length 68 bytes (${TRAFFIC_CAPTURE_DURATION}s)" capture_step_snapshot - test_step_add "Capture via stdin" capture_step_stdin } tshark_capture_suite() { -- cgit v1.2.3