1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

444 Commits

Author SHA1 Message Date
Jelmer Vernooij
8c19cd2dea netcmd: Add some basic tests. 2009-12-29 16:26:19 +01:00
Kamen Mazdrashki
c113be8526 s4-tort: Move Schema tests from ldap.py into separate module
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-21 23:44:05 +11:00
Stefan Metzmacher
dd650edff2 s4:selftest: skip SMB2-ACLS for now
metze
2009-12-08 13:50:16 +01:00
Stefan Metzmacher
33ecfb05a4 s4:selftest: run RAW-STREAMS again
metze
2009-12-08 13:50:16 +01:00
Stefan Metzmacher
ed5c3372de s4:selftest: use ${selftest_prefix} instead of hardcoded st/
metze
2009-12-08 09:19:35 +01:00
Andrew Tridgell
52083a8547 s4-selftest: show the test summary at the end of 'make test' in the build farm
This should make it easier to see what tests are failing with what
parameters
2009-12-08 15:59:10 +11:00
Tim Prouty
1bf825b6f8 s4 torture: Cleanup RAW-ACLS a bit
Don't check SEC_DESC_DACL_AUTO_INHERITED right now
Disable RAW-ACLS-INHERITFLAGS for the short term
Update samba4's knownfail accordingly
2009-12-07 17:59:28 -08:00
Andrew Tridgell
978dc61b56 s4-selftest: don't consider spoolss failures to be an error in s4 2009-12-08 12:39:11 +11:00
Tim Prouty
105eb95a57 s4 quicktest: exclude raw-streams from quicktest until bug is fixed 2009-12-07 16:54:17 -08:00
Steven Danneman
47f5aac39d s4/torture: add test for zero byte read contention with byte range locks 2009-12-07 16:10:25 -08:00
Tim Prouty
5c857768d1 s4 selftest/quicktest: Update known failures for the sfileinfo and oplock changes
Two new samba4 bugs have been filed for the two corresponding known
failures.  For the short term raw.sfileinfo had to be removed from
quicktest.  It is no longer an individual test, but a test-suite and
quicktest can only run top level tests.
2009-12-03 18:54:52 -08:00
Steven Danneman
76be0f6a11 s4/selftest: knownfail some locking tests until bugs are fixed 2009-12-02 17:55:34 -08:00
Matthias Dieter Wallnöfer
b973c50836 s4:upgrade_from_s3 - Move it back to "setup"
Suggested by Jelmer
2009-11-28 19:25:12 +01:00
Matthias Dieter Wallnöfer
1af31aed0b s4:tests.sh - Make also here the change from "upgrade" to "upgrade_from_s3" 2009-11-27 16:42:11 +01:00
Andrew Tridgell
d5240822a5 s4-selftest: s4 passes all the SMB2-LOCK tests now 2009-11-27 19:42:11 +11:00
Andrew Tridgell
af087f98ab s4-selftest: s4 passes this test now 2009-11-27 19:42:10 +11:00
Andrew Tridgell
f6ecb4efb0 s4-torture: fixed expected error codes for s4 in SMB2-LOCK
I think the error/success codes returned by windows for these tests
are quite bogus. The ones s4 gives are much more reasonable. The
locking ones returning NT_STATUS_SUCCESS could lead to data loss, as
an application thinks it has a file locked correctly when it fact it
doesn't, so it could do an unsafe modify.
2009-11-27 16:05:06 +11:00
Andrew Bartlett
6f0f82f7ed s4:selftest Add tests for upgradeprovision 2009-11-27 16:05:05 +11:00
Stefan Metzmacher
49553d066b librpc: rerun "make idl"
metze
2009-11-26 11:47:42 +01:00
Tim Prouty
ce9ac3a685 s4 torture: Split up the torture suite setup for RAW-SFILEINFO
A side effect of this change is that RAW-SFILEINFO now runs the whole
suite instead of just the first test.  I changed the name of the first
test to RAW-SFILEINFO-BASE and changed all of the selftest scripts
that call it.
2009-11-25 08:45:14 -08:00
Stefan Metzmacher
fb685d3a8a s4:selftest: mark samba4.smb2.lock.*.VALID-REQUEST as known failure
metze
2009-11-18 08:24:13 +01:00
Stefan Metzmacher
575967a5cf s4:selftest: fix logic for --option=torture:progress=no
metze
2009-11-18 06:50:24 +01:00
Stefan Metzmacher
e3032d5fc8 s4:selftest: for now skip the BASE-DELAY-WRITE test completely
This test randomly fails depending on the timing
(the tests are too strict with the values introduced in
commit 0fca2b078c)
and local filesystem features (timestamp resolution).

metze
2009-11-18 06:50:23 +01:00
Stefan Metzmacher
e67445b7f7 s4:selftest: avoid running the slow BASE-DELAY-WRITE test on the cifs proxy share
It's enough to run it on the posix share.

metze
2009-11-18 06:50:23 +01:00
Stefan Metzmacher
b4c916c492 s4:selftest: add "rpc.netlogon.*.GetDomainInfo"
We need to expand the test to work against w2k8 and w2k8r2...

metze
2009-11-18 06:50:23 +01:00
Stefan Metzmacher
4750155071 s4:selftest: use "dc:local" instead of a hardcoded config file
If a tests needs access to the dc's config, it should run
as "dc:local", then it can also access unix named pipes...

