2
0

test518 923 B

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