test613 968 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 asubdir
  13. -rw?rw?rw? 1 U U 37 Jan 1 2000 plainfile.txt
  14. -r-?r-?r-? 1 U U 47 Dec 31 2000 rofile.txt
  15. </datacheck>
  16. </reply>
  17. #
  18. # Client-side
  19. <client>
  20. <server>
  21. sftp
  22. </server>
  23. <precheck>
  24. perl %SRCDIR/libtest/test%TESTNUMBER.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir
  25. </precheck>
  26. <name>
  27. SFTP directory retrieval
  28. </name>
  29. <command>
  30. --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/ --insecure
  31. </command>
  32. <postcheck>
  33. perl %SRCDIR/libtest/test%TESTNUMBER.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir %PWD/%LOGDIR/curl%TESTNUMBER.out
  34. </postcheck>
  35. </client>
  36. #
  37. # Verify data after the test has been "shot"
  38. <verify>
  39. <valgrind>
  40. disable
  41. </valgrind>
  42. </verify>
  43. </testcase>