source: test/do-check-tracesets.sh @ 17f954f

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 17f954f was 60f3c4c, checked in by Shane Alcock <salcock@…>, 9 years ago
  • Shifted wandio into a separate library, seeing as we're going to be exporting the API now
  • Property mode set to 100755
File size: 4.2 KB
Line 
1#!/bin/bash
2
3PREFIX=${1:-/trace}
4TEST=./test-convert2
5export LD_LIBRARY_PATH=../lib/.libs:../libpacketdump/.libs
6#export LIBTRACEIO=directread
7
8# Auckland I
9
10# Auckland II
11echo Testing Auckland II
12for i in ${PREFIX}/auckland/2/*.gz; do
13        echo -n " * $i: "
14        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
15        #break
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_test2.pcap && echo PASS
23        #break
24done
25
26# Auckland VI
27echo Testing Auckland VI
28for i in ${PREFIX}/auckland/6/*-[01].gz; do
29        echo -n " * $i: "
30        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
31        #break
32done
33for i in ${PREFIX}/auckland/6/*-e[01].gz; do
34        echo -n " * $i: "
35        ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
36        #break
37done
38
39# Auckland VII
40echo Testing Auckland VIII
41for i in ${PREFIX}/auckland/8/*.gz; do
42        echo -n " * $i: "
43        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
44        #break
45done
46
47# Auckland IX
48echo Testing Auckland IX
49for i in ${PREFIX}/auckland/9/*.gz; do
50        echo -n " * $i: "
51        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
52        #break
53done
54
55# IPLS I
56echo Testing IPLS I
57for i in ${PREFIX}/pma/long/ipls/1/*.gz; do
58        echo -n " * $i: "
59        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
60        #break
61done
62
63# IPLS II
64echo Testing IPLS II
65for i in ${PREFIX}/pma/long/ipls/2/*.gz; do
66        echo -n " * $i: "
67        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
68        #break
69done
70
71# IPLS III
72echo Testing IPLS III
73for i in ${PREFIX}/pma/long/ipls/3/*.gz; do
74        echo -n " * $i: "
75        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
76        #break
77done
78
79# Leipzig I
80echo Testing Leipzig I
81for i in ${PREFIX}/pma/long/leip/1/*.gz; do
82        echo -n " * $i: "
83        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
84        #break
85done
86
87# Leipzig II
88echo Testing Leipzig II
89for i in ${PREFIX}/pma/long/leip/2/*-[01].gz; do
90        echo -n " * $i: "
91        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
92        #break
93done
94for i in ${PREFIX}/pma/long/leip/2/*-e.gz; do
95        echo -n " * $i: "
96        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
97        #break
98done
99
100# NZIX II
101echo Testing NZIX II
102for i in ${PREFIX}/pma/long/nzix/2/*.gz; do
103        echo -n " * $i: "
104        ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
105        #break
106done
107
108# SDSC I
109echo Testing SDSC I
110for i in ${PREFIX}/pma/long/sdag/1/*.gz; do
111        echo -n " * $i: "
112        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test2.pcap && echo PASS
113        #break
114done
115
116
117# Waikato I
118echo Testing Waikato I
119for i in ${PREFIX}/waikato/1/*[0-9].gz; do
120        echo -n " * $i: "
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
165done
166
167
168
169
170echo Testing complete
Note: See TracBrowser for help on using the repository browser.