summaryrefslogtreecommitdiffstats
path: root/selftest/selftest.pl
Commit message (Collapse)AuthorAgeFilesLines
* Export PROMOTED_DC related variableMatthieu Patou2013-05-141-0/+5
| | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Tests: Fix the display of test vars in screen --testenvMatthieu Patou2013-01-221-7/+8
| | | | | | | | | | | | | | The form bash -c echo "important stuff blabla bla" && LD_LIBARY_PATH bash is not working in screen when it's working in xterm and the in_screen script already wrap all the command within a bash shell so there is no need to re-force bash as the echo will execute in a bash shell Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Jan 22 13:03:52 CET 2013 on sn-devel-104
* selftest: Add test for rfc2307 mapping handlingAndrew Bartlett2013-01-101-1/+4
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* selftest.pl: Fix typo 'snprintf' -> 'sprintf'.Jelmer Vernooij2012-12-261-1/+1
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Wed Dec 26 22:35:12 CET 2012 on sn-devel-104
* selftest: Add --random-order option.Jelmer Vernooij2012-10-271-1/+9
|
* selftest: use an array when starting testenv with system()Andrew Bartlett2012-09-301-3/+11
| | | | | | | | | | By reduing the need for escapes and forcing the use of bash, this seems to allow 'make testenv' to start on FreeBSD Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Sep 30 02:30:40 CEST 2012 on sn-devel-104
* selftest: allow NSS_WRAPPER_* vars to be exported to the environmentAndrew Bartlett2012-06-271-1/+6
|
* selftest.pl: Remove unused --verbose option.Jelmer Vernooij2012-03-041-8/+0
|
* selftest: Remove unused vde functions.Jelmer Vernooij2012-03-041-25/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 4 07:54:51 CET 2012 on sn-devel-104
* selftest: Remove unused and broken target 'windows'.Jelmer Vernooij2012-03-041-6/+0
|
* selftest: Move manual page into a separate file.Jelmer Vernooij2012-03-021-101/+0
| | | | (Generated using pod2man from selftest.pl itself)
* selftest: Do not skip environments that fail to start upAndrew Bartlett2012-02-231-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
* selftest: Allow setup_env() to signal that an environment name is unknownAndrew Bartlett2012-02-131-1/+8
| | | | | | | This will allow us to skip samba4 environments that may be mentioned in the source3/selftest/tests.py file. Andrew Bartlett
* selftest: Remove unused support for --exeextAndrew Bartlett2012-02-011-11/+3
|
* selftest: Fix typo in socket wrapper test.Jelmer Vernooij2011-12-011-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 1 00:30:00 CET 2011 on sn-devel-104
* selftest: Drop broken and unused Kvm target.Jelmer Vernooij2011-11-301-16/+5
|
* selftest: Don't acquire target when --list was specified.Jelmer Vernooij2011-11-301-25/+27
|
* selftest: Don't write subunit output in --list mode.Jelmer Vernooij2011-11-301-7/+13
|
* selftest: Remove the 'all' environment as it is just too slow to start upAndrew Bartlett2011-11-081-1/+1
| | | | | | | Instead we start the 'dc' environment, and other environments are available as: make testenv SELFTEST_TESTENV=fl2003dc Andrew Bartlett
* selftest: Remove --target option and the ability to run 'samba4 only' testsAndrew Bartlett2011-10-281-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
* Revert "selftest: Avoid being run over by armies of the undead"Andrew Bartlett2011-10-201-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
* 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
|