summaryrefslogtreecommitdiff
path: root/source4/torture/basic
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21707: Finally merge my (long-living) perlselftest branch.Jelmer Vernooij1-15/+15
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-10r21539: try to get rid of all valgrind warnings...Stefan Metzmacher1-26/+21
metze (This used to be commit 21f0e8e16373662f5662957e80c1f26f489f6279)
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-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-10r21276: Actually fire off multiple parallel read/write requests.Volker Lendecke1-17/+57
Volker (This used to be commit 1d7bcdb33ef19be7bf64356b9cb8eee9658afe09)
2007-10-10r21275: Reformat the bench-readwrite test a bitVolker Lendecke1-89/+117
(This used to be commit d2d44bf6779c6ac46b011d7e3b372c28c6f8a4f9)
2007-10-10r21270: Fix a memleakVolker Lendecke1-0/+1
(This used to be commit 918031a99c583b45c854c6d066f56ca6887011dd)
2007-10-10r21134: Attempt to quieten the build farm for Samba3Volker Lendecke1-0/+4
(This used to be commit 966c30ca591c410a4a229396c7919fe8f98bd066)
2007-10-10r20823: Remove newlines in calls to torture_fail().Jelmer Vernooij1-2/+2
(This used to be commit 37c0cfe83bd9b9f799c880e3b5052a49631a113e)
2007-10-10r20525: Closing a dir with del-on-close set requires the same as files: ↵Volker Lendecke1-0/+80
Don't actually unlink/rmdir if another process still has it open. Jeremy, this is a potential merger to 3.0.24. Volker (This used to be commit d0550a01af219344ec2e4c16d5253814afc89974)
2007-10-10r20423: Fix debug outputVolker Lendecke1-1/+1
(This used to be commit 6afc394d9349782788cc06a38750f0723a5a55e7)
2007-10-10r20422: A torture test extension for JeremyVolker Lendecke1-0/+26
(This used to be commit 1bcc421dab53adaf3b6c6d7f51c23c80cb637a95)
2007-10-10r20357: run_trans2test and torture_trans2_scan are two separate testsVolker Lendecke1-1/+1
(This used to be commit 2e06c38a98e3891ed1f9e823614c3f0c3d279afe)
2007-10-10r20341: Make sure we do not regress on r20338 in Samba3Volker Lendecke1-0/+61
(This used to be commit 64ee399c964c2935c1386123e2e636c266c8c6a8)
2007-10-10r20272: Fix for BASE-BENCH-READWRITE from Mathias Dietz <MDIETZ@de.ibm.com>Volker Lendecke1-4/+3
(This used to be commit b053a7df8453527a9c2dfc03f3c35487fe75676f)
2007-10-10r19510: Make smbtorture's `nprocs' parameter a parametric option.Jelmer Vernooij1-2/+4
(This used to be commit f5d6b3ca29788d171d53822a26295ae895a5ed8f)
2007-10-10r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.cAndrew Tridgell1-1/+2
tdbutil.c is Samba specific, so should not be part of the generic tdb library (This used to be commit 979dd24f5e44605fc1603b690913b8c31be7478f)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij4-12/+12
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r19389: Remove samba3-specific checks: instead, always simply mark these ↵Jelmer Vernooij1-7/+5
tests as known failing. (This used to be commit 3855ec9dcaa694fffa1f2a24205d490708d12750)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij18-2420/+2262
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)
2007-10-10r18807: don't overtax the imaginations of servers that can't do mkdir on ↵Andrew Tridgell1-2/+2
\\dirname\\ (This used to be commit 6f2b585f8eb0feb79c0a9d11f1cae3b16e8f162f)
2007-10-10r18307: fixed a warningAndrew Tridgell1-1/+1
(This used to be commit cf24d46ea3c2dca4425121642400bef88f218a9e)
2007-10-10r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell1-1/+1
emacs compile mode (hint, paste to a file, and compile as "cat filename"). This allowed me to fix nearly all the warnings for a IA_64 SuSE build very quickly. (This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17417: Try to fix random failures in the build farm for 3_0.Volker Lendecke1-0/+10
Volker (This used to be commit 5cffd35fecb85e3c1407f6e6d91e846b17a7c917)
2007-10-10r17020: pass the real error to the failing requestsStefan Metzmacher1-1/+1
metze (This used to be commit 49b96ac44a883c020c69df7a12df154dc4faa4d5)
2007-10-10r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke17-52/+59
enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
2007-10-10r16834: split the level's of smb_search_first/smb_search_next and the levelsStefan Metzmacher1-1/+3
of smb_search_data metze (This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
2007-10-10r16756: Some machines on the build farms sporadically fail the testVolker Lendecke1-0/+4
/* Test 21 -- Test removal of file after socket close. */ I think it might be because they are too slow to delete the file. Jeremy, can you check this test does not change semantics in a way you don't want it? Volker (This used to be commit 92aa95f8206364a832bd6ad8cebc030bc001d940)
2007-10-10r16657: Test Jerry's iTunes bug, along with some more error conditionsVolker Lendecke1-1/+18
Volker (This used to be commit 12aa900eb2ffde3711a30c7e063bfba95128e91d)
2007-10-10r16331: Split out registering of multi fn tests, fix typo in name of pac suite.Jelmer Vernooij1-46/+46
(This used to be commit 9e8574ac6cd38d1ff388f0c9ff37d86b316a431e)
2007-10-10r16182: Better test the 15 out of 20 tests we right now survive than not test atVolker Lendecke1-5/+7
all... Volker (This used to be commit 1d4a129bb56ef7b944dbd386313ea8345a675e6f)
2007-10-10r15865: using dirname for a variable isn't that good,Stefan Metzmacher2-43/+43
but making it a global symbol is really bad... fix linking on sun1 in the build-farm metze (This used to be commit d073320f642ceeb49b11060aa958608248f3aff5)
2007-10-10r15836: Test an invalid DOS share mode.Volker Lendecke1-1/+34
Volker (This used to be commit 0369d59142c6015f62bf50087f261c1e8430a8e2)
2007-10-10r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different ↵Stefan Metzmacher1-0/+1
level metze (This used to be commit 95bf41b4d4ec96349802955e364fe44ef85f9077)
2007-10-10r15706: This is a very specific test that helps me in making sure I don't ↵Volker Lendecke1-0/+150
screw up too badly in getting rid of set_saved_ntstatus in Samba3. If this is not the appropriate place to put it, please tell me. Volker (This used to be commit cc9634d5863d8f4a5e14aa2e4411d6a3abde3b9f)
2007-10-10r15573: Fix build of systems that have iconv headers in non-standard locationsJelmer Vernooij1-1/+1
Split of system/locale.h header from system/iconv.h Previously, iconv wasn't being used on these systems (This used to be commit aa6d66fda69779d1c2948a1aca85dbd5208f1cba)
2007-10-10r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename isJames Peach1-1/+2
"." for "..". These express the intention better that strcmp or strequal and improve searchability via cscope/ctags. (This used to be commit 7e4ad7e8e5ec266b969e3075c4ad7f021571f24e)
2007-10-10r15087: Quick stress test that does more or less what the tool "iometer" does.Volker Lendecke1-0/+87
Volker (This used to be commit 6a08b192bec95cc0bbe017a2ce692afce63e047f)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij17-41/+41
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14527: Fix build problems.Jelmer Vernooij17-0/+18
(This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
2007-10-10r14519: Put base registration in a seperate file, as well as someJelmer Vernooij1-0/+1575
of the base tests that were currently in torture.c (This used to be commit 4e7c3c7e1fe383b37d90954982e8bf150a06663a)
2007-10-10r14379: Build torture/rpc/ as a seperate smbtorture module. Move helperJelmer Vernooij2-3/+2
functions for rpc out of torture/torture.c (This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
2007-10-10r14363: Remove credentials.h from the global includes.Jelmer Vernooij1-0/+1
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher4-30/+30
- move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
2007-10-10r14208: removed use of req->flags2 inside the ntvfs layer. This should helpAndrew Tridgell1-8/+22
metze on his quest to unify the ntvfs strucures for the smb and smb2 servers. The only place we needed flags2 inside ntvfs was for the FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a readx.in.read_for_execute flag instead. (This used to be commit b78abbbce60ab0009da19a72dd769800c44298a2)
2007-10-10r14173: change smb interface structures to always useStefan Metzmacher4-27/+27
a union smb_file, to abtract - const char *path fot qpathinfo and setpathinfo - uint16_t fnum for SMB - smb2_handle handle for SMB2 the idea is to later add a struct ntvfs_handle *ntvfs so that the ntvfs subsystem don't need to know the difference between SMB and SMB2 metze (This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
2007-10-10r13707: expanded the delete on close test some more, and make it easier toAndrew Tridgell1-47/+70
track down where a error is happening. The semantics sure are strange! (This used to be commit f722aed66d19edc6b49ecde927853aaa7895ab91)
2007-10-10r13370: Added deltest21 - pull the rug out from a connection by socketJeremy Allison1-81/+90
close after setting delete on close flag. Jeremy. (This used to be commit fbea18e78f8a3c6dbb36aa935b7044c0fcf61da4)