File: tst_sdp

package info (click to toggle)
libosip 0.9.7-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,852 kB
  • ctags: 1,812
  • sloc: ansic: 20,266; sh: 9,218; makefile: 215
file content (18 lines) | stat: -rwxr-xr-x 377 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# This is a short-cut to execute tests on the parser.
# ./conf/torture_msgs{,2} contain various kind of messages.

echo "=="
echo "== Testing the SDP parser and the SDP negociator in libosip."
echo "== You can use the verbose mode (-v) to see the full message."
echo "=="

i=0
while [ $i -lt 15 ]
do
    ./test/torture_sdp_test $1 $i "$2"
    i=`expr $i + 1`
done