test611 785 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SFTP
  5. post-quote
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data>
  12. Dummy test file for rename test
  13. </data>
  14. </reply>
  15. #
  16. # Client-side
  17. <client>
  18. <server>
  19. sftp
  20. </server>
  21. <precheck>
  22. perl %SRCDIR/libtest/test610.pl mkdir %PWD/log/test611.dir
  23. </precheck>
  24. <name>
  25. SFTP post-quote rename
  26. </name>
  27. <command>
  28. --key curl_client_key --pubkey curl_client_key.pub -u %USER: -Q "-rename %PWD/log/test611.dir %PWD/log/test611.new" sftp://%HOSTIP:%SSHPORT%PWD/log/file611.txt --insecure
  29. </command>
  30. <postcheck>
  31. perl %SRCDIR/libtest/test610.pl rmdir %PWD/log/test611.new
  32. </postcheck>
  33. <file name="log/file611.txt">
  34. Dummy test file for rename test
  35. </file>
  36. </client>
  37. #
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. <valgrind>
  41. disable
  42. </valgrind>
  43. </verify>
  44. </testcase>