-
Notifications
You must be signed in to change notification settings - Fork 66
401 lines (393 loc) · 24.5 KB
/
c-cpp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
name: linux-ksmbd-oot CI
on:
push:
branches:
- master
- next
pull_request:
branches:
- master
- next
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Download the kernel
run: |
sudo apt-get update
sudo apt-get install libelf-dev wget tar gzip python2.7
wget https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.4.109.tar.gz
tar xf linux-5.4.109.tar.gz
mv linux-5.4.109 linux-stable
- name: Prerequisite for xfstests testing
run: |
sudo apt-get install cifs-utils
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install autoconf libtool pkg-config libnl-3-dev libnl-genl-3-dev
sudo apt-get install xfslibs-dev uuid-dev libtool-bin xfsprogs libgdbm-dev gawk fio attr libattr1-dev libacl1-dev libaio-dev
sudo apt-get install liblmdb-dev libgnutls28-dev libgpgme-dev libjansson-dev libarchive-dev libacl1-dev
sudo apt-get install gnutls-bin libparse-yapp-perl libjansson-dev libarchive-dev libjson-perl
git clone https://github.com/cifsd-team/ksmbd-tools
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PATH=/usr/local/lib:$PATH
sudo useradd fsgqa
sudo useradd 123456-fsgqa
- name: Copy ksmbd source to kernel
run: |
mv linux-stable ../
mkdir ../linux-stable/fs/ksmbd
cp -ar * ../linux-stable/fs/ksmbd/
- name: Compile with 5.4 kernel
run: |
cd ../linux-stable
yes "" | make oldconfig > /dev/null
echo 'obj-$(CONFIG_SMB_SERVER) += ksmbd/' >> fs/Makefile
echo 'source "fs/ksmbd/Kconfig"' >> fs/Kconfig
echo 'CONFIG_SMB_SERVER=m' >> .config
echo 'CONFIG_SMB_INSECURE_SERVER=y' >> .config
echo '# CONFIG_SMB_SERVER_SMBDIRECT is not set' >> .config
echo '# CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN is not set' >> .config
echo '# CONFIG_SMB_SERVER_KERBEROS5 is not set' >> .config
make -j$((`nproc`+1)) fs/ksmbd/ksmbd.ko
yes "" | make oldconfig > /dev/null
echo 'obj-$(CONFIG_SMB_SERVER) += ksmbd/' >> fs/Makefile
echo 'source "fs/ksmbd/Kconfig"' >> fs/Kconfig
echo 'CONFIG_SMB_SERVER=m' >> .config
echo '# CONFIG_SMB_INSECURE_SERVER is not set' >> .config
echo '# CONFIG_SMB_SERVER_SMBDIRECT is not set' >> .config
echo '# CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN is not set' >> .config
echo '# CONFIG_SMB_SERVER_KERBEROS5 is not set' >> .config
make -j$((`nproc`+1)) fs/ksmbd/ksmbd.ko
yes "" | make oldconfig > /dev/null
echo 'obj-$(CONFIG_SMB_SERVER) += ksmbd/' >> fs/Makefile
echo 'source "fs/ksmbd/Kconfig"' >> fs/Kconfig
echo 'CONFIG_SMB_SERVER=m' >> .config
echo '# CONFIG_SMB_INSECURE_SERVER is not set' >> .config
echo '# CONFIG_SMB_SERVER_SMBDIRECT is not set' >> .config
echo '# CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN is not set' >> .config
echo 'CONFIG_SMB_SERVER_KERBEROS5=y' >> .config
make -j$((`nproc`+1)) fs/ksmbd/ksmbd.ko
- name: Compile and insmod ksmbd module
run: |
uname -r
cd ../ksmbd
make > /dev/null
sudo make install > /dev/null
sudo modprobe ksmbd
sudo modprobe cifs
- name: Compile and install ksmbd-tools
run: |
cd ksmbd-tools
./autogen.sh
./configure --sysconfdir=/etc --with-rundir=/run
make -j$((`nproc`+1))
sudo make install
- name: Run xfstests testsuite
run: |
cd ..
sudo mkdir -p /etc/ksmbd/
sudo mkdir -p /mnt/1
sudo mkdir -p /mnt/2
sudo mkdir -m 777 -p /mnt/test1
sudo mkdir -m 777 -p /mnt/test2
sudo mkdir -m 777 -p /mnt/test3
ksmbd.adduser -P ./ksmbdpwd.db -a testuser -p 1234
git clone https://github.com/namjaejeon/cifsd-test-result
cp cifsd-test-result/testsuites/smb.conf .
cat smb.conf
sudo ksmbd.mountd -n -C ./smb.conf -P ./ksmbdpwd.db&
sleep 1
ps -ax | grep smbd
cd cifsd-test-result/testsuites
tar xzvf xfstests-cifsd.tgz > /dev/null
cd xfstests-cifsd
make -j$((`nproc`+1)) > /dev/null
sudo ./check cifs/001
sudo ./check generic/001
sudo ./check generic/002
sudo ./check generic/005
sudo ./check generic/006
cd ..
tar xzvf samba-cifsd.tgz > /dev/null
cd samba-cifsd/
./configure --disable-cups --disable-iprint --without-ad-dc --without-ads --without-ldap --without-pam --with-shared-modules='!vfs_snapper'
make -j$((`nproc`+1)) bin/smbtorture > /dev/null
# smb2 connect test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.connect
sudo rm -rf /mnt/test3/*
# smb2 read test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.read.eof
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.read.position
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.read.dir
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.read.access
sudo rm -rf /mnt/test3/*
# smb2 scan test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.scan.scan
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.scan.getinfo
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.scan.setinfo
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.scan.find
sudo rm -rf /mnt/test3/*
# smb2 dir test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.dir.find
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.dir.fixed
sudo rm -rf /mnt/test3/*
##./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.dir.one
##sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.dir.many
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.dir.modify
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.dir.sorted
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.dir.file-index
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.dir.large-files
sudo rm -rf /mnt/test3/*
# smb2 rename test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.rename.simple
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.rename.simple_nodelete
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.rename.no_sharing
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.rename.share_delete_and_delete_access
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.rename.no_share_delete_but_delete_access
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.rename.share_delete_no_delete_access
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.rename.msword
sudo rm -rf /mnt/test3/*
# - ./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.rename.rename_dir_openfile
# - sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.rename.rename_dir_bench
sudo rm -rf /mnt/test3/*
# smb2 maxfid test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.maxfid
sudo rm -rf /mnt/test3/*
# smb2 sharemode test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.sharemode.sharemode-access
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.sharemode.access-sharemode
sudo rm -rf /mnt/test3/*
# smb2 compound test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.compound.related1
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.compound.related2
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.compound.related3
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.compound.unrelated1
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.compound.invalid1
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.compound.invalid2
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.compound.invalid3
sudo rm -rf /mnt/test3/*
# - ./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.compound.interim1 #fail
# - sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.compound.interim2
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.compound.compound-break
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.compound.compound-padding
sudo rm -rf /mnt/test3/*
# smb2 streams test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.dir
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.io
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.sharemodes
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.names
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.names2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.names3
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.rename
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.rename2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.create-disposition
##./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.attributes
# - ./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.delete
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.zero-byte
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.streams.basefile-rename-with-open-stream
sudo rm -rf /mnt/test3/*
# smb2 create test
##./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.create.gentest
##./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.create.blob
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.create.open
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.create.brlocked
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.create.multi
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.create.delete
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.create.leading-slash
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.create.impersonation
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.create.dir-alloc-size
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.create.aclfile
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.create.acldir
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.create.nulldacl
sudo rm -rf /mnt/test3/*
# smb2 delete-on-close test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.delete-on-close-perms.OVERWRITE_IF
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 "smb2.delete-on-close-perms.OVERWRITE_IF Existing"
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.delete-on-close-perms.CREATE
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 "smb2.delete-on-close-perms.CREATE Existing"
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.delete-on-close-perms.CREATE_IF
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 "smb2.delete-on-close-perms.CREATE_IF Existing"
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.delete-on-close-perms.FIND_and_set_DOC
sudo rm -rf /mnt/test3/*
# smb2 oplock test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.exclusive1
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.exclusive2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.exclusive3
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.exclusive4
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.exclusive5
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.exclusive6
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.exclusive9
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch1
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch3
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch4
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch5
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch6
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch7
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch8
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch9
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch9a
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch10
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch11
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch12
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch13
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch14
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch15
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch16
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch19
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch20
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch21
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch22a
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch23
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch24
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch25
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.batch26 #fail
# - ./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.stream1 #fail
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.doc
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.brl1
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.brl2
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.brl3
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.levelii500
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.levelii501
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.oplock.levelii502
#sudo rm -rf /mnt/test3/*
# smb2 session test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.session.reconnect1
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.session.reconnect2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.session.reauth1
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.session.reauth2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.session.reauth3
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.session.reauth4
# smb2 lock test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.valid-request
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.rw-shared
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.rw-exclusive
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.auto-unlock
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.async
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.cancel
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.cancel-tdis
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.cancel-logoff
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.zerobytelength
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.zerobyteread
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.unlock
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.multiple-unlock
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.stacking
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.contend
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.context
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lock.truncate
# smb2 leases test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.request
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.nobreakself
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.statopen
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.statopen2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.statopen3
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.upgrade
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.upgrade2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.upgrade3
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.break
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.oplock
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.multibreak
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.breaking1
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.breaking2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.breaking3
#./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.breaking4
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.breaking5
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.breaking6
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.lock1
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.complex1
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.timeout
#./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.unlink
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.v2_request_parent
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.v2_request
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.v2_epoch1
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.v2_epoch2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.v2_epoch3
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.v2_complex2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.lease.v2_rename
# smb2 acls test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.acls.CREATOR
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.acls.GENERIC
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.acls.OWNER
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.acls.INHERITANCE
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.acls.INHERITFLAGS
sudo rm -rf /mnt/test3/*
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.acls.DYNAMIC
# smb2 credits test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.credits.session_setup_credits_granted
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.credits.single_req_credits_granted
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.credits.skipped_mid
# smb2 durable handle test
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.open-oplock
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.open-lease
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.reopen1
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.reopen1a
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.reopen1a-lease
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.reopen2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.reopen2a
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.reopen2-lease
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.reopen2-lease-v2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.reopen3
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.reopen4
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.delete_on_close2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.file-position
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.lease
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.alloc-size
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-open.read-only
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-v2-open.create-blob
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-v2-open.open-oplock
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-v2-open.open-lease
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-v2-open.reopen1
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-v2-open.reopen1a
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-v2-open.reopen1a-lease
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-v2-open.reopen2
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-v2-open.reopen2b
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-v2-open.reopen2c
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-v2-open.reopen2-lease
./bin/smbtorture //127.0.0.1/cifsd-test3/ -Utestuser%1234 smb2.durable-v2-open.reopen2-lease-v2