test1113 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. RETR
  6. LIST
  7. wildcardmatch
  8. ftplistparser
  9. flaky
  10. </keywords>
  11. </info>
  12. #
  13. # Server-side
  14. <reply>
  15. <data>
  16. </data>
  17. </reply>
  18. # Client-side
  19. <client>
  20. <server>
  21. ftp
  22. </server>
  23. <tool>
  24. lib574
  25. </tool>
  26. <name>
  27. FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response)
  28. </name>
  29. <command>
  30. "ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/*.txt"
  31. </command>
  32. </client>
  33. ############################################
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <errorcode>
  37. 0
  38. </errorcode>
  39. # THERE SHOULD NOT BE "SIZE"! and one "USER/PASS"
  40. <protocol>
  41. USER anonymous
  42. PASS ftp@example.com
  43. PWD
  44. CWD fully_simulated
  45. CWD DOS
  46. EPSV
  47. TYPE A
  48. LIST
  49. EPSV
  50. TYPE I
  51. RETR chmod1
  52. EPSV
  53. RETR chmod2
  54. EPSV
  55. RETR chmod3
  56. EPSV
  57. RETR empty_file.dat
  58. EPSV
  59. RETR file.txt
  60. EPSV
  61. RETR someothertext.txt
  62. CWD /
  63. CWD fully_simulated
  64. CWD DOS
  65. EPSV
  66. TYPE A
  67. LIST
  68. EPSV
  69. TYPE I
  70. RETR chmod1
  71. EPSV
  72. RETR chmod2
  73. EPSV
  74. RETR chmod3
  75. EPSV
  76. RETR empty_file.dat
  77. EPSV
  78. RETR file.txt
  79. EPSV
  80. RETR someothertext.txt
  81. QUIT
  82. </protocol>
  83. <stdout>
  84. This file should have permissions 444
  85. This file should have permissions 666
  86. This file should have permissions 777
  87. This is content of file "file.txt"
  88. Some junk ;-) This file does not really exist.
  89. This file should have permissions 444
  90. This file should have permissions 666
  91. This file should have permissions 777
  92. This is content of file "file.txt"
  93. Some junk ;-) This file does not really exist.
  94. </stdout>
  95. </verify>
  96. </testcase>