~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.2.1/third_party/gsm/tst/run

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
:
 
2
#
 
3
# Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
 
4
# Universitaet Berlin.  See the accompanying file "COPYRIGHT" for
 
5
# details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
 
6
#
 
7
if [ ! -f 1.inp ] ; then
 
8
        echo Sorry, but we cannot provide the test data with this release.
 
9
        exit
 
10
fi
 
11
 
 
12
echo -n 'Linear to code: '
 
13
for i in 1 2 3 4
 
14
do 
 
15
        echo -n $i..
 
16
        ./lin2cod  < $i.inp | cmp - $i.cod
 
17
done
 
18
echo ""
 
19
 
 
20
echo -n 'Code to linear: '
 
21
for i in 1 2 3 4
 
22
do 
 
23
        echo -n $i..
 
24
        ./cod2lin < $i.cod | cmp - $i.out
 
25
done
 
26
echo ""
 
27
 
 
28
echo -n 'Toast: '
 
29
for i in 1 2 3 4
 
30
do
 
31
        echo -n $i..
 
32
        ../bin/toast -l < $i.inp | ../bin/toast -dl | cmp - $i.out
 
33
done
 
34
echo ""