xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | HTTP | ||||
5 | HTTP GET | ||||
6 | GSS-API | ||||
7 | </keywords> | ||||
8 | </info> | ||||
9 | |||||
10 | # Server-side | ||||
11 | <reply> | ||||
12 | <data> | ||||
13 | HTTP/1.1 200 OK swsclose | ||||
14 | Content-Length: 23 | ||||
15 | |||||
16 | This IS the real page! | ||||
17 | </data> | ||||
18 | </reply> | ||||
19 | |||||
20 | # Client-side | ||||
21 | <client> | ||||
22 | <server> | ||||
23 | http | ||||
24 | </server> | ||||
25 | <features> | ||||
26 | GSS-API | ||||
27 | </features> | ||||
28 | <name> | ||||
29 | curl --fail --negotiate to unauthenticated service fails | ||||
30 | </name> | ||||
31 | <command> | ||||
32 | http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u : --fail --negotiate | ||||
33 | </command> | ||||
34 | </client> | ||||
35 | |||||
36 | # Verify data after the test has been "shot" | ||||
37 | <verify> | ||||
38 | <errorcode> | ||||
39 | 0 | ||||
40 | </errorcode> | ||||
41 | </verify> | ||||
42 | </testcase> |