summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij6-95/+135
This changes the main selftest code to be in perl rather than in shell script. The selftest script is now no longer a black box but a regular executable that takes --help. This adds the following features: * "make test TESTS=foo" will run only the tests that match the regex "foo" * ability to deal with expected failures. the suite will not warn about tests that fail and are known to fail, but will warn about other failing tests and tests that are succeeding tests but incorrectly marked as failing. * ability to print a summary with all failures at the end of the run It also opens up the way to the following features, which I hope to implement later: * "environments", for example having a complete domains with DCs and domain members in a testenvironment * only set up smbd if necessary (not when running LOCAL tests, for example) * different mktestsetup scripts per target. except for the mktestsetup script, we can use the same infrastructure for samba 3 or windows. (This used to be commit 38f867880beb40c691e9713f854426031310629c)
2007-10-10r21699: Because TALLOC_CTX is a void*, I didn't get a compiler warning aboutAndrew Bartlett1-1/+1
this incorrect argument. This also fixes the server-side valgrind issue, but we need to chase down the real issue. Andrew Bartlett (This used to be commit a0c78a75acb9bc581dd8d2688aa91d7b59549c3e)
2007-10-10r21697: Try to cover the 'bad session key' codepaths too.Andrew Bartlett1-0/+54
Andrew Bartlett (This used to be commit 33cfe1ca221de9ef9dec264772fb299125c39447)
2007-10-10r21696: Run the RPC-COUNTCALLS test to try and walk some of the NDR layer forAndrew Bartlett1-28/+78
routines for which we don't have any tests. Andrew Bartlett (This used to be commit e5b9bdf03729a913f3c6cc7709abcbdf50899562)
2007-10-10r21694: Some more testing updates.Jelmer Vernooij3-2/+3
(This used to be commit 9247626b1c5f1eec0cedd6be221aafc41d9a26ab)
2007-10-10r21693: Fix the RPC-SCANNER test. Share some code with the RPC-MGMT test toAndrew Bartlett2-51/+14
make things easier to keep working. Andrew Bartlett (This used to be commit 16db4c1436725e41ea05628f20fc9396d7bd7eaa)
2007-10-10r21691: Add testsuite for lib/charsetJelmer Vernooij2-0/+2
(This used to be commit a4184893959bb25541704938ee621e5c575b817d)
2007-10-10r21688: Add simple tests for genrandJelmer Vernooij2-0/+2
(This used to be commit 90f23f0de86bb63ad65556ff2dab8b066236f300)
2007-10-10r21674: Fix argumentJelmer Vernooij1-2/+2
(This used to be commit 43e1cccf112f850cb70ab78f56ea1d0c233e45fa)
2007-10-10r21671: Add initial simple tests for socket wrapperJelmer Vernooij2-0/+2
(This used to be commit 872e2ad541478597191ca9e31872d5c8e2bbb832)
2007-10-10r21668: Add SMB_QFS_POSIX_WHOAMI to trans2.h so it's easy to find. AddJames Peach2-15/+14
convenience API to create an anonymous credential. Don't clobber cmdline_credentials in the UNIX-WHOAMI test. (This used to be commit 73cea4e0c66f57057ed12b07bbb94b4e783ba6bf)
2007-10-10r21662: More samr testsJelmer Vernooij1-0/+110
(This used to be commit 2eae55819ec51dc53aa8bdea7b777cb2e8444cea)
2007-10-10r21661: Put direction in test nameJelmer Vernooij1-1/+1
(This used to be commit bb0ebdab63bd8ba643f372fda8fe2ef4d600035b)
2007-10-10r21660: Add another testJelmer Vernooij1-0/+14
(This used to be commit 0b1e793ed56e3c4c592d8baaf3139e42b01b942b)
2007-10-10r21659: Rename functions.James Peach2-2/+2
(This used to be commit 6e645577a60bc79431a962b6522e8592b7c50e98)
2007-10-10r21658: Add some tests for SAMR NDRJelmer Vernooij3-1/+91
(This used to be commit a36912721ae84d3a1702bd83d735cc1097968f46)
2007-10-10r21656: Move tests a bit closer to the things they test, should make syncing ↵Jelmer Vernooij8-774/+7
with samba3 easier. (This used to be commit 4d755fb5d7adedd1dd8bad917b921324411bfd59)
2007-10-10r21653: Add two more tdr tests.Jelmer Vernooij1-0/+32
(This used to be commit cc40e3acd95aecea481a65e936d311b815c6e9ae)
2007-10-10r21648: Start a UNIX extensions test set. Add a test for the SMBWhoami query.James Peach3-0/+395
(This used to be commit ca89683dc28104a8cee23b0c1428350f22a68c99)
2007-10-10r21590: add RPC-HANDLES-MIXED-SHARED test, which shows thatStefan Metzmacher1-0/+136
assoc_groups are shared between idl-interfaces and connections. But you can't close a samr policy handle on a lsa pipe. add RPC-HANDLES-RANDOM-ASSOC test, which shows that you can't bind with an invalid assoc_group_id metze (This used to be commit 26b0e03a776fbac4e93fef585dcfec5962f40387)
2007-10-10r21588: add a RPC-HANDLES-LSARPC-SHARED test, which demonstratesStefan Metzmacher2-1/+247
policy handles can be shared between connections metze (This used to be commit 874cb393666b950b379d07e6af5bcf41f2bf4746)
2007-10-10r21580: Add generic target for test coverage data.Jelmer Vernooij1-0/+2
(This used to be commit a41b72458d04a18da0c0c59cef8a2e24f77e8890)
2007-10-10r21570: added a RPC-HANDLES test that tries to show that rpc policy handlesAndrew Tridgell3-1/+214
are not shared between connections. It tests three types of policy handles, on lsa, samr and drsuapi. You need to run on ncacn_ip_tcp with seal for drsuapi. Metze, can you have a look and see how this tallies with what you've seen? (This used to be commit c1f41ac045f6023da06c3dbd0a37f39edd8a62f8)
2007-10-10r21541: Export mgmt, samr and atsvc for use in samba-gtk.Jelmer Vernooij1-2/+2
(This used to be commit 7f451cbb8da26cfe27861c402e06b3f34f7ac647)
2007-10-10r21539: try to get rid of all valgrind warnings...Stefan Metzmacher1-26/+21
metze (This used to be commit 21f0e8e16373662f5662957e80c1f26f489f6279)
2007-10-10r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is createdAndrew Tridgell1-6/+6
using the pattern in the clilsa code, it didn't fill in the p->binding structure. This affects nearly all users of dcerpc_pipe_open_smb(), so the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises the binding if its not already there. - re-enable the RAW-ACLS test (This used to be commit d8875c286d2be49c01703d8fd58bbc1842054bd9)
2007-10-10r21533: try to get rid of the valgrind warnings of uninitialized memoryStefan Metzmacher1-1/+1
passed to a socket metze (This used to be commit 18ce33844738179a5434b91b362606bc4bdfa6b5)
2007-10-10r21524: don't send unitialized data to the socketStefan Metzmacher1-1/+1
metze (This used to be commit 50955aa669c11a2ba20e2ce335dcb4bc3a178109)
2007-10-10r21523: fix a valgrind warning, we write the struct content to the file and ↵Stefan Metzmacher1-0/+1
should not leave t2.out uninialized metze (This used to be commit 4723374d14e9c5648708a7fc5460e8ccda193d1e)
2007-10-10r21519: when we want to send non initialized data, thenStefan Metzmacher1-0/+1
generate a random buffer explicit to make valgrind happy found by valgrind in the build-farm on fort, there are some more places like this... metze (This used to be commit 2654f595cae046924be33a3f8f758a20565156ee)
2007-10-10r21514: move away from a hardcoded "smbtorturedc"Stefan Metzmacher1-31/+67
--option="become dc:smbtorture dc=mydcname" --option="become dc:do not unjoin=yes" joins as mydcname and creates mydcname_*.ldb files under lp_private_dir() metze (This used to be commit 22bc6d541e9de2dc494cda154d6fabbc3c907da8)
2007-10-10r21504: for simo...Stefan Metzmacher1-1/+1
metze (This used to be commit f773b1dc6fc39e59a2d71d7d017a63512a95cfa8)
2007-10-10r21502: add a very useful option "become dc:donnot leave=yes"Stefan Metzmacher1-0/+5
with this you can join a domain as dc for testing:-) You still need to setup some dns entries... and add the ldap/.... servicePrincipalName's abartlet: it's wrong to include ldap/ in the list of host=, we should change this... metze (This used to be commit 12f610d747fe827ed402984fa63680b576ed7b03)
2007-10-10r21491: Verify that the DNS domain name is filled in on GUID searches in theAndrew Bartlett1-0/+32
RPC-CRACKNAMES test. Andrew Bartlett (This used to be commit 7773f23e89340c459a0028a4c36b869d95ed8eb1)
2007-10-10r21476: Add another test for EnumValue.Jelmer Vernooij1-0/+11
(This used to be commit 8370b19ebbd4a7d2296fc50b267c8720b5a0a50b)
2007-10-10r21463: add a LDAP-UPTODATEVECTOR test, it shows that the "replUpToDateVector"Stefan Metzmacher3-7/+180
isn't updated by originating changes, and that there's no entry for the local dsa invocation_id metze (This used to be commit a9b757dddc496b705d04ee73f52b7f4f16e972e9)
2007-10-10r21433: Get rid of the COM support code - it's not used and unmaintained. We canJelmer Vernooij2-3/+7
always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. (This used to be commit 1ad0f99a439f0d52a735b391bf9900d50171aca5)
2007-10-10r21429: Fix the build.Jelmer Vernooij1-1/+1
(This used to be commit 88fbf9af24a346d3d99af32b8574507b0590846a)
2007-10-10r21426: Add more spoolss tests.Jelmer Vernooij1-0/+190
(This used to be commit 8b31fba826e5e76031979755f9682a8da5c59148)
2007-10-10r21425: Add ReplyClosePrinter.Jelmer Vernooij1-0/+13
(This used to be commit 745d0eae1a0f681f6a08a7cc259834ddbb5fa023)
2007-10-10r21424: Add FindClosePrinterNotify.Jelmer Vernooij1-0/+12
(This used to be commit 0ed195f45fed12905278ba60eabe02a11b59eb90)
2007-10-10r21423: Extend testsuite, check that all bytes have been consumed. DsBind ↵Jelmer Vernooij4-4/+162
fails that test, so disabling it for now. (This used to be commit d6026c2046a26f42ca0cd6ebf1f45488fbfb22e1)
2007-10-10r21421: Fix a memleak. This made tdb look considerably worse than necessary.Volker Lendecke1-0/+2
Volker (This used to be commit 573ba38722e338fb4158dfda181308a1a736c5c0)
2007-10-10r21418: Return the ratio as wellSimo Sorce1-2/+8
(This used to be commit 56ed4499d69adf57a41632ba12cbfef383a35ab2)
2007-10-10r21416: add missing fileJelmer Vernooij1-0/+305
(This used to be commit 5d4dd136ed29c6418377eae1227cae53fc510356)
2007-10-10r21415: Add tests for spoolss and drsuapi. Still need to add validators.Jelmer Vernooij3-1/+121
(This used to be commit 61cb52b65b9be2fd09a5c5a02536600c0ac500f7)
2007-10-10r21408: Remove test that uses empty array.Jelmer Vernooij1-3/+0
(This used to be commit 33142f7646265a05892f69b52f04fac9a50af914)
2007-10-10r21403: Add netlogon tests.Jelmer Vernooij3-1/+124
(This used to be commit a620dc359476de9440f3b84dc8b45f569d103270)
2007-10-10r21386: Run all NDR tests in the buildfarm, import some functions from ↵Jelmer Vernooij7-224/+191
Samba3's IDL. (This used to be commit 15a4b81ba0b5eeb25126a0b1a7bea7d3bf921ab2)
2007-10-10r21381: dfs tests.Jelmer Vernooij3-2/+125
(This used to be commit 3ef8a6834df63a0bfa68996daea6432e98243d40)