test611 888 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/%LOGDIR/test%TESTNUMBER.dir
  23. </precheck>
  24. <name>
  25. SFTP post-quote rename
  26. </name>
  27. <command>
  28. --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -Q "-rename %PWD/%LOGDIR/test%TESTNUMBER.dir %PWD/%LOGDIR/test%TESTNUMBER.new" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure
  29. </command>
  30. <postcheck>
  31. perl %SRCDIR/libtest/test610.pl rmdir %PWD/%LOGDIR/test%TESTNUMBER.new
  32. </postcheck>
  33. <file name="%LOGDIR/file%TESTNUMBER.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>