1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

685 Commits

Author SHA1 Message Date
Andrew Bartlett
5904bbf3d9 r22177: Restore the PIDDIR mapping for the client 'pid directory', as this is
(ab)used for messaging.

Andrew Bartlett
(This used to be commit 0a721c3193)
2007-10-10 14:49:58 -05:00
Andrew Bartlett
f3303bc8f6 r22170: To get the smbclient blackbox test to pass again, we need to get the
private dir to contain a valid machine account.

It isn't really valid it use the DC's account any more, so extend this
script to also join the domain.  This nicely tests out some previously
untested code too!

Andrew Bartlett
(This used to be commit 12f4e6033e)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
f57ebf3f12 r22168: Ensure we actually run all the transports for the slow tests
(otherwise we miss tests).

Andrew Bartlett
(This used to be commit 216bf28a8d)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
5f11116a6b r22167: This seems to get Fedora DS to run the tests again.
Andrew Bartlett
(This used to be commit b893c63183)
2007-10-10 14:49:56 -05:00
Andrew Bartlett
c41fe665e4 r22162: get the TEST_LDAP mode working again
Andrew Bartlett
(This used to be commit 529575d07a)
2007-10-10 14:49:55 -05:00
Andrew Bartlett
7b88696bed r22161: Clarify exactly where the socket_wrapper should be handled (early),
and ensure that $prefix exists before it tries to create $prefix/w.

This should fix the build farm.  Perhaps we should have a rm -rf
$prefix at the start of this script, as that would have found the
problem, but I want to be careful about that...

Andrew Bartlett
(This used to be commit a230261e83)
2007-10-10 14:49:55 -05:00
Andrew Bartlett
dbfb32ffe5 r22160: Only use test environment names that actually exist (get make
quicktest to pass).

Ensure that when we fail on the build farm, this ends up in the total
failures.

I think having the 2 different functions for running the tests is just
asking for this kind of failure.  The build farm should be a
presentation detail, and not alter the test behaviour.

There is still a gremlin in there, we will fail horribly on the farm,
but not on local tests...

Andrew Bartlett
(This used to be commit 519f3c0575)
2007-10-10 14:49:55 -05:00
Jelmer Vernooij
e338b4b47b r22156: - Lazy evaluate variable names.
- Don't set up environments until necessary

- Add --resetup-environment option

- Add 'none' environment
(This used to be commit ed0410309b)
2007-10-10 14:49:55 -05:00
Jelmer Vernooij
892c8cd1b4 r22137: Actually use client.conf, defer more code as far as possible.
(This used to be commit 9399123a72)
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
3ff1625f1f r22134: Create different smb.conf file for the client side. This should make use with Samba 3 or windows easier as well as environments.
(This used to be commit a32cdc06c3)
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
51fd156081 r22133: Don't push parameters into environment until necessary.
(This used to be commit 290815d180)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
a16989b1e9 r22121: The RPC-CRACKNAMES test now passes against Samba4. This should help
the code coverage...

Andrew Bartlett
(This used to be commit 394c863a3f)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
bfc4053178 r22088: export PIDDIR to make the smbd pid show in 'make testenv' again.
(This used to be commit 9e95871b3a)
2007-10-10 14:49:50 -05:00
Jelmer Vernooij
cb04f015ee r22077: Import only necessary test variables, more refactoring.
(This used to be commit 150bb2238e)
2007-10-10 14:49:48 -05:00
Andrew Bartlett
bc8474b5cc r22076: Fill in short and long domain names into the generated krb5.conf
(This used to be commit c366610cbc)
2007-10-10 14:49:48 -05:00
Andrew Bartlett
6e3887569f r22075: Configure the bitwise match plugin, until it becomes accepted upstream.
Andrew Bartlett
(This used to be commit ce080b107c)
2007-10-10 14:49:47 -05:00
Jelmer Vernooij
e3e505625d r22074: More refactoring.
(This used to be commit b0e0c5cb94)
2007-10-10 14:49:47 -05:00
James Peach
051e4b25cf r22034: Use builddir and srcdir instead on samba_builddir and samba_srcdir.
(This used to be commit 8b19b8bfbe)
2007-10-10 14:49:43 -05:00
Andrew Bartlett
fdd4c5f879 r21971: Fill in some more values in config files from variables, so we can
better setup multiple environments.

Run the mk-keyblobs script before we need variables it defines.

Andrew Bartlett
(This used to be commit 448ffc68f3)
2007-10-10 14:49:40 -05:00
Andrew Bartlett
c95d468046 r21970: Ensure that Fedora DS can be shut down correctly with the stop script:
This needs the pid file to be in the right spot.

Andrew Bartlett
(This used to be commit cf9993a309)
2007-10-10 14:49:39 -05:00
Jelmer Vernooij
86d77746db r21910: Clean up some unused functions.
(This used to be commit 36cd3406db)
2007-10-10 14:49:38 -05:00
Jelmer Vernooij
2fca3f9082 r21909: Merge some of my recent improvements to the test infrastructure:
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones).

- Move more Samba4-specific code out of the common code
(This used to be commit dbe9de1028)
2007-10-10 14:49:37 -05:00
Andrew Bartlett
8afe4e7f3c r21836: Assume that if an OpenLDAP system is 'modular' then everything is a
module, so we have to bring in syncprov too.

Andrew Bartlett
(This used to be commit b9d06c70ad)
2007-10-10 14:49:35 -05:00
Andrew Bartlett
67e22aa6ff r21790: Setup the socket_wrapper_dir when we set the environment variable.
Andrew Bartlett
(This used to be commit 5c07dbd248)
2007-10-10 14:49:26 -05:00
Andrew Bartlett
7b706c7091 r21789: We do actually need this, to get a contextCSN attribute, which we need
for USN support.

