source: test/do-check-tracesets.sh @ 09dd4f1

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 09dd4f1 was 09dd4f1, checked in by Shane Alcock <salcock@…>, 11 years ago
  • Disabled direct read for trace set testing (as direct read seems to cause issues)
  • Added test-case for threading bug fixed in r1685
  • 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
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_test.pcap && echo PASS
15done
16
17# Auckland IV
18echo Testing Auckland IV
19for i in ${PREFIX}/auckland/4/*.gz; do
20        echo -n " * $i: "
21        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
22done
23
24# Auckland VI
25echo Testing Auckland VI
26for i in ${PREFIX}/auckland/6/*-[01].gz; do
27        echo -n " * $i: "
28        ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
29done
30for i in ${PREFIX}/auckland/6/*-e[01].gz; do
31        echo -n " * $i: "
32        ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
33done
34
35# Auckland VII
36echo Testing Auckland VIII
37for i in ${PREFIX}/auckland/8/*.gz; do
38        echo -n " * $i: "
39        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
40done
41
42# Auckland IX
43echo Testing Auckland IX
44for i in ${PREFIX}/auckland/9/*.gz; do
45        echo -n " * $i: "
46        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
47done
48
49# IPLS I
50echo Testing IPLS I
51for i in ${PREFIX}/pma/long/ipls/1/*.gz; do
52        echo -n " * $i: "
53        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
54done
55
56# IPLS II
57echo Testing IPLS II
58for i in ${PREFIX}/pma/long/ipls/2/*.gz; do
59        echo -n " * $i: "
60        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
61done
62
63# IPLS III
64echo Testing IPLS III
65for i in ${PREFIX}/pma/long/ipls/3/*.gz; do
66        echo -n " * $i: "
67        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
68done
69
70# Leipzig I
71echo Testing Leipzig I
72for i in ${PREFIX}/pma/long/leip/1/*.gz; do
73        echo -n " * $i: "
74        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
75done
76
77# Leipzig II
78echo Testing Leipzig II
79for i in ${PREFIX}/pma/long/leip/2/*-[01].gz; do
80        echo -n " * $i: "
81        ${TEST} legacypos:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
82done
83for i in ${PREFIX}/pma/long/leip/2/*-e.gz; do
84        echo -n " * $i: "
85        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
86done
87
88# NZIX II
89echo Testing NZIX II
90for i in ${PREFIX}/pma/long/nzix/2/*.gz; do
91        echo -n " * $i: "
92        ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
93done
94
95# SDSC I
96echo Testing SDSC I
97for i in ${PREFIX}/pma/long/sdag/1/*.gz; do
98        echo -n " * $i: "
99        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
100done
101
102
103# Waikato I
104echo Testing Waikato I
105for i in ${PREFIX}/waikato/1/*[0-9].gz; do
106        echo -n " * $i: "
107        ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS
108done
109
110
111echo Testing complete
Note: See TracBrowser for help on using the repository browser.