1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

430 Commits

Author SHA1 Message Date
Jeremy Allison
9a012df08e r25175: Change to talloc_asprintf_append_buffer().
Jeremy.
(This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10 15:06:46 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
3b6186a676 r25008: Remove use of pstring.
(This used to be commit c57869e2620de30c303b0cb2f70cd07b32f269fc)
2007-10-10 15:05:33 -05:00
Jelmer Vernooij
cd962355ab r25000: Fix some more C++ compatibility warnings.
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10 15:05:27 -05:00
Jelmer Vernooij
ac2a701483 r24882: Use the torture API in BASE-CHARSET.
(This used to be commit 93910d92cd431add876e98a12712253bee8c52e7)
2007-10-10 15:03:27 -05:00
Jelmer Vernooij
4fe2da6279 r24874: Fix double free of smbcli_tree.
(This used to be commit 84f14b5dd042f8805e69ad455b222a76614dbe21)
2007-10-10 15:03:25 -05:00
Jelmer Vernooij
919aa6b27e r24735: Use torture API in more places.
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10 15:03:00 -05:00
Jelmer Vernooij
2fefa818a9 r24728: Use more stock torture functions.
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)
2007-10-10 15:02:58 -05:00
Jelmer Vernooij
f96b1778a4 r24674: Make sure results are always on a new line, fix typo in test name.
(This used to be commit 40c1635b39b4acff0acecc734583daa0217215ce)
2007-10-10 15:02:37 -05:00
Jelmer Vernooij
d981c69a18 r24670: Use torture functions for settings.
(This used to be commit a6906676309f3b1bec1a69427e7ffd0a768061b8)
2007-10-10 15:02:36 -05:00
Andrew Bartlett
a87dea2a08 r23810: Make things static, and remove unsued code.
This includes some of the original ildap ldap client API.  ldb
provides a much easier abstraction on this to use, and doesn't use
these functions.

Andrew Bartlett
(This used to be commit dc27a7e41c297472675e8c251bb14327a1af3902)
2007-10-10 14:59:21 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
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)
2007-10-10 14:59:12 -05:00
Andrew Bartlett
d291b8bf93 r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with qsort().
Andrew Bartlett
(This used to be commit 96ef5259c63ad6245c94c40d6059d736b1534183)
2007-10-10 14:53:26 -05:00
Alexander Bokovoy
9ed016b692 r23540: Continue fixing bench-readwrite. We need to initialize state->readcnt not only when file is written but at initial write as well.
(This used to be commit 0258f9d3c21d1f9ce6bfcf31138d7f8b9bfb6b7d)
2007-10-10 14:53:26 -05:00
Alexander Bokovoy
de4f15a3ad r23529: When using READX, fill in readx fields. Thanks to Metze for spotting it.
(This used to be commit 9bb079d70d3fab3ad66143301e8ddfbb5135dedb)
2007-10-10 14:53:24 -05:00
Alexander Bokovoy
7e02cb2101 r23506: Turn back to RAW_READ_READ because buildfarm fails. Investigating.
(This used to be commit a580d19cb39e35464d28a8aa15bb9587e3e7d518)
2007-10-10 14:53:23 -05:00
Alexander Bokovoy
5b2e3e8bd8 r23505: Use RAW_READ_READX, not RAW_READ_READ in BENCH-READWRITE test (we already write with RAW_WRITE_WRITEX). Noticed by Gomati Mohanan
(This used to be commit 5530b38bbf776fec86dd47d3fe73c5e7a6eb188b)
2007-10-10 14:53:23 -05:00
Jeremy Allison
45afb4fdb0 r23104: Add comment explaining the new test.
Jeremy.
(This used to be commit 7b9b5c59a4ac2afca151ba12eba7c808057a677e)
2007-10-10 14:52:49 -05:00
Jeremy Allison
6223ae4015 r23103: Add a torture test for the insane semantics Steve's cifsfs client
uses so we don't regress :-).
Jeremy.
(This used to be commit 5ce41ae40c5413bb9f15d1c47a095f63d7f167e0)
2007-10-10 14:52:49 -05:00
Jeremy Allison
2087e1ce6a r23099: New interesting delete on close tests :-).
This will break all delete tests on the build farm
until I check in my server patch.
Jeremy.
(This used to be commit c31f775f1c8f6f7e50d038d093898a1f4280be23)
2007-10-10 14:52:49 -05:00
Andrew Tridgell
042ddf28ec r23029: fixed formatting
(This used to be commit 72ee4707725e9bbc9ab564315c7d78bdc564256f)
2007-10-10 14:52:41 -05:00
Andrew Tridgell
c42219d735 r22969: fix some more places where we could end up with more than one event
context. We now have an event context on the torture_context, and we
can also get one from the cli_credentials structure
(This used to be commit c0f65eb6562e13530337c23e3447a6aa6eb8fc17)
2007-10-10 14:52:34 -05:00
Stefan Metzmacher
628ff1bea3 r22579: disable progress printing in the build-farm
metze
(This used to be commit 93089ad5e8b6e20c4fa92bf13b0137765aeac689)
2007-10-10 14:51:47 -05:00
Jelmer Vernooij
72d88d158a r21707: Finally merge my (long-living) perlselftest branch.
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-10 14:49:15 -05:00
Stefan Metzmacher
8c62b4c951 r21539: try to get rid of all valgrind warnings...
metze
(This used to be commit 21f0e8e16373662f5662957e80c1f26f489f6279)
2007-10-10 14:48:54 -05:00
Stefan Metzmacher
0e617102ef r21533: try to get rid of the valgrind warnings of uninitialized memory
passed to a socket

