Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-14 | fixed TESTS= in make test to allow multiple tests | Andrew Tridgell | 1 | -2/+16 | |
Now you can do: make test TESTS="test1 test2" and it will run those two tests, each matching tests using a case insensitive substring match | |||||
2009-08-12 | Allow selection of the samba4 process model for 'make test' | Andrew Tridgell | 1 | -1/+10 | |
To choose the process model, set the environment variable SAMBA_PROCESS_MODEL to the desired model. This will allow us to enable the standard process model for some machines in the build farm without enabling it for all of them. I don't want to just enable it universally as I am concerned with total memory using during some of the tests. | |||||
2009-08-12 | print server log on stderr as well as to log file | Andrew Tridgell | 1 | -2/+5 | |
I think we are missing some important messages from the server during 'make test' because we don't show the log file contents during runs. This patch uses tee to put the log messages to stderr so we can see any server messages associated with the test that caused them. | |||||
2009-08-12 | s4:selftest Don't start the slapd for the provision, only for the run | Andrew Bartlett | 1 | -17/+12 | |
The provision-backend script now starts slapd for us Andrew Bartlett | |||||
2009-08-12 | s4:selftest Make OpenLDAP guess it's own modules from now on | Andrew Bartlett | 1 | -46/+0 | |
In the releases of OpenLDAP we require (2.4.17) it can guess this much itself, so no need for us to do it. Andrew Bartlett | |||||
2009-08-12 | s4:provision Rework and further automate setup of OpenLDAP backend | Oliver Liebel | 1 | -1/+1 | |
heres the summary of all changes/extensions: - Andrew Bartlett's patch to generate indext - Howard Chu's idea to use nosync on the DB included, but made optional - slaptest-path is not needed any more (slapd -Ttest is used instead) and is therefore removed. slapd-path is now recommended when openldap-backend is chosen. its also used for olc-conversion - slapd-detection is now always done by ldapsearch (ldb module), looking anonymous for objectClass: OpenLDAProotDSE via our ldapi_uri. - if ldapsearch was not successfull, (no slapd listening on our socket) slapd is started via special generated slapdcommand_prov (ldapi_uri only) - slapd-"provision-process" startup is done via pythons subprocess. - the slapd-provision-pid is stored under paths.ldapdir/slapd_provision_pid. - after provision-backend is finished: --- slapd.pid is compared with our stored slapd_provision_pid. if the are unique, slapd.pid will be read out, and the slapd "provison"-process will be shut down. --- proper slapd-shutdown is verified again with ldb-search -> ldapi_uri -> rootDSE. --- if the pids are different or one of the pid-files is missing, slapd will not be shut down, instead an error message is displayed to locate slapd manually --- extended help-messages (relevant to slapd) are always displayed, e.g. the commandline with which slapd has to be started when everythings finished (slapd-commandline is stored under paths.ldapdir/slapd_command_file.txt)) - upgraded the content of the mini-howto (howto-ol-backend-s4.txt) | |||||
2009-08-11 | selftest: configure "ncalrpc dir" for the client | Stefan Metzmacher | 1 | -0/+7 | |
Some torture tests will need this soon. metze | |||||
2009-08-11 | selftest: fix typo lock => lockdir | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-08-05 | added a uid_wrapper library | Andrew Tridgell | 1 | -3/+2 | |
This library intercepts seteuid and related calls, and simulates them in a manner similar to the nss_wrapper and socket_wrapper libraries. This allows us to enable the vfs_unixuid NTVFS module in the build farm, which means we are more likely to catch errors in the token manipulation. The simulation is not complete, but it is enough for Samba4 for now. The major areas of incompleteness are: - no emulation of setreuid, setresuid or saved uids. These would be needed for use in Samba3 - no emulation of ruid changing. That would also be needed for Samba3 - no attempt to emulate file ownership changing, so code that (for example) tests whether st.st_uid matches geteuid() needs special handling | |||||
2009-07-28 | s4:kerberos Add support for user principal names in certificates | Andrew Bartlett | 1 | -7/+35 | |
This extends the PKINIT code in Heimdal to ask the HDB layer if the User Principal Name name in the certificate is an alias (perhaps just by case change) of the name given in the AS-REQ. (This was a TODO in the Heimdal KDC) The testsuite is extended to test this behaviour, and the other PKINIT certficate (using the standard method to specify a principal name in a certificate) is updated to use a Administrator (not administrator). (This fixes the kinit test). Andrew Bartlett | |||||
2009-07-27 | s4:kerberos Add test to show that we actually export the keytab | Andrew Bartlett | 1 | -1/+1 | |
While it is hard to prove it is correct, at least the new 'nettestuser' principal and the Administrator principal are correct. We had to fix the case of 'Administrator' in the selftest code to match the DB, as the keytab lookup is case sensitive. Andrew Bartlett | |||||
2009-06-17 | selftest: report time after testsuite, gives nicer output on the | Jelmer Vernooij | 1 | -1/+1 | |
buildfarm. | |||||
2009-06-12 | subunit: non-zero exit code if one or more testsuites failed. | Jelmer Vernooij | 1 | -3/+1 | |
2009-06-12 | selftest: Document the fact that test runner and formatter are now | Jelmer Vernooij | 1 | -0/+9 | |
separate tools. | |||||
2009-06-12 | subunit: Pass canonical names of test results to formatters and filters. | Jelmer Vernooij | 1 | -6/+8 | |
2009-06-12 | selftest: Add option to strip output of succeeded tests, and use it on | Jelmer Vernooij | 2 | -3/+22 | |
the buildfarm. The matches the behaviour we had earlier in the previous output format. | |||||
2009-06-12 | selftest: Remove existing buildfarm output format. | Jelmer Vernooij | 2 | -150/+2 | |
2009-06-12 | format-subunit: Remove subunit output module. | Jelmer Vernooij | 2 | -104/+0 | |
We can still use "cat" to obtain a subunit stream from a subunit stream. :-) | |||||
2009-06-12 | selftest/buildfarm: Don't assume that a reason being specified is an ↵ | Jelmer Vernooij | 1 | -2/+9 | |
indication of failure. | |||||
2009-06-12 | subunit-filter: Print names of skipped testsuites. | Jelmer Vernooij | 1 | -1/+2 | |
2009-06-11 | selftest: Fix exit code for format-subunit.pl. | Jelmer Vernooij | 1 | -5/+1 | |
2009-06-11 | selftest: Fix uninitialized variables in selftest output. | Jelmer Vernooij | 1 | -2/+11 | |
2009-06-11 | subunit: Sort diff output. | Jelmer Vernooij | 2 | -2/+2 | |
2009-06-11 | selftest: Make it easier to do subunit diffs from other apps. | Jelmer Vernooij | 2 | -13/+17 | |
2009-06-11 | selftest/subunit: Add diff command that can diff two subunit streams. | Jelmer Vernooij | 5 | -5/+98 | |
2009-06-11 | selftest: Properly recognize xfail testsuites. | Jelmer Vernooij | 5 | -10/+48 | |
2009-06-11 | selftest/subunit: Remove open_tests argument from parse_results. | Jelmer Vernooij | 4 | -17/+6 | |
2009-06-11 | selftest: Fix subunit formatting, fix years when filtering subunit | Jelmer Vernooij | 7 | -134/+164 | |
streams. | |||||
2009-06-11 | selftest: Fix handling of testsuite, reintroduce progress indication. | Jelmer Vernooij | 4 | -31/+141 | |
2009-06-11 | selftest: Remove unnecessary uses. | Jelmer Vernooij | 4 | -5/+2 | |
2009-06-11 | selftest/subunit: Remove prefix command. | Jelmer Vernooij | 6 | -61/+19 | |
2009-06-11 | selftest: Fix subunit stream to include the right prefixes rather than | Jelmer Vernooij | 3 | -13/+51 | |
extending the subunit protocol. | |||||
2009-06-11 | More work supporting prefixes. | Jelmer Vernooij | 3 | -11/+30 | |
2009-06-11 | selftest: Use external processes for filtering known failures and pretty | Jelmer Vernooij | 7 | -111/+110 | |
formatting. | |||||
2009-06-11 | selftest: Avoid decreasing total testsuites if the original total is not | Jelmer Vernooij | 1 | -2/+8 | |
known. | |||||
2009-06-11 | selftest: Use filter-xfail for known failures | Jelmer Vernooij | 4 | -54/+16 | |
2009-06-11 | selftest: Add script to filter out known failures from a subunit stream. | Jelmer Vernooij | 1 | -0/+162 | |
2009-06-11 | Subunit: Support "fail" as alias for "failure" in Subunit streams. | Jelmer Vernooij | 1 | -2/+2 | |
2009-06-11 | subunit: Move more Subunit printing logic to Subunit.pm. | Jelmer Vernooij | 2 | -15/+32 | |
2009-06-11 | subunit: Support the time: command. | Jelmer Vernooij | 1 | -0/+3 | |
2009-06-08 | s3-selftest: forward NSS_WRAPPER_WINBIND_SO_PATH env to tests. | Günther Deschner | 1 | -0/+4 | |
Guenther | |||||
2009-06-03 | selftest: Add script that can take a subunit stream and format it. | Jelmer Vernooij | 1 | -0/+68 | |
2009-06-03 | selftest/plain: Allow caller to not specify the number of expected | Jelmer Vernooij | 1 | -1/+5 | |
testsuites to run. | |||||
2009-06-03 | selftest: Fix target/Samba4 tests. | Jelmer Vernooij | 1 | -2/+3 | |
2009-06-03 | Remove empty unit test. | Jelmer Vernooij | 1 | -7/+0 | |
2009-06-03 | selftest/README: Fix formatting. | Jelmer Vernooij | 1 | -5/+13 | |
2009-06-03 | selftest: Factor generic functionality for buildfarm output into a | Jelmer Vernooij | 2 | -35/+88 | |
separate perl module. | |||||
2009-06-03 | Support reporting current time in selftest output. | Jelmer Vernooij | 4 | -7/+32 | |
2009-06-03 | selftest: Add subunit output format. | Jelmer Vernooij | 2 | -0/+105 | |
2009-05-30 | s3-selftest: Fix invalid /etc/group file used with nss_wrapper. | Günther Deschner | 1 | -0/+1 | |
Found by torture test. Guenther |