test1451 672 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <testcase>
  2. <info>
  3. <keywords>
  4. SMB
  5. </keywords>
  6. </info>
  7. #
  8. # Server-side
  9. <reply>
  10. <data nocheck="yes">
  11. Basic SMB test complete
  12. </data>
  13. </reply>
  14. #
  15. # Client-side
  16. <client>
  17. <server>
  18. smb
  19. </server>
  20. <features>
  21. smb
  22. </features>
  23. <name>
  24. Basic SMB request
  25. </name>
  26. <command>
  27. -u 'curltest:curltest' smb://%HOSTIP:%SMBPORT/TESTS/%TESTNUMBER
  28. </command>
  29. <precheck>
  30. python3 -c "__import__('pkgutil').find_loader('impacket') or (__import__('sys').stdout.write('Test only works if Python package impacket is installed\n'), __import__('sys').exit(1))"
  31. </precheck>
  32. </client>
  33. #
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <stdout>
  37. Basic SMB test complete
  38. </stdout>
  39. </verify>
  40. </testcase>