blob: 9fdd68a614880fceea4a772e5f9571a1231142ea [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4SMB
5</keywords>
6</info>
7
8#
9# Server-side
10<reply>
11<data nocheck="yes">
12Basic SMB test complete
13</data>
14</reply>
15
16#
17# Client-side
18<client>
19<server>
20smb
21</server>
22<features>
23smb
24</features>
25<name>
26Basic SMB request
27</name>
28<command>
29-u 'curltest:curltest' smb://%HOSTIP:%SMBPORT/TESTS/%TESTNUMBER
30</command>
31<precheck>
32python3 -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))"
33</precheck>
34</client>
35
36#
37# Verify data after the test has been "shot"
38<verify>
39<stdout>
40Basic SMB test complete
41</stdout>
42</verify>
43</testcase>