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

9 Commits

Author SHA1 Message Date
Andrew Bartlett
2839391c7d s3-selftest unconditionaly include subunit.sh
we no longer . this file into other shell scripts, so we don't need
this check any more.

Andrew Bartlett
2011-03-29 00:00:23 +02:00
Andrew Bartlett
a82d9e4e72 s3-selftest convert tests.sh to python
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-22 16:20:10 +11:00
Michael Adam
ae9aa47d6b s3:tests: use the blackbox subunit output formatter for the testparm_s3 test.
With the old output, failures would go unnoticed by selftest.
2011-02-19 12:23:24 +01:00
Günther Deschner
472d2a356f s3-selftest: fix testparm tests as non-root.
Thanks to Andreas for pointing this out.

Guenther
2010-08-13 18:30:37 +02:00
Stefan Metzmacher
c0fdc71ecd s3:tests: add a guard arround . $incdir/test_functions.sh
So that caller can overwrite the functions.

metze
2009-01-30 19:48:00 +01:00
Michael Adam
268caef85e [s3]test: fix testparm_s3 tests: don't create truncated smb.conf files.
Use whole argument string in test_one_global_option(), not only first.

Michael
2008-10-27 13:02:36 +01:00
Michael Adam
7cc155bdc1 testparm: rename -g|--skip-global-ckecks to -l|--skip-logic-checks
as suggested by Karolin.

That is what it really means. And per-share logic tests will be
disabled by the same switch, too...

Michael
(This used to be commit 5b8a4c3348)
2008-07-15 12:54:04 +02:00
Michael Adam
9978cc6c23 testsuite: fix bug #5594 by using the new --skip-global-ckecks switch
Michael
(This used to be commit 32f4b1443a)
2008-07-15 00:31:10 +02:00
Michael Adam
24de341973 testsuite: add a testparm_s3 test script.
This is a first testparm/lp_load test that runs testparm on a couple
of configuration files. The main purpose for now is to test the options
that have special handlers (to check whether the handlers succeed).
In particular, all the Macro expansions that are available via
alloc_sub_basic() are tested with the include handler. This is to
catch such crashbugs as #5548 where %m expansion led to a segfault.

The tests now are very simple. Just check if testparm completes
successfully on the given config files. This can (and should) be
elaborated in the future.

Michael
(This used to be commit eb28146d40)
2008-06-19 17:22:27 +02:00