mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
77 lines
1.1 KiB
Plaintext
77 lines
1.1 KiB
Plaintext
<testcase>
|
|
|
|
#Informational
|
|
<info>
|
|
<keywords>
|
|
RTSP
|
|
Mismatch checking
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<data1>
|
|
RTSP/1.0 200 OK
|
|
Server: RTSPD/libcurl-test
|
|
CSeq: 2
|
|
Public: DESCRIBE, OPTIONS, SETUP, TEARDOWN, PLAY, PAUSE
|
|
Informational: CSeq Mismatch
|
|
|
|
</data1>
|
|
<data2>
|
|
RTSP/1.0 200 OK
|
|
Server: RTSPD/libcurl-test
|
|
Session: asdf
|
|
CSeq: 999
|
|
|
|
</data2>
|
|
<data3>
|
|
RTSP/1.0 200 OK
|
|
Server: RTSPD/libcurl-test
|
|
Session: asdfWRONG
|
|
Informational: Session ID mismatch
|
|
Curl-Private: swsclose
|
|
CSeq: 1000
|
|
|
|
</data3>
|
|
|
|
</reply>
|
|
|
|
# Client-Side
|
|
<client>
|
|
<server>
|
|
rtsp
|
|
</server>
|
|
<tool>
|
|
lib%TESTNUMBER
|
|
</tool>
|
|
|
|
<name>
|
|
RTSP CSeq and Session Mismatch checks
|
|
</name>
|
|
<command>
|
|
rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
<verify>
|
|
<strip>
|
|
^If-Modified-Since:.*
|
|
</strip>
|
|
<protocol>
|
|
OPTIONS rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0001 RTSP/1.0
|
|
CSeq: 1
|
|
|
|
SETUP rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0002 RTSP/1.0
|
|
CSeq: 999
|
|
Transport: RAW/RAW/UDP;unicast;client_port=3056-3057
|
|
|
|
PLAY rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER0003 RTSP/1.0
|
|
CSeq: 1000
|
|
Session: asdf
|
|
|
|
</protocol>
|
|
</verify>
|
|
|
|
</testcase>
|