test2077 536 B

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