Wireshark-commits: [Wireshark-commits] master 8201711: text2pcap: Add test suite

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 15 Oct 2015 14:00:12 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8201711e8037a7e5d411cacfddae5e1e9cb676a3
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

8201711 by Vasil Velichckov (vvvelichkov@xxxxxxxxx):

    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@xxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  9f6d155   ssl: detect very small heartbeat size
    adds  8201711   text2pcap: Add test suite


Summary of changes:
 test/config.sh          |    1 +
 test/suite-text2pcap.sh |  331 +++++++++++++++++++++++++++++++++++++++++++++++
 test/test.sh            |    5 +
 3 files changed, 337 insertions(+)
 create mode 100755 test/suite-text2pcap.sh