Changeset 2d96bf2 for test


Ignore:
Timestamp:
04/22/06 00:58:59 (15 years ago)
Author:
Perry Lorier <perry@…>
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:
7b2a39b
Parents:
114b8d6
Message:

Add tests for pcapfile:

Location:
test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • test/Makefile

    r222d8f5 r2d96bf2  
    2525
    2626test-format-all: test-format
    27         @for i in erf pcap wtf ; do                     \
     27        @for i in erf pcap wtf pcapfile; do                     \
    2828                echo \* $$i;                                    \
    2929                LD_LIBRARY_PATH=$(libdir)                       \
     
    3737        @LD_LIBRARY_PATH=$(libdir) ./test-convert erf pcap
    3838        @LD_LIBRARY_PATH=$(libdir) ./test-convert pcap erf
    39         @LD_LIBRARY_PATH=$(libdir) ./test-convert rtclient erf
    40         @LD_LIBRARY_PATH=$(libdir) ./test-convert rtclient pcap
     39        @LD_LIBRARY_PATH=$(libdir) ./test-convert pcapfile erf
     40        #@LD_LIBRARY_PATH=$(libdir) ./test-convert rtclient erf
     41        #@LD_LIBRARY_PATH=$(libdir) ./test-convert rtclient pcap
    4142        @LD_LIBRARY_PATH=$(libdir) ./test-convert wtf pcap
    4243        @LD_LIBRARY_PATH=$(libdir) ./test-convert wtf wtf
  • test/test-convert.c

    r222d8f5 r2d96bf2  
    7777        if (!strcmp(type,"rtclient"))
    7878                return "rtclient:chasm";
     79        if (!strcmp(type,"pcapfile"))
     80                return "pcapfile:traces/100_packets.pcap";
    7981        return "unknown";
    8082}
  • test/test-format.c

    rd0906e7 r2d96bf2  
    6969        if (!strcmp(type,"rtclient"))
    7070                return "rtclient:chasm";
     71        if (!strcmp(type,"pcapfile"))
     72                return "pcapfile:traces/100_packets.pcap";
    7173        return "unknown";
    7274}
Note: See TracChangeset for help on using the changeset viewer.