Changeset bcb2402


Ignore:
Timestamp:
02/13/14 10:19:14 (7 years ago)
Author:
Richard Sanger <rjs51@…>
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:
2138553
Parents:
bf1029a
Message:

Add tests for nanosecond pcap files

Location:
test
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • test/do-tests.sh

    r376c785 rbcb2402  
    4242do_test ./test-decode pcapfile
    4343
     44echo \* Read pcapfilens
     45do_test ./test-format pcapfilens
     46do_test ./test-decode pcapfilens
     47
    4448echo \* Read legacyatm
    4549do_test ./test-format legacyatm
  • test/test-decode.c

    r376c785 rbcb2402  
    7474        if (!strcmp(type,"pcapfile"))
    7575                return "pcapfile:traces/100_packets.pcap";
     76        if (!strcmp(type,"pcapfilens"))
     77                return "pcapfile:traces/100_packetsns.pcap";
    7678        if (!strcmp(type, "duck"))
    7779                return "duck:traces/100_packets.duck";
  • test/test-format.c

    r376c785 rbcb2402  
    7373        if (!strcmp(type,"pcapfile"))
    7474                return "pcapfile:traces/100_packets.pcap";
     75        if (!strcmp(type,"pcapfilens"))
     76                return "pcapfile:traces/100_packetsns.pcap";
    7577        if (!strcmp(type, "duck"))
    7678                return "duck:traces/100_packets.duck";
Note: See TracChangeset for help on using the changeset viewer.