Annotation of embedaddon/curl/tests/data/test69, revision 1.1

1.1     ! misho       1: <testcase>
        !             2: <info>
        !             3: <keywords>
        !             4: HTTP
        !             5: HTTP GET
        !             6: HTTP NTLM auth
        !             7: </keywords>
        !             8: </info>
        !             9: # Server-side
        !            10: <reply>
        !            11: <data>
        !            12: HTTP/1.1 401 Authorization Required swsclose
        !            13: Server: Apache/1.3.27 (Darwin) PHP/4.1.2
        !            14: WWW-Authenticate: Basic
        !            15: WWW-Authenticate: Wild-and-crazy
        !            16: WWW-Authenticate: NTLM
        !            17: Content-Type: text/html; charset=iso-8859-1
        !            18: Content-Length: 26
        !            19: 
        !            20: This is not the real page
        !            21: </data>
        !            22: 
        !            23: # This is supposed to be returned when the server gets a first
        !            24: # Authorization: NTLM line passed-in from the client
        !            25: <data1001>
        !            26: HTTP/1.1 401 Now gimme that second request of crap
        !            27: Server: Microsoft-IIS/5.0
        !            28: Content-Length: 34
        !            29: Content-Type: text/html; charset=iso-8859-1
        !            30: WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
        !            31: 
        !            32: This is not the real page either!
        !            33: </data1001>
        !            34: 
        !            35: # This is supposed to be returned when the server gets the second
        !            36: # Authorization: NTLM line passed-in from the client
        !            37: <data1002>
        !            38: HTTP/1.1 200 Things are fine in server land swsclose
        !            39: Server: Microsoft-IIS/5.0
        !            40: Content-Type: text/html; charset=iso-8859-1
        !            41: Content-Length: 32
        !            42: 
        !            43: Finally, this is the real page!
        !            44: </data1002>
        !            45: 
        !            46: <datacheck>
        !            47: HTTP/1.1 401 Authorization Required swsclose
        !            48: Server: Apache/1.3.27 (Darwin) PHP/4.1.2
        !            49: WWW-Authenticate: Basic
        !            50: WWW-Authenticate: Wild-and-crazy
        !            51: WWW-Authenticate: NTLM
        !            52: Content-Type: text/html; charset=iso-8859-1
        !            53: Content-Length: 26
        !            54: 
        !            55: HTTP/1.1 401 Now gimme that second request of crap
        !            56: Server: Microsoft-IIS/5.0
        !            57: Content-Length: 34
        !            58: Content-Type: text/html; charset=iso-8859-1
        !            59: WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
        !            60: 
        !            61: HTTP/1.1 200 Things are fine in server land swsclose
        !            62: Server: Microsoft-IIS/5.0
        !            63: Content-Type: text/html; charset=iso-8859-1
        !            64: Content-Length: 32
        !            65: 
        !            66: Finally, this is the real page!
        !            67: </datacheck>
        !            68: 
        !            69: </reply>
        !            70: 
        !            71: # Client-side
        !            72: <client>
        !            73: <features>
        !            74: NTLM
        !            75: SSL
        !            76: !SSPI
        !            77: debug
        !            78: </features>
        !            79: <server>
        !            80: http
        !            81: </server>
        !            82:  <name>
        !            83: HTTP with NTLM, Basic or Wild-and-crazy authorization
        !            84:  </name>
        !            85:  <setenv>
        !            86: # we force our own host name, in order to make the test machine independent
        !            87: CURL_GETHOSTNAME=curlhost
        !            88: # we try to use the LD_PRELOAD hack, if not a debug build
        !            89: LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
        !            90:  </setenv>
        !            91:  <command>
        !            92: http://%HOSTIP:%HTTPPORT/69 -u testuser:testpass --anyauth
        !            93: </command>
        !            94: <precheck>
        !            95: chkhostname curlhost
        !            96: </precheck>
        !            97: </client>
        !            98: 
        !            99: # Verify data after the test has been "shot"
        !           100: <verify>
        !           101: <strip>
        !           102: ^User-Agent:.*
        !           103: </strip>
        !           104: <protocol>
        !           105: GET /69 HTTP/1.1
        !           106: Host: %HOSTIP:%HTTPPORT
        !           107: User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
        !           108: Accept: */*
        !           109: 
        !           110: GET /69 HTTP/1.1
        !           111: Host: %HOSTIP:%HTTPPORT
        !           112: Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
        !           113: User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
        !           114: Accept: */*
        !           115: 
        !           116: GET /69 HTTP/1.1
        !           117: Host: %HOSTIP:%HTTPPORT
        !           118: Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=
        !           119: User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
        !           120: Accept: */*
        !           121: 
        !           122: </protocol>
        !           123: </verify>
        !           124: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>