Changeset f20c0a7 for test


Ignore:
Timestamp:
10/11/06 16:13:01 (14 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:
be5bd17
Parents:
5069b69
Message:

Add protocol decode tests (so we can be sure we're decoding packets right)

Location:
test
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • test/Makefile

    rac62ea2 rf20c0a7  
    2727        @echo All tests passed
    2828
    29 test-format-all: test-format test-decode
     29test-format-all: test-format test-decode test-decode2
    3030        @for i in erf pcap wtf pcapfile duck; do                \
    3131                echo \* Read $$i;                               \
     
    3636                ./test-decode $$i || exit $$?;                  \
    3737        done
     38# Try various link layer decodes
     39        # SLL Decoder
     40        @LD_LIBRARY_PATH="$(libdir)" \
     41        ./test-decode2 pcap:traces/100_sll.pcap
     42
     43        # 802.1x decoder
     44        @LD_LIBRARY_PATH="$(libdir)" \
     45        ./test-decode2 pcap:traces/8021x.pcap
     46
     47        # MPLS Decoder
     48        @LD_LIBRARY_PATH="$(libdir)" \
     49        ./test-decode2 pcap:traces/10_mpls_ip.pcap
    3850
    3951test-write-all: test-write
Note: See TracChangeset for help on using the changeset viewer.