mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 02:34:18 +00:00
34c878ba94
* sdp_parse: the syntax is updated to RFC 4566 "The changes to the memo are intended to be backward-compatible clarifications." git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9280 d0543943-73ff-0310-b7d9-9358b9ac24b2
24 lines
414 B
Bash
24 lines
414 B
Bash
#! /bin/sh
|
|
#
|
|
# Run the sdp tests
|
|
#
|
|
# usage: run_test_sdp [test_program] [test-directory]
|
|
#
|
|
|
|
test_sdp="${1:-./test_sdp}"
|
|
sdp_path=`dirname $0`
|
|
tests="${2:-${sdp_path}/tests}"
|
|
|
|
if test -r $tests/message-1.sdp ; then
|
|
|
|
for n in 1 2 3 4 5 6 7 8 9 10 11;
|
|
do
|
|
echo -n "$n: "
|
|
"$test_sdp" < "$tests/message-$n.sdp" && echo OK
|
|
done
|
|
|
|
else
|
|
echo "sdp run-tests: no tests found in $tests, skipping."
|
|
exit 77
|
|
fi
|