Annotation of embedaddon/curl/tests/data/test2056, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: HTTP Negotiate auth (stub krb5)
7: </keywords>
8: </info>
9: # Server-side
10: <reply>
11: <!-- First request, expect success in one shot -->
12: <data1>
13: HTTP/1.1 200 Things are fine in server land
14: Server: Microsoft-IIS/7.0
15: Content-Type: text/html; charset=iso-8859-1
16: WWW-Authenticate: Negotiate RA==
17: Content-Length: 15
18:
19: Nice auth sir!
20: </data1>
21: <datacheck>
22: HTTP/1.1 200 Things are fine in server land
23: Server: Microsoft-IIS/7.0
24: Content-Type: text/html; charset=iso-8859-1
25: WWW-Authenticate: Negotiate RA==
26: Content-Length: 15
27:
28: Nice auth sir!
29: </datacheck>
30: </reply>
31:
32: # Client-side
33: <client>
34: <server>
35: http
36: </server>
37: <name>
38: HTTP Negotiate authentication (stub krb5)
39: </name>
40: <features>
41: GSS-API
42: ld_preload
43: !debug
44: </features>
45: <setenv>
46: LD_PRELOAD=%PWD/libtest/.libs/libstubgss.so
47: CURL_STUB_GSS_CREDS="KRB5_Alice"
48: </setenv>
49: <command>
50: -u: --negotiate http://%HOSTIP:%HTTPPORT/2056
51: </command>
52: </client>
53:
54: # Verify data after the test has been "shot"
55: <verify>
56: <strip>
57: ^User-Agent:.*
58: </strip>
59: <protocol>
60: GET /2056 HTTP/1.1
61: Host: %HOSTIP:%HTTPPORT
62: Authorization: Negotiate IktSQjVfQWxpY2UiOkhUVFBAMTI3LjAuMC4xOjE6QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQQ==
63: Accept: */*
64:
65: </protocol>
66: </verify>
67: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>