and added files
[bcm963xx.git] / userapps / opensource / libosip2 / src / test / tst
1 #!/bin/sh
2
3 # This is a short-cut to execute tests on the parser.
4 # ./conf/torture_msgs{,2} contain various kind of messages.
5
6 echo "=="
7 echo "== Testing the parser contained in libosip."
8 echo "== You can use the verbose mode (-v) to see the full message."
9 echo "=="
10
11 i=0
12 while [ $i -lt 93 ]
13 do
14 set -x
15 #  mpatrol -C -S -L -j -d --list -p -t --use-debug ./test/torture_test $1 $i $2 $3
16    ./torture_test $1 $i $2 $3
17 set +x
18     i=`expr $i + 1`
19 done
20
21 #echo "=="
22 #echo "== Test for \\n (CR) and \\r (LF) instead of \\r\\n (CRLF)"
23 #echo "== Data files from ./conf/torture_msgs"
24 #echo "=="
25
26
27 #i=0
28 #while [ $i -lt 93 ]
29 #do
30 #set -x
31 #    ./torture_test conf/torture_msgs2 $i $2 $3
32 #set +x
33 #    i=`expr $i + 1`
34 #done
35
36