2
0

test638 829 B

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