Changeset ec19a99 for test/do-tests.sh


Ignore:
Timestamp:
01/11/19 16:15:31 (22 months ago)
Author:
Shane Alcock <salcock@…>
Branches:
develop
Children:
e0d922a
Parents:
2a1eebc
Message:

Add test case for trace_get_wire_length()

Given that there is often some confusion around the wire length
and whether we count the FCS as wire length or not (and what do
we do for formats that don't save the FCS, i.e. pcap), we should
really have a test that will at least alert us if someone has
changed how wire length is calculated for one of the formats.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/do-tests.sh

    r51276bd rec19a99  
    7979echo \* Testing payload length
    8080do_test ./test-plen
     81
     82echo \* Testing wire length
     83echo \* ERF
     84do_test ./test-wlen erf
     85echo \* pcapfile
     86do_test ./test-wlen pcapfile
     87echo \* pcapfilens
     88do_test ./test-wlen pcapfilens
     89echo \* legacyatm
     90do_test ./test-wlen legacyatm
     91echo \* legacypos
     92do_test ./test-wlen legacypos
     93echo \* legacyeth
     94do_test ./test-wlen legacyeth
     95echo \* rawerf
     96do_test ./test-wlen rawerf
     97echo \* pcap
     98do_test ./test-wlen pcap
     99echo \* tsh
     100do_test ./test-wlen tsh
     101echo \* pcapng
     102do_test ./test-wlen pcapng
    81103
    82104echo \* Testing port numbers
Note: See TracChangeset for help on using the changeset viewer.