Andrew Bartlett
519f3c0575
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
2007-10-10 14:49:55 -05:00
Jelmer Vernooij
ed0410309b
r22156: - Lazy evaluate variable names.
...
- Don't set up environments until necessary
- Add --resetup-environment option
- Add 'none' environment
2007-10-10 14:49:55 -05:00
Jelmer Vernooij
9399123a72
r22137: Actually use client.conf, defer more code as far as possible.
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
a32cdc06c3
r22134: Create different smb.conf file for the client side. This should make use with Samba 3 or windows easier as well as environments.
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
290815d180
r22133: Don't push parameters into environment until necessary.
2007-10-10 14:49:53 -05:00
Andrew Bartlett
394c863a3f
r22121: The RPC-CRACKNAMES test now passes against Samba4. This should help
...
the code coverage...
Andrew Bartlett
2007-10-10 14:49:53 -05:00
Andrew Bartlett
9e95871b3a
r22088: export PIDDIR to make the smbd pid show in 'make testenv' again.
2007-10-10 14:49:50 -05:00
Jelmer Vernooij
150bb2238e
r22077: Import only necessary test variables, more refactoring.
2007-10-10 14:49:48 -05:00
Andrew Bartlett
c366610cbc
r22076: Fill in short and long domain names into the generated krb5.conf
2007-10-10 14:49:48 -05:00
Andrew Bartlett
ce080b107c
r22075: Configure the bitwise match plugin, until it becomes accepted upstream.
...
Andrew Bartlett
2007-10-10 14:49:47 -05:00
Jelmer Vernooij
b0e0c5cb94
r22074: More refactoring.
2007-10-10 14:49:47 -05:00
James Peach
8b19b8bfbe
r22034: Use builddir and srcdir instead on samba_builddir and samba_srcdir.
2007-10-10 14:49:43 -05:00
Andrew Bartlett
448ffc68f3
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
2007-10-10 14:49:40 -05:00
Andrew Bartlett
cf9993a309
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
2007-10-10 14:49:39 -05:00
Jelmer Vernooij
36cd3406db
r21910: Clean up some unused functions.
2007-10-10 14:49:38 -05:00
Jelmer Vernooij
dbe9de1028
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
2007-10-10 14:49:37 -05:00
Andrew Bartlett
b9d06c70ad
r21836: Assume that if an OpenLDAP system is 'modular' then everything is a
...
module, so we have to bring in syncprov too.
Andrew Bartlett
2007-10-10 14:49:35 -05:00
Andrew Bartlett
5c07dbd248
r21790: Setup the socket_wrapper_dir when we set the environment variable.
...
Andrew Bartlett
2007-10-10 14:49:26 -05:00
Andrew Bartlett
5f36350243
r21789: We do actually need this, to get a contextCSN attribute, which we need
...
for USN support.
Andrew Bartlett
2007-10-10 14:49:26 -05:00
Andrew Bartlett
c55edacba5
r21771: We just don't need to test this on more than one transport.
...
Andrew Bartlett
2007-10-10 14:49:24 -05:00
Andrew Bartlett
8a5b3067e9
r21751: These 2 tests pass for me, so add them to the standard test script.
...
Andrew Bartlett
2007-10-10 14:49:23 -05:00
Andrew Bartlett
f484b0a924
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
2007-10-10 14:49:22 -05:00
Andrew Tridgell
f483f5b26a
r21742: reenable the smbclient test now that the d_printf bug is fixed
2007-10-10 14:49:22 -05:00
Andrew Bartlett
171540e06a
r21741: Like starting smbd, ensure we have acutally started slapd, and it is
...
listening, before we continue.
Andrew Bartlett
2007-10-10 14:49:21 -05:00
Andrew Bartlett
9aaa193197
r21739: Make it easy to change the log level for the slapd processes, and have
...
the logs go to a file.
Andrew Bartlett
2007-10-10 14:49:21 -05:00
Andrew Tridgell
9e3bbdee50
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
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
4b78ed3a60
r21733: Merge testenv back into core selftest.pl
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
f6aa921521
r21732: Use smbtorture for enumerating tests.
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
0140aa5fd9
r21730: Reintroduce summary for testenv, remove old (no longer used) file.
2007-10-10 14:49:19 -05:00
Andrew Bartlett
32e39b377a
r21728: Perhaps we don't need this on recent OpenLDAP servers. This overlay
...
is depricated.
Andrew Bartlett
2007-10-10 14:49:19 -05:00
Andrew Bartlett
0b8b3f6671
r21721: Push the 'Success! Your new directory server instance was created'
...
message to stderr.
Andrew Bartlett
2007-10-10 14:49:18 -05:00
Andrew Bartlett
ee9d9fb6c0
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
2007-10-10 14:49:18 -05:00
Jelmer Vernooij
8d775e87b5
r21716: Report status in a way the build farm recognizes.
2007-10-10 14:49:17 -05:00
Jelmer Vernooij
a5000b286d
r21713: Redirect stderr output to stdout.
2007-10-10 14:49:17 -05:00
Jelmer Vernooij
e480beb956
r21712: Run tdb stress test.
2007-10-10 14:49:16 -05:00
Jelmer Vernooij
01befd5211
r21709: Add a list of tests that should be skipped rather than ad-hoc test skipping in various places.
2007-10-10 14:49:16 -05:00
Jelmer Vernooij
38f867880b
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.
2007-10-10 14:49:15 -05:00
Jelmer Vernooij
e4cf8f1dea
r21701: Fix ejs tests.
2007-10-10 14:49:15 -05:00
Jelmer Vernooij
aa29907327
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).
2007-10-10 14:49:15 -05:00
Andrew Bartlett
e5b9bdf037
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
2007-10-10 14:49:14 -05:00
Andrew Bartlett
1e401286f9
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
2007-10-10 14:49:13 -05:00
Andrew Bartlett
c399b20b44
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
2007-10-10 14:49:12 -05:00
Andrew Bartlett
e830b81596
r21687: Always test LDAP and LDAPS
2007-10-10 14:49:11 -05:00
Andrew Bartlett
4aa928dac3
r21686: Do enable TLS, as we have solved the key setup problems, and we need
...
to get the TLS code covered.
Andrew Bartlett
2007-10-10 14:49:11 -05:00
Jelmer Vernooij
0ae6d18ebe
r21685: Add some unit tests for the registry utility functions.
2007-10-10 14:49:11 -05:00
Jelmer Vernooij
c6dfc90daf
r21680: Reenable CLDAP test
2007-10-10 14:49:09 -05:00
Jelmer Vernooij
4929c07261
r21679: Disable upgrade test for now, I can't get it to work.
2007-10-10 14:49:09 -05:00
Jelmer Vernooij
b8f43e1eb1
r21677: Run some of the other ldap tests, too
2007-10-10 14:49:09 -05:00
Jelmer Vernooij
06eb2faebb
r21676: Run more NET tests
2007-10-10 14:49:08 -05:00
Jelmer Vernooij
778a150f35
r21675: Run some more of the NET tests.
2007-10-10 14:49:08 -05:00