summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-04Run selftest.py tests.Jelmer Vernooij1-0/+1
2012-03-04selftest: Now runs again for tests that use environment 'none'.Jelmer Vernooij1-41/+68
2012-03-04selftest.target: Add NoneTarget.Jelmer Vernooij2-0/+30
2012-03-04selftest.py: Finish conversion to python - now loads without syntax errors.Jelmer Vernooij1-63/+89
2012-03-04selftest.testlist: Add RestrictedTestManager.from_path.Jelmer Vernooij2-37/+27
2012-03-04selftest: More work on conversion to Python.Jelmer Vernooij1-806/+482
2012-03-04selftest.testlist: Add docstrings.Jelmer Vernooij1-0/+12
2012-03-04selftest.testlist: Add manager for restricted test lists.Jelmer Vernooij2-10/+54
2012-03-04Add TestListFilter definition.Jelmer Vernooij1-0/+13
2012-03-04selftest.testlist: Add read_testlist.Jelmer Vernooij2-1/+51
2012-03-04selftest.testlist: Add read_test_regexes.Jelmer Vernooij2-1/+39
2012-03-04selftest: Add testlist management module.Jelmer Vernooij3-1/+73
2012-03-04selftest.target: Add Environment.get_vars.Jelmer Vernooij1-0/+11
2012-03-04selftest: Add tests for trying to reuse an environment that has gone down.Jelmer Vernooij1-1/+7
2012-03-04selftest: Add tests for NoneEnvironment.Jelmer Vernooij1-0/+17
2012-03-04selftest.target: Test that environments are reused.Jelmer Vernooij1-0/+5
2012-03-04selftest.target: Add tests for get_running_env.Jelmer Vernooij1-0/+7
2012-03-04selftest.target: Add tests for getlog_env.Jelmer Vernooij1-0/+8
2012-03-04selftest.target: Add tests for check.Jelmer Vernooij2-2/+9
2012-03-04selftest.target: Add tests for setup.Jelmer Vernooij2-9/+14
2012-03-04selftest: Add base classes for Target/Environment and their management.Jelmer Vernooij3-1/+199
2012-03-04selftest.socket_wrapper: interface is an integer.Jelmer Vernooij1-1/+1
2012-03-04selftest.socket_wrapper: Add basic unit tests.Jelmer Vernooij2-3/+16
2012-03-04selftest.socket_wrapper: Add docstrings.Jelmer Vernooij1-1/+8
2012-03-04Add test infrastructure for selftest.Jelmer Vernooij2-0/+52
2012-03-04selftest: Add python version of socket wrapper utilities.Jelmer Vernooij1-0/+54
2012-03-04selftest: Add selftest.py.Jelmer Vernooij1-0/+944
2012-03-04kcc: Improve formatting of Python code to be more consistent with our other ↵Jelmer Vernooij2-276/+224
code.
2012-03-04libcli:smb: define SMB2_HDR_FLAG_REPLAY_OPERATIONMichael Adam1-0/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Mar 4 15:10:38 CET 2012 on sn-devel-104
2012-03-04s3: Fix some && vs & warningsVolker Lendecke1-3/+3
Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Sun Mar 4 13:31:25 CET 2012 on sn-devel-104
2012-03-04selftest: Rework Samba3.pm process terminationAndrew Bartlett1-15/+23
We now store the timelimit child PID in memory, and confirm that the child has exited with both waitpid() and kill(0, $pid). By calling Samba::cleanup_child() we get exit status information. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Mar 4 11:51:12 CET 2012 on sn-devel-104
2012-03-04selftest: Rework Samba4.pm process termination.Andrew Bartlett1-6/+23
We now double-check the waitpid() result with kill(0, $pid) We now also send a SIGTERM, then a SIGKILL. Andrew Bartlett
2012-03-04selftest: Fix waitpid termination testAndrew Bartlett1-2/+2
2012-03-04selftest: Use fork()/exec() rather than system()Andrew Bartlett2-71/+59
This follows the Samba3.pm model for starting child processes is to use fork()/exec(). This reduces the number of processes being created by selftest.pl, and gives us more information about the child process and the running state in the parent. Andrew Bartlett
2012-03-04s3-winbindd: Add stdin handler for winbindAndrew Bartlett2-3/+48
This will help avoid runaway processes in the test env, particularly when the whole selftest.pl is killed. Andrew Bartlett
2012-03-04s3-nmbd: Add stdin handler for nmbdAndrew Bartlett1-0/+33
This will help avoid runaway processes in the test env, particularly when the whole selftest.pl is killed. Andrew Bartlett
2012-03-04change low FDs are handled in SambaAndrew Bartlett7-31/+25
We now only close fds 0, 1, 2 when we are a forked daemon, and take care not to close a file descriptor that we might need for foreground stdin monitoring. This should fix stdout logging in the lsa and epmapper deamons (ie in make test). Andrew Bartlett
2012-03-04s3: don't replace the error message if already definedMatthieu Patou1-3/+5
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Mar 4 10:13:24 CET 2012 on sn-devel-104
2012-03-04s3: print a nice warning when HAVE_ADS is not enabled but you still try to ↵Matthieu Patou1-0/+5
do net rpc keytab vampire
2012-03-04selftest: Remove unused vde functions.Jelmer Vernooij1-25/+0
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 07:54:51 CET 2012 on sn-devel-104
2012-03-04selftest/README: Expand inconsistent tabsJelmer Vernooij1-11/+11
2012-03-04selftest: Remove outdated template.Jelmer Vernooij1-47/+0
2012-03-04selftest: Remove unused and broken target 'windows'.Jelmer Vernooij2-46/+0
2012-03-04samba.7: Remove references to long gone testprns and smbsh utilities.Jelmer Vernooij1-18/+0
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 01:56:19 CET 2012 on sn-devel-104
2012-03-03s3: Fix a bogus if (client_len < 0)Volker Lendecke1-1/+1
On some platforms socklen_t might be unsigned, so comparing for <0 always returns true. Also, tsocket_address_bsd_sockaddr returns ssize_t. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 3 23:38:31 CET 2012 on sn-devel-104
2012-03-03selftest: more precisely skip durable-open, not durable.openMichael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Mar 3 19:17:32 CET 2012 on sn-devel-104
2012-03-03s4:torture:smb2: start a testsuite for durable v2 handles: durable and ↵Michael Adam4-1/+557
persistent opens
2012-03-03s4:libcli:smb2: set SMB2_CAP_ALL in the negprotMichael Adam1-1/+5
2012-03-03s3:libsmb: pass smb2 capabilities and client guid in cli_state_create()Stefan Metzmacher1-2/+7
metze Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-03s4:libcli:smb2: store the share capabilites in the smb2_tree objectMichael Adam3-0/+3