and added files
[bcm963xx.git] / userapps / opensource / libosip2 / src / test / tst_sdp
diff --git a/userapps/opensource/libosip2/src/test/tst_sdp b/userapps/opensource/libosip2/src/test/tst_sdp
new file mode 100755 (executable)
index 0000000..d0ae81a
--- /dev/null
@@ -0,0 +1,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
+    ./torture_sdp_test $1 $i "$2"
+    i=`expr $i + 1`
+done
+
+