Changeset 60f3c4c for test


Ignore:
Timestamp:
03/06/12 15:36:43 (9 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:
1d4db58
Parents:
bd6576d
Message:
  • Shifted wandio into a separate library, seeing as we're going to be exporting the API now
File:
1 edited

Legend:

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

    r99425f8 r60f3c4c  
    11#!/bin/bash
    22
    3 PREFIX=${1:-/trace/mojo-public}
     3PREFIX=${1:-/trace}
    44TEST=./test-convert2
    55export LD_LIBRARY_PATH=../lib/.libs:../libpacketdump/.libs
     
    1212for i in ${PREFIX}/auckland/2/*.gz; do
    1313        echo -n " * $i: "
    14         ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    15         break
     14        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     15        #break
    1616done
    1717
     
    2020for i in ${PREFIX}/auckland/4/*.gz; do
    2121        echo -n " * $i: "
    22         ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    23         break
     22        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     23        #break
    2424done
    2525
     
    2828for i in ${PREFIX}/auckland/6/*-[01].gz; do
    2929        echo -n " * $i: "
    30         ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    31         break
     30        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     31        #break
    3232done
    3333for i in ${PREFIX}/auckland/6/*-e[01].gz; do
    3434        echo -n " * $i: "
    35         ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    36         break
     35        ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     36        #break
    3737done
    3838
     
    4141for i in ${PREFIX}/auckland/8/*.gz; do
    4242        echo -n " * $i: "
    43         ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    44         break
     43        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     44        #break
    4545done
    4646
     
    4949for i in ${PREFIX}/auckland/9/*.gz; do
    5050        echo -n " * $i: "
    51         ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    52         break
     51        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     52        #break
    5353done
    5454
     
    5757for i in ${PREFIX}/pma/long/ipls/1/*.gz; do
    5858        echo -n " * $i: "
    59         ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    60         break
     59        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     60        #break
    6161done
    6262
     
    6565for i in ${PREFIX}/pma/long/ipls/2/*.gz; do
    6666        echo -n " * $i: "
    67         ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    68         break
     67        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     68        #break
    6969done
    7070
     
    7373for i in ${PREFIX}/pma/long/ipls/3/*.gz; do
    7474        echo -n " * $i: "
    75         ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    76         break
     75        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     76        #break
    7777done
    7878
     
    8181for i in ${PREFIX}/pma/long/leip/1/*.gz; do
    8282        echo -n " * $i: "
    83         ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    84         break
     83        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     84        #break
    8585done
    8686
     
    8989for i in ${PREFIX}/pma/long/leip/2/*-[01].gz; do
    9090        echo -n " * $i: "
    91         ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    92         break
     91        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     92        #break
    9393done
    9494for i in ${PREFIX}/pma/long/leip/2/*-e.gz; do
    9595        echo -n " * $i: "
    96         ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    97         break
     96        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     97        #break
    9898done
    9999
     
    102102for i in ${PREFIX}/pma/long/nzix/2/*.gz; do
    103103        echo -n " * $i: "
    104         ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    105         break
     104        ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     105        #break
    106106done
    107107
     
    110110for i in ${PREFIX}/pma/long/sdag/1/*.gz; do
    111111        echo -n " * $i: "
    112         ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    113         break
     112        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     113        #break
    114114done
    115115
     
    119119for i in ${PREFIX}/waikato/1/*[0-9].gz; do
    120120        echo -n " * $i: "
    121         ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    122         break
     121        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     122        #break
     123done
     124
     125echo Testing Waikato II
     126for i in ${PREFIX}/waikato/2/*[0-9].gz; do
     127        echo -n " * $i: "
     128        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     129        #break
     130done
     131
     132echo Testing Waikato III
     133for i in ${PREFIX}/waikato/3/*[0-9].gz; do
     134        echo -n " * $i: "
     135        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     136        #break
     137done
     138
     139echo Testing Waikato IV
     140for i in ${PREFIX}/waikato/4/*[0-9].gz; do
     141        echo -n " * $i: "
     142        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     143        #break
     144done
     145
     146echo Testing Waikato V
     147for i in ${PREFIX}/waikato/5/*[0-9].gz; do
     148        echo -n " * $i: "
     149        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     150        #break
     151done
     152
     153echo Testing Waikato VI
     154for i in ${PREFIX}/waikato/6/*[0-9].gz; do
     155        echo -n " * $i: "
     156        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     157        #break
     158done
     159
     160echo Testing Waikato VIII
     161for i in ${PREFIX}/waikato/8/*[0-9].gz; do
     162        echo -n " * $i: "
     163        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
     164        #break
    123165done
    124166
    125167
     168
     169
    126170echo Testing complete
Note: See TracChangeset for help on using the changeset viewer.