xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | IPv6 |
| 6 | </keywords> |
| 7 | </info> |
| 8 | |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | <data nocheck="yes"> |
| 12 | HTTP/1.1 200 OK |
| 13 | Date: Tue, 09 Nov 2010 14:49:00 GMT |
| 14 | Server: test-server/fake |
| 15 | Content-Type: text/html |
| 16 | Content-Length: 0 |
| 17 | |
| 18 | </data> |
| 19 | </reply> |
| 20 | |
| 21 | # Client-side |
| 22 | <client> |
| 23 | <server> |
| 24 | http-ipv6 |
| 25 | </server> |
| 26 | |
| 27 | <name> |
| 28 | Pre-request callback for HTTP IPv6 |
| 29 | </name> |
| 30 | <tool> |
| 31 | libprereq |
| 32 | </tool> |
| 33 | |
| 34 | <command> |
| 35 | %HOST6IP:%HTTP6PORT/%TESTNUMBER#ipv6 |
| 36 | </command> |
| 37 | </client> |
| 38 | |
| 39 | # Verify data after the test has been "shot" |
| 40 | <verify> |
| 41 | <stripfile> |
| 42 | s/^Local port = \d+/Local port = stripped/ |
| 43 | </stripfile> |
| 44 | <stdout> |
| 45 | Connected to %HOST6IP |
| 46 | Connected from %CLIENT6IP |
| 47 | Remote port = %HTTP6PORT |
| 48 | Local port = stripped |
| 49 | Returning = 0 |
| 50 | </stdout> |
| 51 | </verify> |
| 52 | </testcase> |