1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

318 Commits

Author SHA1 Message Date
Andrew Tridgell
3bcb693e27 s4-test: fixed test_samba4.pl for top level build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:00 +11:00
Andrew Tridgell
b038aca5c8 s4-loadparm: removed "setup directory" option
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-07 13:22:00 +11:00
Andrew Tridgell
6484da4859 s4-test: allow make test to work from top level directory
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-02-07 13:22:00 +11:00
Andreas Schneider
d0d5d59943 s3-smbd: Disable the endpoint mapper by default. 2011-02-02 12:44:20 +01:00
Jeremy Allison
86d06ad103 Fix "make test" - ensure nmbd runs with -S (log to stdout).
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
2011-01-11 00:30:52 +01:00
Jeremy Allison
04987bd843 Explicitly set "nmbd: socket dir" in the test environment.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan  8 07:17:22 CET 2011 on sn-devel-104
2011-01-08 07:17:22 +01:00
Stefan Metzmacher
3b0425c8c7 selftest: setup $ENV{TEST_DATA_PREFIX}
metze
2010-12-27 15:37:55 +01:00
Günther Deschner
a43a1d9226 s3-selftest: support differing VFSLIBDIR in autoconf and waf build.
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
2010-12-13 13:06:05 +01:00
Jelmer Vernooij
002acbbbd0 selftest: Support multiple instances of $LISTOPT. 2010-12-11 18:48:05 +01:00
Jelmer Vernooij
3b1ed52f2f filter-subunit: Add --list argument. 2010-12-11 18:48:05 +01:00
Jelmer Vernooij
5f6dd9a608 selftest: Check exit code when listing tests. 2010-12-10 03:04:06 +01:00
Jelmer Vernooij
a957d8c80f selftest: Rename $LIST to $LISTOPT for consistency with testrepository. 2010-12-10 03:04:06 +01:00
Jelmer Vernooij
e6974b0ff0 selftest: add --list option. 2010-12-10 03:04:06 +01:00
Jelmer Vernooij
34adc745ef selftest: Document --testenv in --help output, remove documentation for
now obsolete --analyse-cmd.
2010-12-10 03:04:06 +01:00
Kai Blin
1f2518df5a s4 libcli: Add libcli_echo lib and torture test
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Dec  9 23:57:03 CET 2010 on sn-devel-104
2010-12-09 23:57:03 +01:00
Günther Deschner
6a93be43dc s3-selftest: add WIN40 directory to print$ share.
Guenther
2010-11-29 15:35:19 +01:00
Matthieu Patou
c254527386 build: update gdb_backtrace to make it search for gdb66 as it work on freebsd
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 28 16:37:08 CET 2010 on sn-devel-104
2010-11-28 16:37:08 +01:00
Matthieu Patou
06beebd1e4 fix bad shell 2010-11-28 17:50:45 +03:00
Matthieu Patou
7e2b315ca0 add handling for solaris
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 28 13:32:21 CET 2010 on sn-devel-104
2010-11-28 13:32:21 +01:00
Matthieu Patou
e5eaed0180 remove useless debug message :-) 2010-11-27 17:18:19 +01:00
Jelmer Vernooij
3483adaf0a selftest: Allow using ldb* utilities from system. 2010-11-27 03:48:20 +01:00
Matthieu Patou
90aa16122e Make log level of the server configurable in make test
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Tue Nov 23 22:36:37 CET 2010 on sn-devel-104
2010-11-23 22:36:37 +01:00
Jelmer Vernooij
7f32c21ef0 selftest: Even if setting up an environment failed, the next tests may
still work.
2010-11-21 23:12:03 +01:00
Jelmer Vernooij
bbd77cbbac subunithelper: Exit with 1 if more than zero testsuites failed or
errorred.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 21 21:13:00 CET 2010 on sn-devel-104
2010-11-21 21:13:00 +01:00
Jeremy Allison
ac0ffba004 Add test that detects problems in the SMB signing code when run through 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.
2010-11-10 18:07:51 -08:00
Jeremy Allison
092507c65a Ensure we always have a mapped group for "Domain Users".
Needed for DC tests to pass with bugfix for bug #7777.