metze
(This used to be commit 18ce33844738179a5434b91b362606bc4bdfa6b5)
2007-10-10 14:48:53 -05:00
Stefan Metzmacher
3260b55188 r21523: fix a valgrind warning, we write the struct content to the file and should not leave
t2.out uninialized

metze
(This used to be commit 4723374d14e9c5648708a7fc5460e8ccda193d1e)
2007-10-10 14:48:50 -05:00
Stefan Metzmacher
a626e5a274 r21519: when we want to send non initialized data, then
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-10 14:48:49 -05:00
Volker Lendecke
f089de886f r21276: Actually fire off multiple parallel read/write requests.
Volker
(This used to be commit 1d7bcdb33ef19be7bf64356b9cb8eee9658afe09)
2007-10-10 14:44:58 -05:00
Volker Lendecke
22d39d1bee r21275: Reformat the bench-readwrite test a bit
(This used to be commit d2d44bf6779c6ac46b011d7e3b372c28c6f8a4f9)
2007-10-10 14:44:58 -05:00
Volker Lendecke
f6558c04fe r21270: Fix a memleak
(This used to be commit 918031a99c583b45c854c6d066f56ca6887011dd)
2007-10-10 14:44:57 -05:00
Volker Lendecke
627595b7a3 r21134: Attempt to quieten the build farm for Samba3
(This used to be commit 966c30ca591c410a4a229396c7919fe8f98bd066)
2007-10-10 14:44:31 -05:00
Jelmer Vernooij
6967a73f36 r20823: Remove newlines in calls to torture_fail().
(This used to be commit 37c0cfe83bd9b9f799c880e3b5052a49631a113e)
2007-10-10 14:43:36 -05:00
Volker Lendecke
7a734d3b30 r20525: Closing a dir with del-on-close set requires the same as files: 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-10 14:36:48 -05:00
Volker Lendecke
785e684983 r20423: Fix debug output
(This used to be commit 6afc394d9349782788cc06a38750f0723a5a55e7)
2007-10-10 14:30:35 -05:00
Volker Lendecke
d2e91a1198 r20422: A torture test extension for Jeremy
(This used to be commit 1bcc421dab53adaf3b6c6d7f51c23c80cb637a95)
2007-10-10 14:30:34 -05:00
Volker Lendecke
1757c0f0a4 r20357: run_trans2test and torture_trans2_scan are two separate tests
(This used to be commit 2e06c38a98e3891ed1f9e823614c3f0c3d279afe)
2007-10-10 14:30:15 -05:00
Volker Lendecke
880a9be3f7 r20341: Make sure we do not regress on r20338 in Samba3
(This used to be commit 64ee399c964c2935c1386123e2e636c266c8c6a8)
2007-10-10 14:29:42 -05:00
Volker Lendecke
0cb8a7f058 r20272: Fix for BASE-BENCH-READWRITE from Mathias Dietz <MDIETZ@de.ibm.com>
(This used to be commit b053a7df8453527a9c2dfc03f3c35487fe75676f)
2007-10-10 14:29:28 -05:00
Jelmer Vernooij
108de297a7 r19510: Make smbtorture's `nprocs' parameter a parametric option.
(This used to be commit f5d6b3ca29788d171d53822a26295ae895a5ed8f)
2007-10-10 14:24:42 -05:00
Andrew Tridgell
af870da619 r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.c
tdbutil.c is Samba specific, so should not be part of the generic tdb
library
(This used to be commit 979dd24f5e44605fc1603b690913b8c31be7478f)
2007-10-10 14:21:30 -05:00
Jelmer Vernooij
a39f239cb2 r19392: Use torture_setting_* rather than lp_parm_* where possible.
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10 14:21:24 -05:00
Jelmer Vernooij
19af876bbb r19389: Remove samba3-specific checks: instead, always simply mark these tests as
known failing.
(This used to be commit 3855ec9dcaa694fffa1f2a24205d490708d12750)
2007-10-10 14:21:23 -05:00
Jelmer Vernooij
8773e743c5 r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
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-10 14:21:12 -05:00
Andrew Tridgell
4f913d91cb r18807: don't overtax the imaginations of servers that can't do mkdir on \\dirname\\
(This used to be commit 6f2b585f8eb0feb79c0a9d11f1cae3b16e8f162f)
2007-10-10 14:19:13 -05:00
Andrew Tridgell
957a3bbe81 r18307: fixed a warning
(This used to be commit cf24d46ea3c2dca4425121642400bef88f218a9e)
2007-10-10 14:18:06 -05:00
Andrew Tridgell
30ee8beb93 r18301: I discovered how to load the warnings from a build farm build into
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-10 14:18:04 -05:00
Jelmer Vernooij
0329d755a7 r17930: Merge noinclude branch:
* 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-10 14:16:54 -05:00
Volker Lendecke
0c739e8cde r17417: Try to fix random failures in the build farm for 3_0.
Volker
(This used to be commit 5cffd35fecb85e3c1407f6e6d91e846b17a7c917)
2007-10-10 14:15:23 -05:00
Stefan Metzmacher
440d0487a6 r17020: pass the real error to the failing requests
metze
(This used to be commit 49b96ac44a883c020c69df7a12df154dc4faa4d5)
2007-10-10 14:10:08 -05:00