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
Jelmer Vernooij
d7edb40fca
format-subunit: Split out summary file writing.
2010-10-02 18:40:44 +02:00
Jelmer Vernooij
4ece674a99
selftest: Move plain text formatter to subunithelper.
2010-10-02 17:02:02 +02:00
Jelmer Vernooij
4190bd4e34
land: Move stage building into a separate class so we can have subclasses (e.g. subunit-specific).
2010-10-02 13:14:53 +02:00
Jelmer Vernooij
fbee3586fd
selftest: Let selftest provide the tempdir, rather than creating it as sideeffect of tests.py.
2010-10-01 01:31:06 +00:00
Jelmer Vernooij
124d9fc4d1
selftest: Avoid accessing deprecated BaseException.message.
...
Thanks to Andreas for pointing this out.
2010-09-30 10:31:03 +02:00
Jelmer Vernooij
02f87d1c36
format-subunit: Display number of failed tests even if there are no
...
failed testsuites.
2010-09-28 09:12:39 +02:00
Jelmer Vernooij
36ffe4f467
selftest: Abort early on SIGPIPE.
2010-09-28 09:12:39 +02:00
Jelmer Vernooij
7ac4a71072
Add dedicated exception for immediate failure in filter-subunit, don't raise it on known exceptions.
2010-09-28 09:12:39 +02:00
Andrew Tridgell
71f88c45a7
filter-subunit: added a --fail-immediately option
2010-09-28 09:12:38 +02:00
Jelmer Vernooij
ba5d034d53
selftest: If a testsuite is killed by a signal, let selftest die.
2010-09-25 12:20:56 -07:00