summaryrefslogtreecommitdiffstats
path: root/selftest
Commit message (Collapse)AuthorAgeFilesLines
...
* selftest Add binary mappings for samba3 selftestAndrew Bartlett2011-04-161-6/+6
| | | | | | | | | This will help us have a top level 'make test', working around the fact that the --eanble-s3build has different names for some of these binaries, without fixing the names forever (we can just change the mapping later). Andrew Bartlett
* selftest: Start using the binary mapping at the python layer as wellAndrew Bartlett2011-04-161-0/+10
|
* selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett2011-04-162-10/+7
| | | | | | Just have BINDIR, and have it default to ./bin Andrew Bartlett
* selftest: Remove unused BUILDDIR_ABS environment variableAndrew Bartlett2011-04-161-1/+0
|
* selftest: Provide a single bindir_path function across all targetsAndrew Bartlett2011-04-165-62/+71
| | | | | | | This will allow a mapping to be made between things like smbtorture4 -> smbtorture that is correct for the different build environments. Andrew Bartlett
* s3/selftest Tear down the environment if we fail to connectAndrew Bartlett2011-04-121-12/+36
| | | | | | | | | | | This removes the exit(1) that previously didn't tear down the environment correctly, and instead just fails to set it up, allowing the rest of the script handle that with more grace. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 12 01:53:37 CEST 2011 on sn-devel-104
* selftest:Samba4: setup DC_* variables in provision_rpc_proxy()Stefan Metzmacher2011-04-071-0/+7
| | | | | | | | | | The "rpc_proxy" should behave like "member", just with a different configuration. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Apr 7 15:52:25 CEST 2011 on sn-devel-104
* s3-selftest actually wait for smbclient to connectAndrew Bartlett2011-04-071-2/+14
| | | | | | This means that we actually have a working smbd. The previous code didn't know if it worked or not, and so created flaky tests. Andrew Bartlett
* s3-selftest Fix use of the 'fake DNS' fileAndrew Bartlett2011-04-072-2/+2
| | | | | | | | | | This ensures we don't use netbios before the hosts file and that we do fill in the fake DNS zone correctly for the way we invoke smbtorture4. Currently this works because the realm in client.conf is "", if this changes then this will need to change too (perhaps an additional entry). Andrew Bartlett
* s3-selftest Add tests to show kerberos works across a password changeAndrew Bartlett2011-04-061-4/+14
| | | | | | | | | | | | | It is important that a machine account password change does not invalidate existing tickets. This is only for the default kerberos method with a password in secrets.tdb. The keytab based methods are still not tested. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 6 05:24:48 CEST 2011 on sn-devel-104
* s3-selftest names into DNS hosts file to avoid NBT lookupsAndrew Bartlett2011-04-061-0/+5
| | | | | | | | | | | | NBT lookups cause trouble and variablity in 'make test', so it's much better if we just use the fake DNS code. This code is only used by smbtorture4 at this time, but the other client tools are generally told to contact by IP address. We need to contact by name to test Kerberos, and this should make the kerberos tests much more reliable. Andrew Bartlett
* s3-selftest Add testing of kerberos loginAndrew Bartlett2011-04-041-0/+65
| | | | | | | This uses a pre-calculated credentials cache, that should be valid until 2036. Andrew Bartlett
* s3-selftest Disable log rotation in 'make test'Andrew Bartlett2011-04-041-0/+1
|
* s3-selftest Add tests for security=serverAndrew Bartlett2011-03-291-0/+39
| | | | Andrew Bartlett
* s3:selftest: fix Samba3.pm deprecated idmap configBjörn Baumbach2011-03-221-2/+1
| | | | | Replace deprecated idmap uid and gid option with new idmap config * : range
* selftest/Samba3: use 'debug pid=yes'Stefan Metzmacher2011-03-191-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Mar 19 10:55:34 CET 2011 on sn-devel-104
* selftest: Added ncalrpc dir to config.Andreas Schneider2011-03-081-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* selftest/target/Samba4: regenerate the krb5.conf after the rodc joinStefan Metzmacher2011-03-041-0/+6
| | | | | | | The RODC should be used as KDC, which will forward requests to the RWDC if required. metze
* selftest/target/Samba4: splitout a mk_krb5_conf() functionStefan Metzmacher2011-03-041-44/+51
| | | | metze
* selftest: Improve gdb_backtrace to run in batch modeAndrew Bartlett2011-02-221-2/+3
| | | | | | | | | Following Tridge's advice, we need to have no input (/dev/null) and -batch for reliable opeation on big backtraces. We should also use --pid, and let gdb find the binary Andrew Bartlett
* selftest pass in srcdir into Samba3 target moduleAndrew Bartlett2011-02-222-6/+8
|
* s3-selftest convert tests.sh to pythonAndrew Bartlett2011-02-222-0/+7
| | | | | | | This should allow us a much better chance of invoking the subunit wrappers in the right way, at the right level. Andrew Bartlett
* selftest split $PERL into multiple arguments for Test::More checkAndrew Bartlett2011-02-221-2/+3
|
* selftest move selftesthelpers to a top level helper scriptAndrew Bartlett2011-02-221-0/+156
|
* Add tests for various s3 auth modesAndrew Bartlett2011-02-221-0/+45
|
* s4-test: fixed test_samba4.pl for top level buildAndrew Tridgell2011-02-071-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-loadparm: removed "setup directory" optionAndrew Tridgell2011-02-072-2/+0
| | | | | | | the correct setup directory is known at both build time and install time using dyn_SETUPDIR, so we no longer have any need to override it Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-test: allow make test to work from top level directoryAndrew Tridgell2011-02-072-10/+13
| | | | | | | this fixes the path assumptions in Samba4 make test to allow it to work from the top level directory. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-smbd: Disable the endpoint mapper by default.Andreas Schneider2011-02-021-0/+2
|
* Fix "make test" - ensure nmbd runs with -S (log to stdout).Jeremy Allison2011-01-111-2/+2
| | | | | | | Also ensure nmbd socket directory isn't created (nmbd will create it). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jan 11 00:30:52 CET 2011 on sn-devel-104
* Explicitly set "nmbd: socket dir" in the test environment.Jeremy Allison2011-01-082-0/+9
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jan 8 07:17:22 CET 2011 on sn-devel-104
* selftest: setup $ENV{TEST_DATA_PREFIX}Stefan Metzmacher2010-12-271-0/+1
| | | | metze
* s3-selftest: support differing VFSLIBDIR in autoconf and waf build.Günther Deschner2010-12-131-1/+1
| | | | | | | | | With this change make test in the s3 waf build (w/o s4 smbtorture yet) works! Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Dec 13 13:06:05 CET 2010 on sn-devel-104
* selftest: Support multiple instances of $LISTOPT.Jelmer Vernooij2010-12-111-1/+1
|
* filter-subunit: Add --list argument.Jelmer Vernooij2010-12-111-0/+10
|
* selftest: Check exit code when listing tests.Jelmer Vernooij2010-12-101-0/+11
|
* selftest: Rename $LIST to $LISTOPT for consistency with testrepository.Jelmer Vernooij2010-12-101-2/+2
|
* selftest: add --list option.Jelmer Vernooij2010-12-101-0/+20
|
* selftest: Document --testenv in --help output, remove documentation forJelmer Vernooij2010-12-101-1/+1
| | | | now obsolete --analyse-cmd.
* s4 libcli: Add libcli_echo lib and torture testKai Blin2010-12-091-0/+1
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Dec 9 23:57:03 CET 2010 on sn-devel-104
* s3-selftest: add WIN40 directory to print$ share.Günther Deschner2010-11-291-0/+3
| | | | Guenther
* build: update gdb_backtrace to make it search for gdb66 as it work on freebsdMatthieu Patou2010-11-281-0/+17
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Nov 28 16:37:08 CET 2010 on sn-devel-104
* fix bad shellMatthieu Patou2010-11-281-0/+1
|
* add handling for solarisMatthieu Patou2010-11-281-1/+11
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Nov 28 13:32:21 CET 2010 on sn-devel-104
* remove useless debug message :-)Matthieu Patou2010-11-271-1/+0
|
* selftest: Allow using ldb* utilities from system.Jelmer Vernooij2010-11-271-1/+5
|
* Make log level of the server configurable in make testMatthieu Patou2010-11-231-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Nov 23 22:36:37 CET 2010 on sn-devel-104
* selftest: Even if setting up an environment failed, the next tests mayJelmer Vernooij2010-11-211-1/+0
| | | | still work.
* subunithelper: Exit with 1 if more than zero testsuites failed orJelmer Vernooij2010-11-211-5/+10
| | | | | | | errorred. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 21 21:13:00 CET 2010 on sn-devel-104
* Add test that detects problems in the SMB signing code when run through ↵Jeremy Allison2010-11-101-0/+2
| | | | | | | | | | cli_write() (which doesn't use the new async methods). Unfortunately, and I think due to the socket wrapper code, this doesn't detect the failure on the build farm, but running the RW-SIGNING test separately against a Samba or Windows server using signing does. Jeremy.