Changeset 376c785


Ignore:
Timestamp:
06/27/13 15:59:34 (7 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
fdb5e98
Parents:
98d4e2d
Message:
  • Added test cases for the rawerf format
Location:
test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • test/do-tests.sh

    rafaf6e8 r376c785  
    5757do_test ./test-format tsh
    5858do_test ./test-decode tsh
     59
     60echo \* Read rawerf
     61do_test ./test-format rawerf
     62do_test ./test-decode rawerf
     63
    5964
    6065echo \* Testing pcap-bpf
  • test/test-decode.c

    r2f062d8 r376c785  
    6464        if (!strcmp(type,"erf"))
    6565                return "erf:traces/100_packets.erf";
     66        if (!strcmp(type,"rawerf"))
     67                return "rawerf:traces/100_packets.erf";
    6668        if (!strcmp(type,"pcap"))
    6769                return "pcap:traces/100_packets.pcap";
  • test/test-format.c

    r1f0fd98 r376c785  
    6363        if (!strcmp(type,"erf"))
    6464                return "erf:traces/100_packets.erf";
     65        if (!strcmp(type,"rawerf"))
     66                return "rawerf:traces/100_packets.erf";
    6567        if (!strcmp(type,"pcap"))
    6668                return "pcap:traces/100_packets.pcap";
Note: See TracChangeset for help on using the changeset viewer.