source: test/do-check-tracesets.sh @ e111394

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since e111394 was 573ea8e, checked in by Shane Alcock <salcock@…>, 10 years ago
  • Streamlined the WITS traceset test to be "nice"
  • Property mode set to 100755
File size: 3.0 KB
Line 
1#!/bin/bash
2
3PREFIX=${1:-/trace/mojo-public}
4TEST=./test-convert2
5export LD_LIBRARY_PATH=../lib/.libs:../libpacketdump/.libs
6export LIBTRACEIO=directread
7
8
9# Auckland I
10
11# Auckland II
12echo Testing Auckland II
13for i in ${PREFIX}/auckland/2/*.gz; do
14        echo -n " * $i: "
15        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
16done
17
18# Auckland IV
19echo Testing Auckland IV
20for i in ${PREFIX}/auckland/4/*.gz; do
21        echo -n " * $i: "
22        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
23done
24
25# Auckland VI
26echo Testing Auckland VI
27for i in ${PREFIX}/auckland/6/*-[01].gz; do
28        echo -n " * $i: "
29        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
30done
31for i in ${PREFIX}/auckland/6/*-e[01].gz; do
32        echo -n " * $i: "
33        ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
34done
35
36# Auckland VII
37echo Testing Auckland VIII
38for i in ${PREFIX}/auckland/8/*.gz; do
39        echo -n " * $i: "
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
69done
70
71# Leipzig 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
77
78# 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
88
89# 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
95
96# 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
102
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 TracBrowser for help on using the repository browser.