2017-07-03 18:00:04 +08:00
<testcase>
<info>
<keywords>
SMB
</keywords>
</info>
#
# Server-side
<reply>
2020-03-11 00:47:44 +08:00
<data nocheck="yes">
Basic SMB test complete
</data>
2017-07-03 18:00:04 +08:00
</reply>
#
# Client-side
<client>
<server>
smb
</server>
<features>
smb
</features>
2020-03-11 00:47:44 +08:00
<name>
2017-07-03 18:00:04 +08:00
Basic SMB request
2020-03-11 00:47:44 +08:00
</name>
<command>
2017-07-03 18:00:04 +08:00
-u 'curltest:curltest' smb://%HOSTIP:%SMBPORT/TESTS/1451
</command>
2020-03-15 17:01:38 +08:00
<precheck>
2020-03-17 17:36:25 +08:00
python -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))"
2020-03-15 17:01:38 +08:00
</precheck>
2017-07-03 18:00:04 +08:00
</client>
#
# Verify data after the test has been "shot"
<verify>
2020-03-11 00:47:44 +08:00
<stdout>
Basic SMB test complete
</stdout>
2017-07-03 18:00:04 +08:00
</verify>
</testcase>