summaryrefslogtreecommitdiff
path: root/selftest
AgeCommit message (Collapse)AuthorFilesLines
2009-08-11selftest: fix typo lock => lockdirStefan Metzmacher1-1/+1
metze
2009-08-05added a uid_wrapper libraryAndrew Tridgell1-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-28s4:kerberos Add support for user principal names in certificatesAndrew Bartlett1-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-27s4:kerberos Add test to show that we actually export the keytabAndrew Bartlett1-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-17selftest: report time after testsuite, gives nicer output on theJelmer Vernooij1-1/+1
buildfarm.
2009-06-12subunit: non-zero exit code if one or more testsuites failed.Jelmer Vernooij1-3/+1
2009-06-12selftest: Document the fact that test runner and formatter are nowJelmer Vernooij1-0/+9
separate tools.
2009-06-12subunit: Pass canonical names of test results to formatters and filters.Jelmer Vernooij1-6/+8
2009-06-12selftest: Add option to strip output of succeeded tests, and use it onJelmer Vernooij2-3/+22
the buildfarm. The matches the behaviour we had earlier in the previous output format.
2009-06-12selftest: Remove existing buildfarm output format.Jelmer Vernooij2-150/+2
2009-06-12format-subunit: Remove subunit output module.Jelmer Vernooij2-104/+0
We can still use "cat" to obtain a subunit stream from a subunit stream. :-)
2009-06-12selftest/buildfarm: Don't assume that a reason being specified is an ↵Jelmer Vernooij1-2/+9
indication of failure.
2009-06-12subunit-filter: Print names of skipped testsuites.Jelmer Vernooij1-1/+2
2009-06-11selftest: Fix exit code for format-subunit.pl.Jelmer Vernooij1-5/+1
2009-06-11selftest: Fix uninitialized variables in selftest output.Jelmer Vernooij1-2/+11
2009-06-11subunit: Sort diff output.Jelmer Vernooij2-2/+2
2009-06-11selftest: Make it easier to do subunit diffs from other apps.Jelmer Vernooij2-13/+17
2009-06-11selftest/subunit: Add diff command that can diff two subunit streams.Jelmer Vernooij5-5/+98
2009-06-11selftest: Properly recognize xfail testsuites.Jelmer Vernooij5-10/+48
2009-06-11selftest/subunit: Remove open_tests argument from parse_results.Jelmer Vernooij4-17/+6
2009-06-11selftest: Fix subunit formatting, fix years when filtering subunitJelmer Vernooij7-134/+164
streams.
2009-06-11selftest: Fix handling of testsuite, reintroduce progress indication.Jelmer Vernooij4-31/+141
2009-06-11selftest: Remove unnecessary uses.Jelmer Vernooij4-5/+2
2009-06-11selftest/subunit: Remove prefix command.Jelmer Vernooij6-61/+19
2009-06-11selftest: Fix subunit stream to include the right prefixes rather thanJelmer Vernooij3-13/+51
extending the subunit protocol.
2009-06-11More work supporting prefixes.Jelmer Vernooij3-11/+30
2009-06-11selftest: Use external processes for filtering known failures and prettyJelmer Vernooij7-111/+110
formatting.
2009-06-11selftest: Avoid decreasing total testsuites if the original total is notJelmer Vernooij1-2/+8
known.
2009-06-11selftest: Use filter-xfail for known failuresJelmer Vernooij4-54/+16
2009-06-11selftest: Add script to filter out known failures from a subunit stream.Jelmer Vernooij1-0/+162
2009-06-11Subunit: Support "fail" as alias for "failure" in Subunit streams.Jelmer Vernooij1-2/+2
2009-06-11subunit: Move more Subunit printing logic to Subunit.pm.Jelmer Vernooij2-15/+32
2009-06-11subunit: Support the time: command.Jelmer Vernooij1-0/+3
2009-06-08s3-selftest: forward NSS_WRAPPER_WINBIND_SO_PATH env to tests.Günther Deschner1-0/+4
Guenther
2009-06-03selftest: Add script that can take a subunit stream and format it.Jelmer Vernooij1-0/+68
2009-06-03selftest/plain: Allow caller to not specify the number of expectedJelmer Vernooij1-1/+5
testsuites to run.
2009-06-03selftest: Fix target/Samba4 tests.Jelmer Vernooij1-2/+3
2009-06-03Remove empty unit test.Jelmer Vernooij1-7/+0
2009-06-03selftest/README: Fix formatting.Jelmer Vernooij1-5/+13
2009-06-03selftest: Factor generic functionality for buildfarm output into aJelmer Vernooij2-35/+88
separate perl module.
2009-06-03Support reporting current time in selftest output.Jelmer Vernooij4-7/+32
2009-06-03selftest: Add subunit output format.Jelmer Vernooij2-0/+105
2009-05-30s3-selftest: Fix invalid /etc/group file used with nss_wrapper.Günther Deschner1-0/+1
Found by torture test. Guenther
2009-05-28s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from ↵Günther Deschner1-5/+7
group" script. Guenther
2009-05-20s3-selftest: add add and delete group scripts using nss_wrapper.Günther Deschner1-0/+2
Guenther
2009-05-12s3-printing: Fix vlp testprinter application.Günther Deschner1-7/+7
Jeremy, we cannot just access cache_path() here without calling lp_load and friends as well as parsing configfile from the commandline in order to make "make test/selftest" find the correct conffile with path, etc. I just changed it to pass the target tdbfilename as an argument, ok ? Guenther
2009-05-08s3-selftest: need to enable lanman auth in order make RPC-SAMR-PASSWORDS pass.Günther Deschner1-0/+1
Guenther
2009-04-22Specify explicit path to vlp, for those not having vlp in $PATH.Jelmer Vernooij1-1/+9
2009-04-22s4 selftest: Export the WINBINDD_SOCKET_DIR env varKai Blin1-0/+1
2009-04-08selftest: add a fake root user to nss_wrapper_passwd in s3.Günther Deschner1-0/+1
Needed to make some server calls to get_root_nt_token() succeed. make selftest/make test gurus, please check. Guenther