test518 1019 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data>
  12. HTTP/1.1 200 OK
  13. Date: Tue, 09 Nov 2010 14:49:00 GMT
  14. Server: test-server/fake
  15. Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
  16. ETag: "21025-dc7-39462498"
  17. Accept-Ranges: bytes
  18. Content-Length: 6
  19. Connection: close
  20. Content-Type: text/html
  21. Funny-head: yesyes
  22. -foo-
  23. </data>
  24. </reply>
  25. # Client-side
  26. <client>
  27. <server>
  28. http
  29. </server>
  30. <features>
  31. getrlimit
  32. </features>
  33. # tool is what to use instead of 'curl'
  34. <tool>
  35. lib%TESTNUMBER
  36. </tool>
  37. # precheck is a command line to run before the test, to see if we can execute
  38. # the test or not
  39. <precheck>
  40. ./libtest/lib%TESTNUMBER check
  41. </precheck>
  42. <name>
  43. HTTP GET with more than FD_SETSIZE descriptors open
  44. </name>
  45. <command>
  46. http://%HOSTIP:%HTTPPORT/%TESTNUMBER
  47. </command>
  48. </client>
  49. #
  50. # Verify data after the test has been "shot"
  51. <verify>
  52. <protocol>
  53. GET /%TESTNUMBER HTTP/1.1
  54. Host: %HOSTIP:%HTTPPORT
  55. Accept: */*
  56. </protocol>
  57. <valgrind>
  58. disable
  59. </valgrind>
  60. </verify>
  61. </testcase>