Andrew Bartlett
(This used to be commit 5f36350243)
2007-10-10 14:49:26 -05:00
Andrew Bartlett
7a9f31a926 r21771: We just don't need to test this on more than one transport.
Andrew Bartlett
(This used to be commit c55edacba5)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
35a606378d r21751: These 2 tests pass for me, so add them to the standard test script.
Andrew Bartlett
(This used to be commit 8a5b3067e9)
2007-10-10 14:49:23 -05:00
Andrew Bartlett
45be80844e r21743: Always use the 'escaped' LDAPI path.
Wait around for the server to start, so we don't try to contact it
during it's starup phase.

Andrew Bartlett
(This used to be commit f484b0a924)
2007-10-10 14:49:22 -05:00
Andrew Tridgell
0012f7509a r21742: reenable the smbclient test now that the d_printf bug is fixed
(This used to be commit f483f5b26a)
2007-10-10 14:49:22 -05:00
Andrew Bartlett
d500181515 r21741: Like starting smbd, ensure we have acutally started slapd, and it is
listening, before we continue.

Andrew Bartlett
(This used to be commit 171540e06a)
2007-10-10 14:49:21 -05:00
Andrew Bartlett
41a72a506f r21739: Make it easy to change the log level for the slapd processes, and have
the logs go to a file.

Andrew Bartlett
(This used to be commit 9aaa193197)
2007-10-10 14:49:21 -05:00
Andrew Tridgell
b0b31f52f7 r21735: skip the smbclient test until jelmer can take a look at it. The
current test makes no sense with the new test system. For example, it
does "mkdir bla" then "cd bla" then "cd ..", but it now does these as
separate smbclient commands, which makes no sense at all. It even
seems to try to run them in parallel???

The test fails (segfault, plus lots of errors), but gets reported as a
success
(This used to be commit 9e3bbdee50)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
eaa02e4b54 r21733: Merge testenv back into core selftest.pl
(This used to be commit 4b78ed3a60)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
8fdbf34ea7 r21732: Use smbtorture for enumerating tests.
(This used to be commit f6aa921521)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
f91f57b749 r21730: Reintroduce summary for testenv, remove old (no longer used) file.
(This used to be commit 0140aa5fd9)
2007-10-10 14:49:19 -05:00
Andrew Bartlett
904c03abc4 r21728: Perhaps we don't need this on recent OpenLDAP servers. This overlay
is depricated.

Andrew Bartlett
(This used to be commit 32e39b377a)
2007-10-10 14:49:19 -05:00
Andrew Bartlett
0fa6e86b57 r21721: Push the 'Success! Your new directory server instance was created'
message to stderr.

Andrew Bartlett
(This used to be commit 0b8b3f6671)
2007-10-10 14:49:18 -05:00
Andrew Bartlett
6376a474c7 r21720: Try to make 'TEST_LDAP=yes make test' work again. These recent
changes seem to have been lost in the merge, and some variables were
not yet exported.

Andrew Bartlett
(This used to be commit ee9d9fb6c0)
2007-10-10 14:49:18 -05:00
Jelmer Vernooij
ac9bb2e4fb r21716: Report status in a way the build farm recognizes.
(This used to be commit 8d775e87b5)
2007-10-10 14:49:17 -05:00
Jelmer Vernooij
70e6a8bfec r21713: Redirect stderr output to stdout.
(This used to be commit a5000b286d)
2007-10-10 14:49:17 -05:00
Jelmer Vernooij
15d4047d06 r21712: Run tdb stress test.
(This used to be commit e480beb956)
2007-10-10 14:49:16 -05:00
Jelmer Vernooij
804ac30704 r21709: Add a list of tests that should be skipped rather than ad-hoc test skipping in various places.
(This used to be commit 01befd5211)
2007-10-10 14:49:16 -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
Jelmer Vernooij
d18afd6aee r21701: Fix ejs tests.
(This used to be commit e4cf8f1dea)
2007-10-10 14:49:15 -05:00
Jelmer Vernooij
000a094318 r21700: Run mktestsetup as an external program. This guarantees that it can be used for other selftest implementations (in particular the perl one I've been working on).
(This used to be commit aa29907327)
2007-10-10 14:49:15 -05:00
Andrew Bartlett
6bca66d7d1 r21696: Run the RPC-COUNTCALLS test to try and walk some of the NDR layer for
routines for which we don't have any tests.

Andrew Bartlett
(This used to be commit e5b9bdf037)
2007-10-10 14:49:14 -05:00
Andrew Bartlett
32cdb5aa31 r21692: Test with LDAP, but without the non-block testing. This is not
compatible with the TLS layer at the moment.

https://bugzilla.samba.org/show_bug.cgi?id=4431

Andrew Bartlett
(This used to be commit 1e401286f9)
2007-10-10 14:49:13 -05:00
Andrew Bartlett
eb3d3fb27a r21689: Try to walk a bit more of the param/loadparm.c functions, as well as
validating that we have a correct configuration before we even start
testing.

Andrew Bartlett
(This used to be commit c399b20b44)
2007-10-10 14:49:12 -05:00
Andrew Bartlett
112e520073 r21687: Always test LDAP and LDAPS
(This used to be commit e830b81596)
2007-10-10 14:49:11 -05:00
Andrew Bartlett
737d24c9fc r21686: Do enable TLS, as we have solved the key setup problems, and we need
to get the TLS code covered.

Andrew Bartlett
(This used to be commit 4aa928dac3)
2007-10-10 14:49:11 -05:00