summaryrefslogtreecommitdiff
path: root/source4/selftest
AgeCommit message (Collapse)AuthorFilesLines
2009-09-08s4:selftest Fix 'make testenv-gdb' and 'make valgrindtest' etcAndrew Bartlett1-28/+22
The problem here was that tridge's changes to ensure that test results were always propogated didn't merge well with the addition of extra environment variables for the 'make valgrindtest' and similar environments. By splitting out the macro further, we keep the build farm reporting accurate, but allow these other test modes to work. Andrew Bartlett
2009-09-04s4:python fixed subunit tests of dcerpcAndrew Tridgell1-6/+6
The version of the unitest python module in Ubuntu Jaunty doesn't seem to support this many level of subdirectories. Moving the tests up one level solves the problem.
2009-08-17fixed make test reporting success when provision failsAndrew Tridgell1-24/+51
We were getting build test 'pass' on the build farm when the provision is failing. The cause was the use of filter pipelines in the selftest code in the makefile. A bourne shell will by default report the error status of the last element of the pipeline, which means when provision failed, make thought everything had passed. We could use the bash 'pipefail' option to fix this, but it isn't portable, so instead I've modified the makefile to touch st/st_done when the first element in the pipeline completes successfully. That means we now get errors in make test, at the expense of making the makefile even more horrible than it was.
2009-08-17skip the autoidl testAndrew Tridgell1-0/+1
The autoidl test is not needed now that we have IDL source available. It also generates a lot of errors in the logs.
2009-08-17s4:selftest Remove the 'subunit filter' from make testenv etcAndrew Bartlett1-2/+2
The extra filter is no use for 'testenv', as we are not running tests, but an xterm. The filter also breaks running 'GDB_PROVISION=yes make test', but at least if we can run 'GDB_PROVISION=yes make testenv' then we can debug provision. Andrew Bartlett
2009-08-11s4:torture Add test for the NTP signd serverAndrew Bartlett1-0/+2
This is used by at patch to the NTP project to supply authenticated time as required by MS-SNTP. (ie, to keep windows clients in time sync in the domain) Andrew Bartlett
2009-08-04s4:torture rework LDAP sort testAndrew Bartlett1-1/+1
This reworks the test to be part of the LDAP tests, to make better use of the torture API and the ldb API (in particular around adding controls), and a general cleanup. This also adds the test to the 'make test' run. Andrew Bartlett
2009-07-27s4:kerberos Add test to show that we actually export the keytabAndrew Bartlett1-0/+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-07-15s4-selftest: ok, s4 cant print. add RPC-SPOOLSS-PRINTER to knownfail for now.Günther Deschner1-0/+1
Guenther
2009-06-18s4: Add tests and 'must change password' flags in setpassword and newuserAndrew Bartlett1-0/+1
In particular, ensure that we can acutally change the password under these circumstances. Andrew Bartlett
2009-06-18selftest: Use common function when skipping testsuites based on run-timeJelmer Vernooij1-11/+32
conditions.
2009-06-16python: Add API for accessing available shares.Jelmer Vernooij1-0/+1
2009-06-12selftest: Fix references to filenames with knownfailures and slow tests.Jelmer Vernooij1-2/+2
2009-06-12selftest: Add option to strip output of succeeded tests, and use it onJelmer Vernooij1-1/+1
the buildfarm. The matches the behaviour we had earlier in the previous output format.
2009-06-12selftest: Output subunit on the buildfarm.Jelmer Vernooij1-0/+5
2009-06-11selftest: Fix handling of testsuite, reintroduce progress indication.Jelmer Vernooij1-1/+4
2009-06-11selftest: Fix subunit stream to include the right prefixes rather thanJelmer Vernooij1-1/+1
extending the subunit protocol.
2009-06-11selftest: Use external processes for filtering known failures and prettyJelmer Vernooij1-16/+14
formatting.
2009-06-11selftest: Use filter-xfail for known failuresJelmer Vernooij1-2/+5
2009-06-11selftest: Use subunit internally, and a separate test output formatter.Jelmer Vernooij1-18/+19
2009-06-10fixed some places where RPC-SECRETS needs to be changed to RPC-LSA-SECRETSAndrew Tridgell1-6/+6
this copes with a rename of SECRETS to LSA-SECRETS in an earlier patch by gd
2009-06-09s4-tests: Add separate variable for tap2subunit.Jelmer Vernooij1-2/+3
2009-06-09s4-selftest: change rpc.secrets to rpc.lsa.secrets here as well.Günther Deschner1-5/+5
Guenther
2009-06-04Don't run the RPC-SAMR-LARGE-DC test multiple timesAndrew Bartlett1-1/+1
2009-06-03selftest: Run tests for Samba4 target in the samba 4 testsuite.Jelmer Vernooij1-0/+1
2009-06-03Rename harness2subunit.pl -> tap2subunit to be consistent with theJelmer Vernooij1-1/+1
subunit tools.
2009-06-02Fix pythonpath so subunit can be found.Jelmer Vernooij1-1/+1
2009-05-29Explicitly list RPC-SAMR-PASSWORDS-PWDLASTSET and RPC-SAMR-USERS-PRIVILAGES ↵Andrew Bartlett1-1/+1
as slow
2009-05-21s4-selftest: adding RPC-SAMR-USERS-PRIVILEGES to knownfail list.Günther Deschner1-0/+1
Samba4 cannot pass this test currently as in Samba4 (unlike Samba3) the LSA and SAMR account are stored in the same db. Once you delete a SAMR user the LSA privilege account is deleted at the same time (which is wrong). Guenther
2009-05-16tevent: Remove python module.Jelmer Vernooij1-1/+0
This module didn't have any functionality that we actually used yet, and it was quite small. Tevent is quite low level and perhaps doesn't make much sense to expose directly as a Python module. It was also causing build problems when used with a system-tevent. We can always back later if necessary.
2009-05-13s4-selftest: match new name of RPC-SAMR-ACCESSMASK.Günther Deschner2-2/+2
Guenther
2009-04-25s4:selftest: don't run the smb2.durable.open testStefan Metzmacher1-0/+1
it often crashes when the server doesn't support them. metze
2009-04-25s4:selftest: s4 doesn't support osxrename and directory rename yetStefan Metzmacher1-0/+2
metze
2009-04-21python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and ↵Andrew Bartlett1-0/+1
GUID.__cmp__.
2009-04-20s4:selftest: ignore smb2.lease test for nowStefan Metzmacher1-0/+1
metze
2009-04-09enable testing of possibleInferiors generationAndrew Tridgell1-0/+1
2009-03-21s4:selftest: rename SMBD_VALGRIND => SAMBA_VALGRINDStefan Metzmacher1-6/+6
metze
2009-03-07s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.Günther Deschner1-1/+0
Guenther
2009-03-07don't rely on shebang's perl path, call our $PERL insteadBjörn Jacke1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-03-07s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.Günther Deschner1-0/+1
Guenther
2009-03-02some shells are picky about ^ without quotesBjörn Jacke1-2/+2
2009-02-26don't hardcode python pathBjörn Jacke1-1/+5
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-05LDAP-UPTODATEVECTOR: fix segfault against samba4 as serverStefan Metzmacher1-1/+0
metze
2009-02-03s4:selftest: don't use hardcoded pathesStefan Metzmacher1-18/+18
metze
2009-01-30selftest: pass down the path to python for provisioning samba4Stefan Metzmacher1-1/+2
metze
2009-01-30s4:selftest: run RPC-COUNTCALLS as dc:localStefan Metzmacher1-1/+4
metze
2009-01-30s4:selftest: run ncalrpc tests in dc:local modeStefan Metzmacher1-12/+22
metze
2009-01-30selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATHStefan Metzmacher1-7/+2
metze
2009-01-30selftest: allow environment optionsStefan Metzmacher1-2/+2
We support "local" and "client" (default) now. We can decide if we want to run a client against the server (with a special client.conf) or if we want to run tests localy on the server with the same config as the server. metze
2009-01-21s4:selftest: reference binaries via variables in tests.shStefan Metzmacher1-7/+9
metze