Changeset 99425f8


Ignore:
Timestamp:
03/10/11 16:26:07 (10 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:
eff6d8c
Parents:
4c90362
Message:
  • Added a new test for an SLL trace where the Ethernet header has NOT been included in the capture
  • Check tracesets test now just checks a single trace from each set by default
Location:
test
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • test/do-check-tracesets.sh

    r09dd4f1 r99425f8  
    1313        echo -n " * $i: "
    1414        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     15        break
    1516done
    1617
     
    2021        echo -n " * $i: "
    2122        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     23        break
    2224done
    2325
     
    2729        echo -n " * $i: "
    2830        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     31        break
    2932done
    3033for i in ${PREFIX}/auckland/6/*-e[01].gz; do
    3134        echo -n " * $i: "
    3235        ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     36        break
    3337done
    3438
     
    3842        echo -n " * $i: "
    3943        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     44        break
    4045done
    4146
     
    4550        echo -n " * $i: "
    4651        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     52        break
    4753done
    4854
     
    5258        echo -n " * $i: "
    5359        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     60        break
    5461done
    5562
     
    5966        echo -n " * $i: "
    6067        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     68        break
    6169done
    6270
     
    6674        echo -n " * $i: "
    6775        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     76        break
    6877done
    6978
     
    7382        echo -n " * $i: "
    7483        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     84        break
    7585done
    7686
     
    8090        echo -n " * $i: "
    8191        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     92        break
    8293done
    8394for i in ${PREFIX}/pma/long/leip/2/*-e.gz; do
    8495        echo -n " * $i: "
    8596        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     97        break
    8698done
    8799
     
    91103        echo -n " * $i: "
    92104        ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     105        break
    93106done
    94107
     
    98111        echo -n " * $i: "
    99112        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     113        break
    100114done
    101115
     
    106120        echo -n " * $i: "
    107121        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     122        break
    108123done
    109124
  • test/do-tests.sh

    r09dd4f1 r99425f8  
    1818echo SLL Decoder
    1919do_test ./test-decode2 pcap:traces/100_sll.pcap
     20do_test ./test-decode2 pcapfile:traces/sll.pcap.gz
    2021
    2122echo 802.1x decoder
  • test/test-event.c

    rd5a27e8 r99425f8  
    100100                iferr(trace);
    101101        }
    102         trace_destroy_packet(packet);
     102        if (packet)
     103                trace_destroy_packet(packet);
    103104        if (error == 0) {
    104105                if (count == 100) {
Note: See TracChangeset for help on using the changeset viewer.