test633 593 B

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