summaryrefslogtreecommitdiff
path: root/selftest/selftest.pl
AgeCommit message (Collapse)AuthorFilesLines
2012-06-27selftest: allow NSS_WRAPPER_* vars to be exported to the environmentAndrew Bartlett1-1/+6
2012-03-04selftest.pl: Remove unused --verbose option.Jelmer Vernooij1-8/+0
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: Remove unused and broken target 'windows'.Jelmer Vernooij1-6/+0
2012-03-02selftest: Move manual page into a separate file.Jelmer Vernooij1-101/+0
(Generated using pod2man from selftest.pl itself)
2012-02-23selftest: Do not skip environments that fail to start upAndrew Bartlett1-1/+1
This is a regression in 70f4a96c68e91e407651e2487cc3c66a80262fa2. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Feb 23 10:55:20 CET 2012 on sn-devel-104
2012-02-13selftest: Allow setup_env() to signal that an environment name is unknownAndrew Bartlett1-1/+8
This will allow us to skip samba4 environments that may be mentioned in the source3/selftest/tests.py file. Andrew Bartlett
2012-02-01selftest: Remove unused support for --exeextAndrew Bartlett1-11/+3
2011-12-01selftest: Fix typo in socket wrapper test.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 1 00:30:00 CET 2011 on sn-devel-104
2011-11-30selftest: Drop broken and unused Kvm target.Jelmer Vernooij1-16/+5
2011-11-30selftest: Don't acquire target when --list was specified.Jelmer Vernooij1-25/+27
2011-11-30selftest: Don't write subunit output in --list mode.Jelmer Vernooij1-7/+13
2011-11-08selftest: Remove the 'all' environment as it is just too slow to start upAndrew Bartlett1-1/+1
Instead we start the 'dc' environment, and other environments are available as: make testenv SELFTEST_TESTENV=fl2003dc Andrew Bartlett
2011-10-28selftest: Remove --target option and the ability to run 'samba4 only' testsAndrew Bartlett1-8/+4
This simplifies the selftest system, and by default we always tested all of samba3 and samba4 in the waf build. This simply removes a rarely used option for testing only part of the system. The make test TESTS="^samba3" syntax remains unchanged, so no functionality is lost. Andrew Bartlett
2011-10-20Revert "selftest: Avoid being run over by armies of the undead"Andrew Bartlett1-2/+0
This reverts commit 2b47aface434000b29aa29f4ff6348cc147ae757 because it had a typo in $SIG{CHILD} (it needed to be $SIG{CHLD}), which when fixed simply broke the whole selftest system. Andrew Bartlett
2011-07-29selftest: Avoid being run over by armies of the undeadAndrew Bartlett1-0/+2
Ignore SIGCHILD to reap zombies Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21selftest: use "state directory" and "cache directory" optionsBjörn Baumbach1-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
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