test613 998 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SFTP
  5. directory
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <datacheck>
  12. d????????? N U U N ??? N NN:NN .
  13. d????????? N U U N ??? N NN:NN ..
  14. d????????? N U U N ??? N NN:NN asubdir
  15. -rw?rw?rw? 1 U U 37 Jan 1 2000 plainfile.txt
  16. -r-?r-?r-? 1 U U 47 Dec 31 2000 rofile.txt
  17. </datacheck>
  18. </reply>
  19. #
  20. # Client-side
  21. <client>
  22. <server>
  23. sftp
  24. </server>
  25. <precheck>
  26. perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test613.dir
  27. </precheck>
  28. <name>
  29. SFTP directory retrieval
  30. </name>
  31. <command>
  32. --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%POSIX_PWD/log/test613.dir/ --insecure
  33. </command>
  34. <postcheck>
  35. perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test613.dir %PWD/log/curl613.out
  36. </postcheck>
  37. </client>
  38. #
  39. # Verify data after the test has been "shot"
  40. <verify>
  41. <valgrind>
  42. disable
  43. </valgrind>
  44. </verify>
  45. </testcase>