Skip to content

Commit

Permalink
smbtorture: Add more smb2 tests
Browse files Browse the repository at this point in the history
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 <anoopcs@cryptolab.net>
  • Loading branch information
anoopcs9 committed May 30, 2024
1 parent a11493f commit 3f7ca98
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions testcases/smbtorture/selftest/flapping.cephfs
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ samba3.smb2.timestamps.time_t_10000000000
samba3.smb2.timestamps.time_t_-1
samba3.smb2.timestamps.time_t_-2
samba3.smb2.timestamps.time_t_1968

# https://github.com/samba-in-kubernetes/sit-test-cases/issues/80
samba3.smb2.durable-open.alloc-size
2 changes: 1 addition & 1 deletion testcases/smbtorture/selftest/knownfail
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
^samba3.smb2.streams streams_xattr.rename2\(nt4_dc\)
^samba3.smb2.getinfo.complex
^samba3.smb2.getinfo.fsinfo # quotas don't work yet
^samba3.smb2.setinfo.setinfo
^samba3.smb2.setinfo
^samba3.smb2.session.*reauth5 # some special anonymous checks?
^samba3.smb2.compound.interim2 # wrong return code (STATUS_CANCELLED)
^samba3.smb2.compound.aio.interim2 # wrong return code (STATUS_CANCELLED)
Expand Down
4 changes: 4 additions & 0 deletions testcases/smbtorture/smbtorture-tests-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@
- smb2.bench
- smb2.winattr2
- smb2.charset
- smb2.dir
- smb2.durable-open
- smb2.setinfo
- smb2.delete-on-close-perms

0 comments on commit 3f7ca98

Please sign in to comment.