summaryrefslogtreecommitdiffstats
path: root/selftest/selftest.pl
Commit message (Collapse)AuthorAgeFilesLines
* selftest: Avoid being run over by armies of the undeadAndrew Bartlett2011-07-291-0/+2
| | | | | | | | Ignore SIGCHILD to reap zombies Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* selftest: use "state directory" and "cache directory" optionsBjörn Baumbach2011-07-211-2/+2
| | | | | | | | | instead of "state dir" and "cache dir" Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jul 21 10:06:32 CEST 2011 on sn-devel-104
* s4-fault: changed to use %d for PID, instead of %PID%Andrew Tridgell2011-07-131-1/+1
| | | | | | this matches the s3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* selftest/Samba4: setup "state dir" and "cache dir"Stefan Metzmacher2011-07-121-0/+14
| | | | metze
* selftest: remove invalid use of the globbing operator <>Michael Adam2011-07-041-2/+2
|
* selftest: eliminate a perl warningMichael Adam2011-07-041-1/+1
| | | | In perl, %binary_mapping should be initialized as a hash, not a hash reference.
* selftest: Remove %PROG% argument from 'panic action'Andrew Bartlett2011-06-241-1/+1
| | | | | | | | The debugger or script will need to work out the binary from the PID, as %PROG% support was lost when the setup_fault() code was merged between Samba3 and Samba4. Andrew Bartlett
* selftest: create ncalrpcdir with 0755 permissionsStefan Metzmacher2011-05-231-2/+11
| | | | | | | | | We need to reset the umask in order to set to the desired permissions. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 23 13:26:33 CEST 2011 on sn-devel-104
* selftest: Restore the s3member environment by avoiding smbcaclsAndrew Bartlett2011-04-291-2/+8
| | | | | | | | | This removes the need for acls on the filesystem for simple domain member tests. ACL tests should be written at some point... Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* selftest: we don't get valgrind errors any more with iconvAndrew Tridgell2011-04-271-5/+0
| | | | | | | | | | | this check was causing the CP850 warning in the combined build, as the s3 tests want CP850, but we don't have builtin support for that charset Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 27 09:31:44 CEST 2011 on sn-devel-104
* selftest: Make bindir_path much less complexAndrew Bartlett2011-04-271-16/+3
| | | | | | There is no need to pass it as a function pointer, just put it in 'Samba.pm'. Andrew Bartlett
* selftest Consolidate server wall clock time limitsAndrew Bartlett2011-04-191-3/+12
| | | | | | | | | | This helps ensure that we don't have the Samba3 servers stop before the full make test is finished. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 19 09:03:07 CEST 2011 on sn-devel-104
* selftest: move warning about invalid environments up to selftest.plAndrew Bartlett2011-04-191-1/+5
|
* selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett2011-04-191-1/+0
| | | | | | | It is much more reliable to specify it as a direct parameter, and this is needed for the combined 'make test'. Andrew Bartlett
* selftest Test for socket_wrapper support in combined samba target as wellAndrew Bartlett2011-04-191-0/+3
|
* selftest Add combined 'Samba' target moduleAndrew Bartlett2011-04-191-1/+5
| | | | | | | | To work around environment variable handling, the initialisation of NSS_WRAPPER_WINBIND_SO_PATH is pushed in to Samba3.pm (the s3 autoconf build still overrides this) Andrew Bartlett
* selftest: put the target on the environmentAndrew Bartlett2011-04-191-5/+11
| | | | | | | This will allow us to have a 'switch' target type that creates environments from Samba3 or Samba4 as required. Andrew Bartlett
* selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett2011-04-161-9/+6
| | | | | | 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-161-6/+29
| | | | | | | 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 Fix use of the 'fake DNS' fileAndrew Bartlett2011-04-071-1/+1
| | | | | | | | | | 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
* selftest pass in srcdir into Samba3 target moduleAndrew Bartlett2011-02-221-1/+1
|
* s3-selftest convert tests.sh to pythonAndrew Bartlett2011-02-221-0/+1
| | | | | | | This should allow us a much better chance of invoking the subunit wrappers in the right way, at the right level. Andrew Bartlett
* s4-loadparm: removed "setup directory" optionAndrew Tridgell2011-02-071-1/+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-071-3/+1
| | | | | | | 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>
* Explicitly set "nmbd: socket dir" in the test environment.Jeremy Allison2011-01-081-0/+1
| | | | | 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
* selftest: Support multiple instances of $LISTOPT.Jelmer Vernooij2010-12-111-1/+1
|
* 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.
* selftest: Even if setting up an environment failed, the next tests mayJelmer Vernooij2010-11-211-1/+0
| | | | still work.
* s4-test: we don't need to set LDB_MODULES_PATH any moreAndrew Tridgell2010-11-011-1/+0
|
* s4-test: don't override modules dirAndrew Tridgell2010-10-301-1/+0
| | | | it is set correctly during the build
* s4-modules: remove LD_SAMBA_MODULE_PATHAndrew Tridgell2010-10-301-1/+1
| | | | | | | this isn't needed now that we automatically get the module path right in our build and install trees Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* selftest: terminate selftest if we can't setup the environmentAndrew Tridgell2010-10-191-2/+3
|
* selftest: correct the import of Time::HighResMatthieu Patou2010-10-181-2/+3
| | | | | | | | The "use" is always evaluated first even if enclosed into a if. So on plateform without Time::Hires (ie. sun8 in the build farm). This leads to an error. Instead we use the synthax require Module + Module->import("function")
* s4-selftest: support 'make testenv SCREEN=1'Andrew Tridgell2010-10-021-2/+3
| | | | | | | | | | this can be used to start a test envioronment in screen windows. Use: make testenv SCREEN=1 SELFTEST_TESTENV=dc to launch just one environment (in this case, "dc")
* selftest: Let selftest provide the tempdir, rather than creating it as ↵Jelmer Vernooij2010-10-011-0/+4
| | | | sideeffect of tests.py.
* selftest: Abort early on SIGPIPE.Jelmer Vernooij2010-09-281-0/+8
|
* selftest: If a testsuite is killed by a signal, let selftest die.Jelmer Vernooij2010-09-251-2/+2
|
* selftest Don't run 'speed' tests for very longAndrew Bartlett2010-09-241-0/+2
| | | | | | | | 'make test' is too long, and the main thing we need with these tests is to ensure they don't segfault - there is no need to benchmark every box in the build farm, and we have no 'fail' metric in any case. Andrew Bartlett
* selftest: Pass prefix to setup_env function.Jelmer Vernooij2010-09-231-4/+4
|
* selftest: Use variable for clientdir.Jelmer Vernooij2010-09-231-18/+20
|
* selftest: Fix testsuite counts when running only a limited number ofJelmer Vernooij2010-09-221-8/+15
| | | | testsuites.
* selftest: Fix idlist running.Jelmer Vernooij2010-09-221-2/+2
|
* selftest: Fix use of --load-list.Jelmer Vernooij2010-09-221-1/+1
|
* selftest: Remove unused --analyse argument.Jelmer Vernooij2010-09-221-6/+0
|
* selftest: Let tests add prefix to tests by themselve.Jelmer Vernooij2010-09-221-23/+12
|