Wireshark mailing list archives
Automatic test for a dissector DLL
From: "news.gmane.com" <AndreasSander1 () gmx net>
Date: Mon, 13 Dec 2010 18:58:32 +0100
Hi, I want to write a tester for my dissector. Since the procotol is complex it is not sufficient, to load a captured file and verify visually the tree output. I generated a set of synthetic capture files. Now the idea is to instruct tshark to parse the file using the dissector and compare the output with a predefined one. To see my dissector's output I found only the -V option. This could be used in that way: tshark -V -r sample_file.pcap Unfortunately I get the whole tree. I failed to specify that only my dissector's output is reported. How can I limit the output to one protocol level. As an example the TCP level would be great (without IP, Ethernet, Frame)? What other test concepts do you use? -- Andy ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Automatic test for a dissector DLL news.gmane.com (Dec 13)
- Re: Automatic test for a dissector DLL Christopher Maynard (Dec 13)
- Re: Automatic test for a dissector DLL didier (Dec 13)
- Re: Automatic test for a dissector DLL Andreas (Dec 13)
- Re: Automatic test for a dissector DLL Jaap Keuter (Dec 14)
- Re: Automatic test for a dissector DLL Douglas Wood (Dec 14)
- Re: Automatic test for a dissector DLL news.gmane.com (Dec 15)
- Re: Automatic test for a dissector DLL Andreas (Dec 13)