forked from curl/curl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test3203
49 lines (45 loc) · 717 Bytes
/
test3203
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<testcase>
<info>
<keywords>
MPTCP
Multipath TCP
mptcp
</keywords>
</info>
<!-- Server-side configuration -->
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK
Server: swsclose
Content-Type: text/plain
Ceci est une réponse de test MPTCP.
</data>
</reply>
<!-- Client-side commands -->
<client>
<server>
mptcp
</server>
<precheck>
sh -c '[ "$(cat /proc/sys/net/mptcp/enabled 2>/dev/null)" = "1" ]'
</precheck>
<name>
MPTCP GET Request
</name>
<command>
--mptcp http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
<!-- Verification -->
<verify>
<protocol>
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
</protocol>
<errorcode>
0
</errorcode>
</verify>
</testcase>