aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test567
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-01-28 04:58:03 +0000
committerYang Tse <yangsita@gmail.com>2010-01-28 04:58:03 +0000
commit6259bcd51f057a7389bf41a1c653c1e5387c6999 (patch)
tree5b5c30012337589e5f99478c642ba58a12671418 /tests/data/test567
parenta4031dbd850c6447526c49c939274d85023d9640 (diff)
Chris Conroy provided first RTSP tests
Diffstat (limited to 'tests/data/test567')
-rw-r--r--tests/data/test56750
1 files changed, 50 insertions, 0 deletions
diff --git a/tests/data/test567 b/tests/data/test567
new file mode 100644
index 000000000..fe32d0f19
--- /dev/null
+++ b/tests/data/test567
@@ -0,0 +1,50 @@
+<testcase>
+
+#Informational
+<info>
+<keywords>
+RTSP
+OPTIONS
+</keywords>
+</info>
+
+# Server-side
+<reply>
+<data>
+RTSP/1.0 200 OK
+Server: SWS/libcurl-test
+CSeq: 1
+Public: DESCRIBE, OPTIONS, SETUP, TEARDOWN, PLAY, PAUSE
+Curl-Private: swsclose
+</data>
+</reply>
+
+# Client-Side
+<client>
+<server>
+rtsp
+</server>
+<tool>
+lib567
+</tool>
+
+<name>
+simple RTSP OPTIONS command
+</name>
+<command>
+rtsp://%HOSTIP:%RTSPPORT/567
+</command>
+</client>
+
+<verify>
+<protocol>
+OPTIONS rtsp://%HOSTIP:%RTSPPORT/567 RTSP/1.0
+CSeq: 1
+User-Agent: test567
+Test-Number: 567
+
+</protocol>
+</verify>
+
+</testcase>
+