Skip to content

Commit 3a80a62

Browse files
committed
smbtorture: Add more smb2 tests
Here we update selftest/knownfail as smb2.setinfo is a single test and not a test suite. Hopefully with the next sync of selftest contents from upstream we get it resolved via [1]. [1] https://gitlab.com/samba-team/samba/-/merge_requests/3647 Signed-off-by: Anoop C S <[email protected]>
1 parent 5426d82 commit 3a80a62

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

testcases/smbtorture/selftest/flapping.cephfs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ samba3.smb2.timestamps.time_t_1968
2020
# https://github.com/samba-in-kubernetes/sit-environment/pull/109
2121
# Note: CephFS(vfs) successfully completes smb2.session.reauth4.
2222
samba3.smb2.session.reauth4
23+
24+
# https://github.com/samba-in-kubernetes/sit-test-cases/issues/80
25+
samba3.smb2.durable-open.alloc-size

testcases/smbtorture/selftest/flapping.cephfs-vfs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ samba3.smb2.timestamps.time_t_10000000000
1616
samba3.smb2.timestamps.time_t_-1
1717
samba3.smb2.timestamps.time_t_-2
1818
samba3.smb2.timestamps.time_t_1968
19+
20+
# https://github.com/samba-in-kubernetes/sit-test-cases/issues/80
21+
samba3.smb2.durable-open.alloc-size

testcases/smbtorture/selftest/knownfail

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
^samba3.smb2.streams streams_xattr.rename2\(nt4_dc\)
215215
^samba3.smb2.getinfo.complex
216216
^samba3.smb2.getinfo.fsinfo # quotas don't work yet
217-
^samba3.smb2.setinfo.setinfo
217+
^samba3.smb2.setinfo
218218
^samba3.smb2.session.*reauth5 # some special anonymous checks?
219219
^samba3.smb2.compound.interim2 # wrong return code (STATUS_CANCELLED)
220220
^samba3.smb2.compound.aio.interim2 # wrong return code (STATUS_CANCELLED)

testcases/smbtorture/smbtorture-tests-info.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@
3131
- smb2.bench
3232
- smb2.winattr2
3333
- smb2.charset
34+
- smb2.dir
35+
- smb2.durable-open
36+
- smb2.setinfo
37+
- smb2.delete-on-close-perms

0 commit comments

Comments
 (0)