1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

169 Commits

Author SHA1 Message Date
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 fcf38a38ac)
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 96ef5259c6)
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 0258f9d3c2)
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 9bb079d70d)
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 a580d19cb3)
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 5530b38bbf)
2007-10-10 14:53:23 -05:00
Jeremy Allison
45afb4fdb0 r23104: Add comment explaining the new test.
Jeremy.
(This used to be commit 7b9b5c59a4)
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 5ce41ae40c)
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 c31f775f1c)
2007-10-10 14:52:49 -05:00
Andrew Tridgell
042ddf28ec r23029: fixed formatting
(This used to be commit 72ee470772)
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 c0f65eb656)
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 93089ad5e8)
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 38f867880b)
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 21f0e8e163)
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 18ce338447)
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 4723374d14)
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 2654f595ca)
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 1d7bcdb33e)
2007-10-10 14:44:58 -05:00
Volker Lendecke
22d39d1bee r21275: Reformat the bench-readwrite test a bit
(This used to be commit d2d44bf677)
2007-10-10 14:44:58 -05:00
Volker Lendecke
f6558c04fe r21270: Fix a memleak
(This used to be commit 918031a99c)
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 966c30ca59)
2007-10-10 14:44:31 -05:00
Jelmer Vernooij
6967a73f36 r20823: Remove newlines in calls to torture_fail().
(This used to be commit 37c0cfe83b)
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 d0550a01af)
2007-10-10 14:36:48 -05:00
Volker Lendecke
785e684983 r20423: Fix debug output
(This used to be commit 6afc394d93)
2007-10-10 14:30:35 -05:00
Volker Lendecke
d2e91a1198 r20422: A torture test extension for Jeremy
(This used to be commit 1bcc421dab)
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 2e06c38a98)
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 64ee399c96)
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 b053a7df84)
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 f5d6b3ca29)
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 979dd24f5e)
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 b28860978f)
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 3855ec9dca)
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 0eb6097305)
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 6f2b585f8e)
2007-10-10 14:19:13 -05:00
Andrew Tridgell
957a3bbe81 r18307: fixed a warning
(This used to be commit cf24d46ea3)
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 eba6c84eff)
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 f7afa1cb77)
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 5cffd35fec)
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 49b96ac44a)
2007-10-10 14:10:08 -05:00
Volker Lendecke
b7c5bc522b r16907: Add an index parameter to torture_open_connection. Next step is to enable the
unclist parameter for all tests that do two connections, to enable cluster
testing.

Volker
(This used to be commit a5d6db0924)
2007-10-10 14:09:58 -05:00
Stefan Metzmacher
af0a9eb529 r16834: split the level's of smb_search_first/smb_search_next and the levels
of smb_search_data

metze
(This used to be commit 78c201db8a)
2007-10-10 14:09:49 -05:00
Volker Lendecke
81d5901044 r16756: Some machines on the build farms sporadically fail the test
/* 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 92aa95f820)
2007-10-10 14:09:43 -05:00
Volker Lendecke
414c47633d r16657: Test Jerry's iTunes bug, along with some more error conditions
Volker
(This used to be commit 12aa900eb2)
2007-10-10 14:09:36 -05:00
Jelmer Vernooij
a3545383fb r16331: Split out registering of multi fn tests, fix typo in name of pac suite.
(This used to be commit 9e8574ac6c)
2007-10-10 14:09:11 -05:00
Volker Lendecke
4d333d26b3 r16182: Better test the 15 out of 20 tests we right now survive than not test at
all...

Volker
(This used to be commit 1d4a129bb5)
2007-10-10 14:09:05 -05:00
Stefan Metzmacher
3d448a1851 r15865: using dirname for a variable isn't that good,
but making it a global symbol is really bad...

fix linking on sun1 in the build-farm

metze
(This used to be commit d073320f64)
2007-10-10 14:08:34 -05:00
Volker Lendecke
61bd876065 r15836: Test an invalid DOS share mode.
Volker
(This used to be commit 0369d59142)
2007-10-10 14:08:31 -05:00
Stefan Metzmacher
7f0e17e903 r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different level
metze
(This used to be commit 95bf41b4d4)
2007-10-10 14:08:09 -05:00
Volker Lendecke
e48fd4e710 r15706: This is a very specific test that helps me in making sure I don't 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 cc9634d586)
2007-10-10 14:08:07 -05:00
Jelmer Vernooij
172a83d724 r15573: Fix build of systems that have iconv headers in non-standard locations
Split of system/locale.h header from system/iconv.h

Previously, iconv wasn't being used on these systems
(This used to be commit aa6d66fda6)
2007-10-10 14:05:58 -05:00