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