test616 577 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SFTP
  5. zero-length
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <data sendzero="yes">
  12. </data>
  13. </reply>
  14. #
  15. # Client-side
  16. <client>
  17. <server>
  18. sftp
  19. </server>
  20. <name>
  21. SFTP retrieval of empty file
  22. </name>
  23. <command>
  24. --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/file%TESTNUMBER.txt --insecure
  25. </command>
  26. <file name="%LOGDIR/file%TESTNUMBER.txt">
  27. </file>
  28. </client>
  29. #
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <valgrind>
  33. disable
  34. </valgrind>
  35. </verify>
  36. </testcase>