If we pass a hardcoded config file the test fails if you use
a selftest_prefix.

metze
2009-11-17 09:00:48 +01:00
Stefan Metzmacher
39072c70d2 s4:selftest: allways start with $(ST_RM)
metze
2009-11-17 09:00:47 +01:00
Stefan Metzmacher
068d4336d6 s4:selftest: place summary file into selftest-prefix
metze
2009-11-17 09:00:47 +01:00
Andrew Bartlett
b13518e4e8 s4:dsdb With these workarounds, we now pass the RPC-DSSYNC test 2009-11-17 10:38:09 +11:00
Nadezhda Ivanova
55d2cec640 Fixed some major bugs in inheritance and access checks.
Fixed sd creation not working on LDAP modify.
Fixed incorrect replacement of CO and CG.
Fixed incorrect access check on modify for SD modification.
Fixed failing sec_descriptor test and enabled it.
Fixed failing sd add test in ldap.python
2009-11-15 22:31:44 +02:00
Andrew Bartlett
5740648279 s4:selftest Mark the RPC-DSSYNC test as knownfail for now
We need to work on the provision or LDB modules to avoid DN attributes
without GUIDs (caused because the target does not exist at creation
time).

Andrew Bartlett
2009-11-12 22:23:22 +11:00
Andrew Bartlett
06b234e811 s4:torture Remove _drs_util_verify_attids() from RPC-DSSYNC
I'm satisfied that the task this test does is already done by the time
we map the incoming schema, and process the objects.  If we have the
OID mapping wrong or incomplete, we will get any errors this test
found errors there.

(And this dramaticly reduces the test time, so we can now add
RPC-DSSYNC to 'make test').

Andrew Bartlett
2009-11-12 16:34:18 +11:00
Kamen Mazdrashki
3abe0ad7de s4: DRS-RPC tests added to RPC group of tests
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:41 +01:00
Kamen Mazdrashki
7a51b3adc2 s4: Add DRS-UNIT test suite to LOCAL group of tests to be executed
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06 14:05:40 +01:00
Zahari Zahariev
5fb9d06607 Python tests for the acl module.
Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com>

Author:    Zahari Zahariev <zahari.zahariev@postpath.com>
2009-11-05 17:40:54 +02:00
Andrew Tridgell
0fca2b078c s4-selftest: lower some of the timeouts during make test
This speeds up some of the delay based tests by a lot. There is no
need to have long delays during testing.
2009-10-23 15:38:54 +11:00
Andrew Tridgell
a5712ff673 s4-selftest: removed raw.unlink from quicktest
This test takes 40s, and quicktest already covers delete operations in
base.delete
2009-10-22 12:47:55 +11:00
Andrew Tridgell
2b90fbb579 s4-selftest: the secleak test is not designed for automated running 2009-10-20 16:18:51 +11:00
Andrew Tridgell
14111d606b s4-selftest: skip two more scanners
Protocol scanners are not any use in the build farm
2009-10-20 15:19:27 +11:00
Andrew Tridgell
a1135b28dc s4-selftest: skip the trans2.scan test
This test consumes a huge number of file descriptors on the server
(random binds to the WKSSVC pipe)
2009-10-20 13:54:55 +11:00
Andrew Tridgell
fb9319d971 s4-selftest: move secdesc.python test to skip list
This test produces a python backtrace due to
LDAP_INSUFFICIENT_ACCESS_RIGHTS errors, which are expected until the
new acl code is finished. The python backtrace overrides the
'knownfail' listing, so we need to skip this test for now.
2009-10-19 13:51:18 +11:00
Andrew Tridgell
959accb4e6 s4-test: removed duplicate knownfail entry 2009-10-19 13:51:17 +11:00
Andrew Tridgell
bc2b4192c0 s4-test: the ldap secdesc test is expected to fail for now
Nadya, if this is not correct and you think this should be passing
already the please let me know. When I looked over it, it doesn't look
like it has a chance of passing until your acl module is in place and
enabled by default.
2009-10-18 16:32:01 +11:00
Andrew Tridgell
5d3659a881 s4-test: SMB2 oplocks in s4 are a mess
I don't have time to fix these right now, and as we don't advertise
SMB2 by default I'll mark it as a known failure till we start enabling
SMB2 by default.
2009-10-18 15:57:21 +11:00
Andrew Tridgell
53dec869b8 s4-torture: the BASE-CREATEX_ACCESS test is broken for non-administrators
See my msg to samba-technical about this test and privilege testing.
2009-10-17 13:01:03 +11:00
Andrew Tridgell
bdd9dc4a84 s4-selftest: mark some CIFS backend tests as known fail
The CIFS passthru NTVFS doesn't handle some options yet (eg. root_fid)
2009-10-15 20:42:53 +11:00
Andrew Tridgell
3ecfd06d64 s4-selftest: don't run benchmarks on the build farm hosts 2009-10-12 16:14:02 +11:00
Andrew Tridgell
6ed9aeee2a s4-seftest: skip hold.oplock for SMB2 as well
This test is not designed to be run automatically. It deliberately
blocks forever.
2009-10-06 09:19:41 +11:00
Andrew Tridgell
860dad2605 s4-test: skip python gensec test until its finished 2009-10-02 18:52:51 +10:00
Jelmer Vernooij
95fafa9d83 selftest: Prefer system tap2subunit if available. 2009-09-27 16:34:59 +02:00