summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19423: merge some tdb changes from SAMBA_3_0 to SAMBA_4_0Andrew Tridgell5-12/+23
this is in preparation of a merge in the other direction (This used to be commit db3211079fd594aa03c3b9bb3eb6ad86bdd32837)
2007-10-10r19412: some rather strange looking changes to talloc that gain us about 50%Andrew Tridgell1-211/+299
in the talloc benchmark. These changes were driven by some cachegrind profiles, with the biggest improvements coming from inlining some functions. I don't think it would be a good idea to start spreading inline and likely()/unlikely() in other parts of Samba, as the benefit in most code will be very small, but talloc() is such a speed critical part of Samba that I think these changes are worthwhile (This used to be commit 8644708c3f42d249b5d1fd2bde37aeb35288da13)
2007-10-10r19411: sigh - we can't call close here as its mapped to swrap_close() in theAndrew Tridgell1-3/+0
build farm (This used to be commit be43b8c5692f6bb6f1cc74d07f24376b43593256)
2007-10-10r19410: - fixed checker errorAndrew Tridgell1-1/+4
- close the sockets after the socketpair test (This used to be commit e679163ac26dccee028ca501e4ef6229a3c761ee)
2007-10-10r19409: Pull in <sys/time.h> for struct timeval for non samba build (don'tLove Hörnquist Åstrand1-0/+1
depend on namespace pollution) (This used to be commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612)
2007-10-10r19408: I think tm_mon is ending up as -1 on some platformsAndrew Tridgell1-0/+1
(This used to be commit d01bdf1f2dcdf77043a5ad162ee336d3c6f2e944)
2007-10-10r19405: the talloc speed test suite was not giving an accurate picture of theAndrew Tridgell1-13/+18
cost of talloc versus malloc. The size parameter in the test suite was constantly increasing, leading to a worst case for malloc. It is far more common to have talloc calls of 100 bytes or lower, so change the benchmark to reflect this. This makes talloc look much worse - on my laptop I now get: talloc: 5615164 ops/sec malloc: 14337130 ops/sec I'm working on improving that. (This used to be commit db273ef4dd6ab58da57bb4b59fb1fd5568585ed8)
2007-10-10r19404: fixed the LOCAL-ICONV testAndrew Tridgell1-3/+8
(This used to be commit 0b3e83814bdf015064d7dd1f26cf9ec3ddadc7f4)
2007-10-10r19403: try to fix the crashes in the buildfarm related to timegmAndrew Tridgell1-1/+10
(This used to be commit c4e1d2c5ae11acac7dd2cedca411b9b6be84962f)
2007-10-10r19402: - use the new tdb_lockall_read() to make ldb_search() more efficient,Andrew Tridgell4-20/+15
by avoiding chain locks on each tdb_fetch() within the search - use the tdb_get_seqnum() call to avoid re-reading the @BASEINFO record when it hasn't changed. These speed up the LOCAL-DBSPEED test for ldb from 7k ops/sec to a bit over 11k ops/sec (This used to be commit 1347ad254eb8cd12ce22a5a2a37bec0a0ac8dbf1)
2007-10-10r19401: make tdb_lockall() much more efficient, and add a tdb_lockall_read()Andrew Tridgell7-69/+142
call which does a read lock on all chains. These will be used to make ldb searches more efficient (This used to be commit de664ec1f8cf179f1d650563272c0de3f7636e2b)
2007-10-10r19400: fixed a valgrind error in the directory registry backend (name wasAndrew Tridgell1-2/+2
used after closedir(), which invalidates the name) (This used to be commit d8af519c2d2fcab3baa822c5fd4c1079dcbd1de3)
2007-10-10r19398: more commentsRafal Szczesniak1-3/+97
rafal (This used to be commit 2ed463e3cd36434c25833a0905e432b5b7f14e25)
2007-10-10r19396: Assume socketpair() is always available (cared for by libreplace) andJelmer Vernooij1-16/+22
create a socket for stderr. (This used to be commit 16b6dbd713e306c88b5251e5092b8731749c5263)
2007-10-10r19395: Fix replacement function compilation.Jelmer Vernooij1-1/+1
(This used to be commit b79303f25180c777d9d09b2cdf852bf0a5eda70d)
2007-10-10r19393: Add replacement function for socketpair()Jelmer Vernooij3-0/+66
(This used to be commit 448a3ecc0184bfa063db1eb3ae6dc16b8b792792)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij41-119/+114
(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-10r19388: Start running all LOCAL-* tests but list some of them as known failing.Jelmer Vernooij2-3/+7
(This used to be commit bfa0fbfe94759bb120a4610f333c0beb940e3d76)
2007-10-10r19387: Exit with 0 if failures were expectedJelmer Vernooij4-6/+12
(This used to be commit b4fc06aeafa3ed8460759409a72b4de43a534d62)
2007-10-10r19381: Print out the specific tests that failed after a smbtorture run.Jelmer Vernooij6-216/+332
Support listing known failures as a list of wildcards in the file `KNOWN_FAILURES'. (This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
2007-10-10r19380: forgot to add home drive testing as well as home directory...Rafal Szczesniak1-0/+8
rafal (This used to be commit 732c22071e78f16fd0731635ca4b3e093d49078a)
2007-10-10r19379: add testing home directory field to the samr tests.Rafal Szczesniak1-0/+8
rafal (This used to be commit 4dfd1d50274bc1ff539782e9bfdb2b7b20275d06)
2007-10-10r19378: Add another type of test result 'error'Jelmer Vernooij3-7/+16
(This used to be commit 77d13056bf437de77bfc94e21e9c945928e7f521)
2007-10-10r19377: Simplify report functions.Jelmer Vernooij5-61/+35
(This used to be commit 0061f3c47e95f07461837c4051cf129b18961b56)
2007-10-10r19376: Remove unused helper function.Jelmer Vernooij3-9/+1
(This used to be commit 88c589940dfbc04c747cea4f97c84142ea139050)
2007-10-10r19375: very basic helper script to build ldb standaloneSimo Sorce1-0/+21
(This used to be commit b4c8bf7398cd8a9a2132dd4b04a0ea8004e7f1b0)
2007-10-10r19373: Merge changes from subunit branch: Convert libreplace testsuite to aJelmer Vernooij6-27/+25
standalone program that speaks subunit. (This used to be commit 48d316e7594dfc29b8e6a710e32bb5a6a036b7cf)
2007-10-10r19372: Fix segfault for ui's that don't support comments.Jelmer Vernooij1-1/+2
(This used to be commit 0eef6dabc6b6a4e883654c78a0b88cebb6b3d7cd)
2007-10-10r19370: Handle errors if talloc_reference failsSimo Sorce1-2/+7
(This used to be commit 05134a90e3ff0e4039dbd34c52f824bc666feb11)
2007-10-10r19369: - we need to set the target:samba3 before calling torture_init()Stefan Metzmacher1-10/+7
otherwise BASE-DELETE will run all tests - call ldb_global_init() directly after torture_init() this isn't strictly needed but looks better metze (This used to be commit 0c26c2aefdb603c5ffc87e9c0db0e9b2b34ec0ab)
2007-10-10r19367: Solaris needs <sys/filio.h> for FIONREAD.Love Hörnquist Åstrand1-0/+1
(This used to be commit e2866ce78851a84c937408c0781fcc1e7107f663)
2007-10-10r19366: don't fail async echo tests due to rounding errorsAndrew Tridgell1-3/+6
(This used to be commit 9389ca13a38b9a3ba6f3533293ab0d0c8c06a30a)
2007-10-10r19365: fixed a memory leak in the ldb attribute handlingAndrew Tridgell3-8/+19
(This used to be commit d7e07685164141f8fb2c2a6258e1fcb46ff9d06c)
2007-10-10r19364: Fix build for 'regular' installs.Jelmer Vernooij1-1/+1
(This used to be commit 916413097d2ca7b71c06cd701f09bc3b9fc06cfc)
2007-10-10r19363: - don't need to store the baseinfo message after cache loadAndrew Tridgell2-8/+9
(This used to be commit 8c091bcdece5c17073838ad2367f3f4e22e97c31)
2007-10-10r19362: - don't need to store the baseinfo message after cache loadAndrew Tridgell5-0/+11
- set better names on talloc structures in ldb modules, making leaks easier to track down (This used to be commit 3bf76db42dc6dde5d71083216dba819869b31c75)
2007-10-10r19361: added a commentAndrew Tridgell1-0/+3
(This used to be commit 1581babfb5a5bbbfc2706dbec9b37b03fe9a5af6)
2007-10-10r19360: improve the ldb leak detector - it now takes into account the numberAndrew Tridgell1-3/+12
of blocks used at connect time (which depends on how many modules are loaded) (This used to be commit e3aa03bf1f7c7b770606f5e860fce11b4402fc84)
2007-10-10r19359: More portable way of figuring out whether something is a directoryJelmer Vernooij1-4/+6
(This used to be commit 96dff03a2b357f937daa4296d4cedd0249f68ece)
2007-10-10r19358: Use subunit tests from the right location (fromJelmer Vernooij5-12/+19
$src/bin/torture when developing, $LIBDIR/torture when installed) (This used to be commit 4ae6380e6bb48e27e9947e149b3d079b3e293cc0)
2007-10-10r19356: Reapply portability fix..Jelmer Vernooij1-1/+5
(This used to be commit a48d1b2d16cb4edf5e10937427b1a757e0c5b822)
2007-10-10r19352: Oops, missed a few changes...Jelmer Vernooij1-15/+31
(This used to be commit 73f1d937808976bc0f87b6490ab72632f038ddbd)
2007-10-10r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.Jelmer Vernooij11-70/+84
Support directories for subcategories in tests. Several small other fixes. (This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
2007-10-10r19347: Add socketpair()Jelmer Vernooij2-1/+2
(This used to be commit 8a8e974d2150d00855ccafef02b7ef2607921ea0)
2007-10-10r19346: AF_LOCAL isn't defined on all platforms.Jelmer Vernooij1-1/+5
(This used to be commit e9bd6f28d830ed7ead1412a26b532538cd1450e0)
2007-10-10r19344: run smbclient and cifsdd under valgrind and pass the correct ↵Stefan Metzmacher2-2/+2
configuration to get useful backtraces in the build-farm metze (This used to be commit fa030e45985c39a7e4b6be032e817f1291357a45)
2007-10-10r19343: Add support for external scripts/binaries that write results using theJelmer Vernooij15-222/+589
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that can't depend on -ltorture into smbtorture. The protocol is very simple: - write "comments" to stderr Example output on stdout: test: foo success: foo test: bar success: bar test: blah failure: blah [ dummy.c:30: Expression 1 != 2 failed! ] test: blie skip: blie [ Iconv support not built in ] I've already converted the talloc testsuite. (This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
2007-10-10r19341: ndr_push_union_blob() needs the same fix as ndr_push_struct_blob()Stefan Metzmacher1-0/+2
metze (This used to be commit 5c766ad48d0790b7ae865408fd0dbdb1769da2d8)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij75-6582/+5398
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)