Changeset 573ea8e


Ignore:
Timestamp:
07/16/10 11:44:38 (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:
04a0ba4
Parents:
53f179f
Message:
  • Streamlined the WITS traceset test to be "nice"
Location:
test
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • test/Makefile

    r7a27af0 r573ea8e  
    1515.PHONY: all clean distclean install depend test
    1616
    17 all: $(BINS) test-drops test-format test-decode test-decode2 test-write test-convert
     17all: $(BINS) test-drops test-format test-decode test-decode2 test-write test-convert test-convert2
    1818
    1919clean:
    2020        $(RM) $(BINS) $(OBJS) test-format  test-decode test-convert \
    21         test-decode2 test-write test-drops
     21        test-decode2 test-write test-drops test-convert2
    2222
    2323distclean:
    24         $(RM) $(BINS) $(OBJS) test-format test-decode test-convert test-drops
     24        $(RM) $(BINS) $(OBJS) test-format test-decode test-convert test-drops test-convert2
    2525
    2626install:
  • test/do-check-tracesets.sh

    r2751751 r573ea8e  
    11#!/bin/bash
    22
    3 PREFIX=${1:-/trace/}
     3PREFIX=${1:-/trace/mojo-public}
    44TEST=./test-convert2
    55export LD_LIBRARY_PATH=../lib/.libs:../libpacketdump/.libs
    66export LIBTRACEIO=directread
    77
    8 # Abilene 1
    9 echo Testing Abilene I
    10 for i in ${PREFIX}/pma/long/ipls/1/*.gz; do
    11         echo -n " * $i: "
    12         ${TEST} legacypos:$i pcapfile && echo PASS
    13 done
    148
    159# Auckland I
     
    1913for i in ${PREFIX}/auckland/2/*.gz; do
    2014        echo -n " * $i: "
    21         ${TEST} legacyatm:$i pcapfile && echo PASS
     15        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    2216done
    2317
     
    2620for i in ${PREFIX}/auckland/4/*.gz; do
    2721        echo -n " * $i: "
    28         ${TEST} legacyatm:$i pcapfile && echo PASS
     22        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    2923done
    3024
     
    3327for i in ${PREFIX}/auckland/6/*-[01].gz; do
    3428        echo -n " * $i: "
    35         ${TEST} legacyatm:$i pcapfile && echo PASS
     29        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    3630done
    3731for i in ${PREFIX}/auckland/6/*-e[01].gz; do
    3832        echo -n " * $i: "
    39         ${TEST} legacyeth:$i pcapfile && echo PASS
     33        ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    4034done
    4135
     
    4438for i in ${PREFIX}/auckland/8/*.gz; do
    4539        echo -n " * $i: "
    46         ${TEST} erf:$i pcapfile && echo PASS
     40        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     41done
     42
     43# Auckland IX
     44echo Testing Auckland IX
     45for i in ${PREFIX}/auckland/9/*.gz; do
     46        echo -n " * $i: "
     47        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     48done
     49
     50# IPLS I
     51echo Testing IPLS I
     52for i in ${PREFIX}/pma/long/ipls/1/*.gz; do
     53        echo -n " * $i: "
     54        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     55done
     56
     57# IPLS II
     58echo Testing IPLS II
     59for i in ${PREFIX}/pma/long/ipls/2/*.gz; do
     60        echo -n " * $i: "
     61        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     62done
     63
     64# IPLS III
     65echo Testing IPLS III
     66for i in ${PREFIX}/pma/long/ipls/3/*.gz; do
     67        echo -n " * $i: "
     68        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
    4769done
    4870
    4971# Leipzig I
    50 
    51 # IPLS I (Abiline I?)
     72echo Testing Leipzig I
     73for i in ${PREFIX}/pma/long/leip/1/*.gz; do
     74        echo -n " * $i: "
     75        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     76done
    5277
    5378# Leipzig II
     79echo Testing Leipzig II
     80for i in ${PREFIX}/pma/long/leip/2/*-[01].gz; do
     81        echo -n " * $i: "
     82        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     83done
     84for i in ${PREFIX}/pma/long/leip/2/*-e.gz; do
     85        echo -n " * $i: "
     86        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     87done
    5488
    5589# NZIX II
     90echo Testing NZIX II
     91for i in ${PREFIX}/pma/long/nzix/2/*.gz; do
     92        echo -n " * $i: "
     93        ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     94done
    5695
    5796# SDSC I
     97echo Testing SDSC I
     98for i in ${PREFIX}/pma/long/sdag/1/*.gz; do
     99        echo -n " * $i: "
     100        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     101done
    58102
    59 # Waikato I,II,II,IV
     103
     104# Waikato I
     105echo Testing Waikato I
     106for i in ${PREFIX}/waikato/1/*[0-9].gz; do
     107        echo -n " * $i: "
     108        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
     109done
     110
     111
     112echo Testing complete
Note: See TracChangeset for help on using the changeset viewer.