diff options
author | Vasil Velichckov <vvvelichkov@gmail.com> | 2015-10-01 06:43:39 +0300 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-10-15 14:00:04 +0000 |
commit | 8201711e8037a7e5d411cacfddae5e1e9cb676a3 (patch) | |
tree | 2297639762add2e27bd76cfc7515ebcfd7b04cb7 /test/config.sh | |
parent | 9f6d155313777d08d76945dda9dc5fa63c7c2a0f (diff) |
text2pcap: Add test suite
Use the pcap captures from test/captures/ and
- Get information for the input pcap file with capinfos
- Generate an ASCII hexdump with text2pcap
- Convert the ASCII hexdump back to pcap using text2pcap
- Get information for the output pcap file with capinfs
- Check that file type, encapsulation type, number of packets and data size
in the output file are the same as in the input file
Change-Id: I659204fb0a46e9cd99d03eb666f55fac95ae053e
Reviewed-on: https://code.wireshark.org/review/11042
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'test/config.sh')
-rwxr-xr-x | test/config.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/config.sh b/test/config.sh index 1033794a42..d2c31e81af 100755 --- a/test/config.sh +++ b/test/config.sh @@ -69,6 +69,7 @@ TSHARK=$WS_BIN_PATH/tshark RAWSHARK=$WS_BIN_PATH/rawshark CAPINFOS=$WS_BIN_PATH/capinfos MERGECAP=$WS_BIN_PATH/mergecap +TEXT2PCAP=$WS_BIN_PATH/text2pcap DUMPCAP=$WS_BIN_PATH/dumpcap # interface with at least a few packets/sec traffic on it |