Mercurial > hg > audiostuff
comparison spandsp-0.0.3/spandsp-0.0.3/tests/v42bis_tests.sh @ 5:f762bf195c4b
import spandsp-0.0.3
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Fri, 25 Jun 2010 16:00:21 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4:26cd8f1ef0b1 | 5:f762bf195c4b |
---|---|
1 #!/bin/sh | |
2 # | |
3 # V.42bis compression/decompression tests, as specified in V.56ter | |
4 # | |
5 # This program is free software; you can redistribute it and/or modify | |
6 # it under the terms of the GNU General Public License version 2, as | |
7 # published by the Free Software Foundation. | |
8 # | |
9 # This program is distributed in the hope that it will be useful, | |
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 # GNU General Public License for more details. | |
13 # | |
14 # You should have received a copy of the GNU General Public License | |
15 # along with this program; if not, write to the Free Software | |
16 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
17 # | |
18 # $Id: v42bis_tests.sh,v 1.3 2006/11/20 14:27:27 steveu Exp $ | |
19 # | |
20 | |
21 BASE=../itutests/v56ter | |
22 | |
23 ./v42bis_tests ${BASE}/1.TST | |
24 RETVAL=$? | |
25 if [ $RETVAL != 0 ] | |
26 then | |
27 exit $RETVAL | |
28 fi | |
29 diff ${BASE}/1.TST v42bis_tests.out | |
30 RETVAL=$? | |
31 if [ $RETVAL != 0 ] | |
32 then | |
33 exit $RETVAL | |
34 fi | |
35 ./v42bis_tests ${BASE}/1X04.TST | |
36 RETVAL=$? | |
37 if [ $RETVAL != 0 ] | |
38 then | |
39 exit $RETVAL | |
40 fi | |
41 diff ${BASE}/1X04.TST v42bis_tests.out | |
42 RETVAL=$? | |
43 if [ $RETVAL != 0 ] | |
44 then | |
45 exit $RETVAL | |
46 fi | |
47 ./v42bis_tests ${BASE}/1X30.TST | |
48 RETVAL=$? | |
49 if [ $RETVAL != 0 ] | |
50 then | |
51 exit $RETVAL | |
52 fi | |
53 diff ${BASE}/1X30.TST v42bis_tests.out | |
54 RETVAL=$? | |
55 if [ $RETVAL != 0 ] | |
56 then | |
57 exit $RETVAL | |
58 fi | |
59 ./v42bis_tests ${BASE}/2.TST | |
60 RETVAL=$? | |
61 if [ $RETVAL != 0 ] | |
62 then | |
63 exit $RETVAL | |
64 fi | |
65 diff ${BASE}/2.TST v42bis_tests.out | |
66 RETVAL=$? | |
67 if [ $RETVAL != 0 ] | |
68 then | |
69 exit $RETVAL | |
70 fi | |
71 ./v42bis_tests ${BASE}/2X10.TST | |
72 RETVAL=$? | |
73 if [ $RETVAL != 0 ] | |
74 then | |
75 exit $RETVAL | |
76 fi | |
77 diff ${BASE}/2X10.TST v42bis_tests.out | |
78 RETVAL=$? | |
79 if [ $RETVAL != 0 ] | |
80 then | |
81 exit $RETVAL | |
82 fi | |
83 ./v42bis_tests ${BASE}/3.TST | |
84 RETVAL=$? | |
85 if [ $RETVAL != 0 ] | |
86 then | |
87 exit $RETVAL | |
88 fi | |
89 diff ${BASE}/3.TST v42bis_tests.out | |
90 RETVAL=$? | |
91 if [ $RETVAL != 0 ] | |
92 then | |
93 exit $RETVAL | |
94 fi | |
95 ./v42bis_tests ${BASE}/3X06.TST | |
96 RETVAL=$? | |
97 if [ $RETVAL != 0 ] | |
98 then | |
99 exit $RETVAL | |
100 fi | |
101 diff ${BASE}/3X06.TST v42bis_tests.out | |
102 RETVAL=$? | |
103 if [ $RETVAL != 0 ] | |
104 then | |
105 exit $RETVAL | |
106 fi | |
107 ./v42bis_tests ${BASE}/4.TST | |
108 RETVAL=$? | |
109 if [ $RETVAL != 0 ] | |
110 then | |
111 exit $RETVAL | |
112 fi | |
113 diff ${BASE}/4.TST v42bis_tests.out | |
114 RETVAL=$? | |
115 if [ $RETVAL != 0 ] | |
116 then | |
117 exit $RETVAL | |
118 fi | |
119 ./v42bis_tests ${BASE}/4X04.TST | |
120 RETVAL=$? | |
121 if [ $RETVAL != 0 ] | |
122 then | |
123 exit $RETVAL | |
124 fi | |
125 diff ${BASE}/4X04.TST v42bis_tests.out | |
126 RETVAL=$? | |
127 if [ $RETVAL != 0 ] | |
128 then | |
129 exit $RETVAL | |
130 fi | |
131 ./v42bis_tests ${BASE}/5.TST | |
132 RETVAL=$? | |
133 if [ $RETVAL != 0 ] | |
134 then | |
135 exit $RETVAL | |
136 fi | |
137 diff ${BASE}/5.TST v42bis_tests.out | |
138 RETVAL=$? | |
139 if [ $RETVAL != 0 ] | |
140 then | |
141 exit $RETVAL | |
142 fi | |
143 ./v42bis_tests ${BASE}/5X16.TST | |
144 RETVAL=$? | |
145 if [ $RETVAL != 0 ] | |
146 then | |
147 exit $RETVAL | |
148 fi | |
149 diff ${BASE}/5X16.TST v42bis_tests.out | |
150 RETVAL=$? | |
151 if [ $RETVAL != 0 ] | |
152 then | |
153 exit $RETVAL | |
154 fi |