summaryrefslogtreecommitdiff
path: root/selftest/selftest.pl
AgeCommit message (Collapse)AuthorFilesLines
2011-07-13s4-fault: changed to use %d for PID, instead of %PID%Andrew Tridgell1-1/+1
this matches the s3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-12selftest/Samba4: setup "state dir" and "cache dir"Stefan Metzmacher1-0/+14
metze
2011-07-04selftest: remove invalid use of the globbing operator <>Michael Adam1-2/+2
2011-07-04selftest: eliminate a perl warningMichael Adam1-1/+1
In perl, %binary_mapping should be initialized as a hash, not a hash reference.
2011-06-24selftest: Remove %PROG% argument from 'panic action'Andrew Bartlett1-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
2011-05-23selftest: create ncalrpcdir with 0755 permissionsStefan Metzmacher1-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
2011-04-29selftest: Restore the s3member environment by avoiding smbcaclsAndrew Bartlett1-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>
2011-04-27selftest: we don't get valgrind errors any more with iconvAndrew Tridgell1-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
2011-04-27selftest: Make bindir_path much less complexAndrew Bartlett1-16/+3
There is no need to pass it as a function pointer, just put it in 'Samba.pm'. Andrew Bartlett
2011-04-19selftest Consolidate server wall clock time limitsAndrew Bartlett1-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
2011-04-19selftest: move warning about invalid environments up to selftest.plAndrew Bartlett1-1/+5
2011-04-19selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett1-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
2011-04-19selftest Test for socket_wrapper support in combined samba target as wellAndrew Bartlett1-0/+3
2011-04-19selftest Add combined 'Samba' target moduleAndrew Bartlett1-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
2011-04-19selftest: put the target on the environmentAndrew Bartlett1-5/+11
This will allow us to have a 'switch' target type that creates environments from Samba3 or Samba4 as required. Andrew Bartlett
2011-04-16selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett1-9/+6
Just have BINDIR, and have it default to ./bin Andrew Bartlett
2011-04-16selftest: Remove unused BUILDDIR_ABS environment variableAndrew Bartlett1-1/+0
2011-04-16selftest: Provide a single bindir_path function across all targetsAndrew Bartlett1-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
2011-04-07s3-selftest Fix use of the 'fake DNS' fileAndrew Bartlett1-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
2011-02-22selftest pass in srcdir into Samba3 target moduleAndrew Bartlett1-1/+1
2011-02-22s3-selftest convert tests.sh to pythonAndrew Bartlett1-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
2011-02-07s4-loadparm: removed "setup directory" optionAndrew Tridgell1-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>
2011-02-07s4-test: allow make test to work from top level directoryAndrew Tridgell1-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>
2011-01-08Explicitly set "nmbd: socket dir" in the test environment.Jeremy Allison1-0/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jan 8 07:17:22 CET 2011 on sn-devel-104
2010-12-27selftest: setup $ENV{TEST_DATA_PREFIX}Stefan Metzmacher1-0/+1
metze
2010-12-11selftest: Support multiple instances of $LISTOPT.Jelmer Vernooij1-1/+1
2010-12-10selftest: Check exit code when listing tests.Jelmer Vernooij1-0/+11
2010-12-10selftest: Rename $LIST to $LISTOPT for consistency with testrepository.Jelmer Vernooij1-2/+2
2010-12-10selftest: add --list option.Jelmer Vernooij1-0/+20
2010-12-10selftest: Document --testenv in --help output, remove documentation forJelmer Vernooij1-1/+1
now obsolete --analyse-cmd.
2010-11-21selftest: Even if setting up an environment failed, the next tests mayJelmer Vernooij1-1/+0
still work.
2010-11-01s4-test: we don't need to set LDB_MODULES_PATH any moreAndrew Tridgell1-1/+0
2010-10-30s4-test: don't override modules dirAndrew Tridgell1-1/+0
it is set correctly during the build
2010-10-30s4-modules: remove LD_SAMBA_MODULE_PATHAndrew Tridgell1-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>
2010-10-19selftest: terminate selftest if we can't setup the environmentAndrew Tridgell1-2/+3
2010-10-18selftest: correct the import of Time::HighResMatthieu Patou1-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")
2010-10-02s4-selftest: support 'make testenv SCREEN=1'Andrew Tridgell1-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")
2010-10-01selftest: Let selftest provide the tempdir, rather than creating it as ↵Jelmer Vernooij1-0/+4
sideeffect of tests.py.
2010-09-28selftest: Abort early on SIGPIPE.Jelmer Vernooij1-0/+8
2010-09-25selftest: If a testsuite is killed by a signal, let selftest die.Jelmer Vernooij1-2/+2
2010-09-24selftest Don't run 'speed' tests for very longAndrew Bartlett1-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
2010-09-23selftest: Pass prefix to setup_env function.Jelmer Vernooij1-4/+4
2010-09-23selftest: Use variable for clientdir.Jelmer Vernooij1-18/+20
2010-09-22selftest: Fix testsuite counts when running only a limited number ofJelmer Vernooij1-8/+15
testsuites.
2010-09-22selftest: Fix idlist running.Jelmer Vernooij1-2/+2
2010-09-22selftest: Fix use of --load-list.Jelmer Vernooij1-1/+1
2010-09-22selftest: Remove unused --analyse argument.Jelmer Vernooij1-6/+0
2010-09-22selftest: Let tests add prefix to tests by themselve.Jelmer Vernooij1-23/+12
2010-09-21selftest: Use idlist testing for python tests.Jelmer Vernooij1-2/+3
2010-09-21selftest: Support running individual tests using idlists, for testsuites ↵Jelmer Vernooij1-7/+12
that support them.