Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This error manifested itself in sporadic "talloc_free with references" error.
|
|
|
|
|
|
Currently only covers FSCTL_GET_SHADOW_COPY_DATA.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
|
|
- The smblsa calls had to be commented out for now and should be fixed
later, but they aren't crucial to the test.
- The first two tests from RAW-ACLS were already ported to
torture_smb2_setinfo() and test_create_acl(). Modifications were
made similar to the RAW-ACLS changes.
- test_sd_get_set() was ported, but does not pass against XP or Vista;
it is not added to the SMB2-ACLS test suite.
- printf -> torture_comment / torture_warning / torture_result
|
|
* Ported all tests from raw/notify.c to smb2/notify.c
* Parameterized the max_buffer_size so it can be set on a
per-target basis.
* Fixed CHECK macros to use torture_result
* Created a SMB2-NOTIFY test suite
|
|
This reduces compile time somewhat.
|
|
|
|
I've ported all applicable SMB oplock torture tests to SMB2, giving us
a good base for SMB2 oplock testing.
There are several differences between oplocks in SMB and SMB2, mostly
because of differences in W2K3 and W2K8. The existing SMB oplock
tests all pass against W2K3, but several fail against W2K8. These
same tests were failing in SMB2, util I reworked them.
BATCH19, BATCH20: In W2K3/SMB a setfileinfo - rename command wouldn't
cause a sharing violation or break an existing oplock. It appears that
in W2K8/SMB2 a sharing violation is raised.
BATCH22: In W2K3/SMB when a second opener was waiting the full timeout
of an oplock break, it would receive NT_STATUS_SHARING_VIOLATION after
about 35 seconds. This bug has been fixed in W2K8/SMB2 and instead
the second opener succeeds.
LEVELII500: Added 1 new test checking that the server returns a proper
error code when a client improperly replies to a levelII to none break
notification.
STREAM1: W2K8 now grants oplocks on alternate data streams.
|
|
This test has been wholly replaced by the SMB2-DIR-ONE test found
in dir.c.
|
|
* Most of the tests were ported from SMB torture tests.
* Added one new tests which checks the behavior of the file_index field
present in SMB2_FIND struct.
* Added one new test to check the enumeration of directories containing
lots of files (~2000 files) with name lengths varying from 1 to 200 char.
|
|
metze
|
|
|
|
We move prototypes of _PUBLIC_ functions into /dev/null,
as we want public function to have handwritten prototypes.
see proto_header_template in build/make/templates.mk...
metze
|
|
suite instead of a solo test (in anticipation of more tests).
|
|
|
|
(This used to be commit e957e86a03baa0c0daf3bfe1aaeceb7a08e3c24e)
|
|
(This used to be commit 4aeda5c11414a4a7ef44da32be05209cb5caa90c)
|
|
(This used to be commit 16787e99f3de7255e315651c095486f90f65f2ca)
|
|
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
|
|
metze
(This used to be commit 914f0ac83bc396be0ca34c43e2ea01ecc1c3b826)
|
|
This demonstrates that the file seek position
is still available on reconnected persistent handles.
metze
(This used to be commit 30e04ae3a02596de03d06874ff5dfc0ddc3bf902)
|
|
metze
(This used to be commit d70afbb0673184ed067e5f1c7608536025a3cca7)
|
|
metze
(This used to be commit 66c0f331a231ea8897bd8f83658c86b1d2c85d62)
|
|
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
|
|
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
|
|
a write on a different file handle.
SMB2-LOCK-BLOCK-WRITE
- make it possible to run each SMB2-LOCK-* test on its own
metze
(This used to be commit 9c02f690bc07ebf99cb272e255a24d7061d8e730)
|
|
output in the testsuite rather than just True or False for a
set of tests.
The aim is to use this for:
* known failure lists (run all tests and detect tests that
started working or started failing). This
would allow us to get rid of the RPC-SAMBA3-* tests
* nicer torture output
* simplification of the testsuite system
* compatibility with other unit testing systems
* easier usage of smbtorture (being able to run one test
and automatically set up the environment for that)
This is still a work-in-progress; expect more updates over the next couple of
days.
(This used to be commit 0eb6097305776325c75081356309115f445a7218)
|
|
expanded size of dangerous level for write in SMB2-CONNECT test
(This used to be commit 355c6e78a91f4e934479829e722f873ca7e66baf)
|
|
metze
(This used to be commit 9dfbb0d15e2a5b9cd90643eebedca7b830fc6e10)
|
|
metze
(This used to be commit 73194e9ec3d1c18e7042bdaa008c7fd503e6e534)
|
|
contains protocol-specific code.
(This used to be commit 819d3b457648ffb7526a770e842badc17b6061fb)
|