Changeset 573ea8e
- Timestamp:
- 07/16/10 11:44:38 (11 years ago)
- 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
- Location:
- test
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
test/Makefile
r7a27af0 r573ea8e 15 15 .PHONY: all clean distclean install depend test 16 16 17 all: $(BINS) test-drops test-format test-decode test-decode2 test-write test-convert 17 all: $(BINS) test-drops test-format test-decode test-decode2 test-write test-convert test-convert2 18 18 19 19 clean: 20 20 $(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 22 22 23 23 distclean: 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 25 25 26 26 install: -
test/do-check-tracesets.sh
r2751751 r573ea8e 1 1 #!/bin/bash 2 2 3 PREFIX=${1:-/trace/ }3 PREFIX=${1:-/trace/mojo-public} 4 4 TEST=./test-convert2 5 5 export LD_LIBRARY_PATH=../lib/.libs:../libpacketdump/.libs 6 6 export LIBTRACEIO=directread 7 7 8 # Abilene 19 echo Testing Abilene I10 for i in ${PREFIX}/pma/long/ipls/1/*.gz; do11 echo -n " * $i: "12 ${TEST} legacypos:$i pcapfile && echo PASS13 done14 8 15 9 # Auckland I … … 19 13 for i in ${PREFIX}/auckland/2/*.gz; do 20 14 echo -n " * $i: " 21 ${TEST} legacyatm:$i pcapfile && echo PASS15 ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS 22 16 done 23 17 … … 26 20 for i in ${PREFIX}/auckland/4/*.gz; do 27 21 echo -n " * $i: " 28 ${TEST} legacyatm:$i pcapfile && echo PASS22 ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS 29 23 done 30 24 … … 33 27 for i in ${PREFIX}/auckland/6/*-[01].gz; do 34 28 echo -n " * $i: " 35 ${TEST} legacyatm:$i pcapfile && echo PASS29 ${TEST} legacyatm:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS 36 30 done 37 31 for i in ${PREFIX}/auckland/6/*-e[01].gz; do 38 32 echo -n " * $i: " 39 ${TEST} legacyeth:$i pcapfile && echo PASS33 ${TEST} legacyeth:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS 40 34 done 41 35 … … 44 38 for i in ${PREFIX}/auckland/8/*.gz; do 45 39 echo -n " * $i: " 46 ${TEST} erf:$i pcapfile && echo PASS 40 ${TEST} erf:$i pcapfile:/scratch/salcock/libtrace_test/convert_test.pcap && echo PASS 41 done 42 43 # Auckland IX 44 echo Testing Auckland IX 45 for 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 48 done 49 50 # IPLS I 51 echo Testing IPLS I 52 for 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 55 done 56 57 # IPLS II 58 echo Testing IPLS II 59 for 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 62 done 63 64 # IPLS III 65 echo Testing IPLS III 66 for 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 47 69 done 48 70 49 71 # Leipzig I 50 51 # IPLS I (Abiline I?) 72 echo Testing Leipzig I 73 for 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 76 done 52 77 53 78 # Leipzig II 79 echo Testing Leipzig II 80 for 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 83 done 84 for 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 87 done 54 88 55 89 # NZIX II 90 echo Testing NZIX II 91 for 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 94 done 56 95 57 96 # SDSC I 97 echo Testing SDSC I 98 for 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 101 done 58 102 59 # Waikato I,II,II,IV 103 104 # Waikato I 105 echo Testing Waikato I 106 for 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 109 done 110 111 112 echo Testing complete
Note: See TracChangeset
for help on using the changeset viewer.