test627 707 B

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