Jeremy.
2010-11-08 13:39:51 -08:00
Andrew Bartlett
e77e162b97 s4-selftest fix indentation 2010-11-08 18:15:23 +11:00
Andrew Tridgell
a162b1a2d8 s4-join: switch over to the new DC join in make test 2010-11-06 14:36:26 +11:00
Matthieu Patou
ac3f8d859d fix in_screen so that it works on os that don't chdir to $PWD
That's the case on freebsd 7.2

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Nov  5 09:27:19 UTC 2010 on sn-devel-104
2010-11-05 09:27:19 +00:00
Jelmer Vernooij
4f87f8f33e filter-subunit: Add --fail-on-empty argument. 2010-11-03 17:05:19 +00:00
Andrew Bartlett
b8a0eb749f s4-selftest Allow weak crypto so we can test DES-only behaviour.
Andrew Bartlett
2010-11-02 22:00:54 +11:00
Andrew Tridgell
43f7c9ca26 s4-test: we don't need to set LDB_MODULES_PATH any more 2010-11-01 18:55:19 +11:00
Matthieu Patou
3cef97ad0e unit tests: remove trailling white spaces
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Oct 31 23:10:55 UTC 2010 on sn-devel-104
2010-10-31 23:10:55 +00:00
Matthieu Patou
fda0f614d5 unit tests: allow make test to correctly and quickly exit in case of problem while provisionning a test environment 2010-10-31 22:28:15 +00:00
Andrew Tridgell
a00657db75 s4-test: don't override modules dir
it is set correctly during the build
2010-10-30 23:49:02 +11:00
Andrew Tridgell
ac8e910686 s4-modules: remove LD_SAMBA_MODULE_PATH
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-30 23:49:01 +11:00
Günther Deschner
9dd467b2d5 s3-selftest: add vfs_modulesdir variable for both test systems.
Guenther
2010-10-28 14:33:19 +00:00
Kai Blin
b73a05e4e1 s4 net: rename to samba-tool in order to not clash with s3 net
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104
2010-10-28 07:25:16 +00:00
Andrew Tridgell
75d57dbc25 selftest: terminate selftest if we can't setup the environment 2010-10-19 14:53:39 +11:00
Matthieu Patou
b1a13e5e14 selftest: correct the import of Time::HighRes
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-18 19:09:07 +00:00
Andrew Bartlett
f4c82c621d s4-selftest Make GDB_PROVISION work again
gdb --args won't run the #!/usr/bin/evn python

Andrew Bartlett
2010-10-18 11:13:04 +00:00
Matthieu Patou
9d958ce582 build: make make tests SCREEN=1 work on freebsd 2010-10-10 16:03:35 +04:00
Kamen Mazdrashki
27f72fb19b subunithelper: Don't access 'message' attribute directly as it deprecated
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 10 01:50:09 UTC 2010 on sn-devel-104
2010-10-10 01:50:09 +00:00
Günther Deschner
505eaa9493 s3-selftest: enable smb2 torture tests against samba3.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct  5 14:38:07 UTC 2010 on sn-devel-104
2010-10-05 14:38:07 +00:00
Andrew Tridgell
dfb664a182 s4-selftest: support 'make testenv SCREEN=1'
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-02 21:11:53 -07:00
Andrew Tridgell
b772871f4c s4-selftest: added --screen option for test
you can now do:

  make test TESTS="some test" SCREEN=1

while in GNU screen, and all the samba servers will launch in their
own new screen, named after the server name.

You can also do:

  make test TESTS="some test" SCREEN=1 VALGRIND_SERVER=1

to run valgrind on each samba server, or

  make test TESTS="some test" SCREEN=1 GDBTEST=1

to run gdb on each server
2010-10-02 21:11:52 -07:00
Andrew Tridgell
507c413e48 s4-selftest: fixed up exit codes on signals for make test
also set $ENVNAME in launched servers
2010-10-02 21:11:52 -07:00
Jelmer Vernooij
5cdef70823 subunithelper: Remove accidentally added line. 2010-10-02 23:32:12 +02:00
Jelmer Vernooij
14efa95593 subunithelper: Fix format time. 2010-10-02 22:31:31 +02:00
Jelmer Vernooij
72119de02b subunithelper: Make filter options optional. 2010-10-02 18:41:14 +02:00