1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00
Commit Graph

370 Commits

Author SHA1 Message Date
Jelmer Vernooij
b975ce3a47 r21017: Actually run tests during test phase rather than when generating the recipe. 2007-10-10 14:44:20 -05:00
Andrew Bartlett
413df7114e r20997: Add in more certificate and key blobs, to enable PKINIT.
To automaticly test this, we need to decide if we should ship kinit
(and possibly and hxtool).

Andrew Bartlett
2007-10-10 14:44:19 -05:00
Jelmer Vernooij
9da63e362c r20967: Allow pidl tests to work with gcov 2007-10-10 14:44:04 -05:00
Jelmer Vernooij
0f34c67fff r20963: remove unused functions, run LOCAL-TDR by default 2007-10-10 14:44:04 -05:00
Jelmer Vernooij
3cc299dbbe r20830: merge mgmt work 2007-10-10 14:43:37 -05:00
Jelmer Vernooij
e4691447c4 r20822: Fix total failure counting. 2007-10-10 14:43:36 -05:00
Jelmer Vernooij
842637f78b r20756: Update to use generated recipes. 2007-10-10 14:40:45 -05:00
Jelmer Vernooij
bbe00636a9 r20755: Add progress indicator to test runner 2007-10-10 14:40:44 -05:00
Jelmer Vernooij
f288ca5f68 r20754: Simplify code for calculating total number of failed tests. 2007-10-10 14:40:44 -05:00
Jelmer Vernooij
d31d16e4eb r20750: Use files in script/tests to build a recipe rather than running the tests immediately. 2007-10-10 14:40:42 -05:00
Jelmer Vernooij
2794af5726 r20748: Add file I forgot to commit 2007-10-10 14:40:36 -05:00
Jelmer Vernooij
96ac1c62ee r20747: Move cifsdd to blackbox section 2007-10-10 14:40:36 -05:00
Jelmer Vernooij
7e6357f213 r20746: Don't report each individual test in test_smbclient as a single testsuite.
Create separate directory for blackbox tests.
2007-10-10 14:40:36 -05:00
Jelmer Vernooij
8ca927f888 r20739: Add more command-line options. 2007-10-10 14:40:35 -05:00
Jelmer Vernooij
b1719ebf38 r20737: Add option parsing. 2007-10-10 14:40:35 -05:00
Jelmer Vernooij
b7fd9645f5 r20696: Print mktestsetup errors to stderr rather than to either stderr or stdout.
Instead, print variables for the setup created to mktestsetup's stdout.
2007-10-10 14:40:24 -05:00
Jelmer Vernooij
1e013aba76 r20693: Add reimplementation of selftest in perl. Once this has been tested
more properly, I hope to use this as a replacement for the existing
file.
2007-10-10 14:40:23 -05:00
Stefan Metzmacher
1e4289fae4 r20167: reenable the ejsnet tests
metze
2007-10-10 14:29:17 -05:00
Rafal Szczesniak
5d7908038b r20164: Disable the test till tomorrow when I find out what caused
the crash.

rafal
2007-10-10 14:29:16 -05:00
Andrew Bartlett
67d8365e83 r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct
way to setup a Samba4 DC is to set 'server role = domain controller'.

We use the fSMORoleOwner attribute in the base DN to determine the PDC.

This patch is quite large, as I have corrected a number of places that
assumed taht we are always the PDC, or that used the smb.conf
lp_server_role() to determine that.

Also included is a warning fix in the SAMR code, where the IDL has
seperated a couple of types for group display enumeration.

We also now use the ldb database to determine if we should run the
global catalog service.

In the near future, I will complete the DRSUAPI
DsGetDomainControllerInfo server-side on the same basis.

Andrew Bartlett
2007-10-10 14:29:15 -05:00
Jelmer Vernooij
db237ad52f r19863: Create -uninstalled.pc files. This should reenable compilation and running
of the pidl testsuite as part of the testsuite.
2007-10-10 14:28:27 -05:00
Stefan Metzmacher
8a0a92e2dc r19723: don't use [,],(,) in test names to make the build-farm output happy
metze
2007-10-10 14:28:14 -05:00
Rafal Szczesniak
0f913ef240 r19708: add a script for running net tests separately
rafal
2007-10-10 14:28:12 -05:00
Jelmer Vernooij
f111feb1d2 r19680: Allow specifying basedir for test data.
Create temporary directories in base directory.
2007-10-10 14:25:30 -05:00
Jelmer Vernooij
3b65a0d6e4 r19671: Fix remaining unresolved symbols in shared library build.
Fix starting tests in shared library build.
2007-10-10 14:25:27 -05:00
Andrew Bartlett
5fda92783f r19603: Make it easier to control the debug level of smbd.
Ensure that we don't accept kerberos logins without a PAC (to ensure
we actually produce a PAC in the KDC)

Andrew Bartlett
2007-10-10 14:25:02 -05:00
Andrew Bartlett
1c7cb1314b r19590: Make it less noisy to run the session_key test outside 'make test',
for example against a remote host.

Andrew Bartlett
2007-10-10 14:24:58 -05:00
Andrew Bartlett
4f79f3b0c4 r19589: Because we what we really wanted was coverage of seal and non-seal,
rather than validate or not, change $VALIDATE to bigendian in the
session_key test.

Andrew Bartlett
2007-10-10 14:24:58 -05:00
Andrew Bartlett
8b71f4b31f r19567: Make it easier to control the debug level in the test scripts, by not
specifying it on the smbd command line.

Andrew Bartlett
2007-10-10 14:24:53 -05:00
Jelmer Vernooij
7a01235067 r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
2007-10-10 14:24:41 -05:00
Andrew Tridgell
9e1a8475ca r19503: it only makes sense to run the LOCAL-ICONV test on 'known good'
platforms as it tests the system iconv with the built in iconv. Limit
the test to Linux to avoid spurious errors.
2007-10-10 14:24:40 -05:00
Brad Henry
51580208a7 r19476: small typo. 2007-10-10 14:21:39 -05:00
Brad Henry
f2df3a90f1 r19475: fixed a couple of typos. 2007-10-10 14:21:39 -05:00
Brad Henry
908b483ed0 r19474: Move the Samba server / Windows client test to its own script. 2007-10-10 14:21:38 -05:00
Brad Henry
7d382b175b r19473: Add NET tests in their own script. Run the same set of tests that 'make test' does.
Comment those tests which don't pass.
2007-10-10 14:21:38 -05:00
Brad Henry
046b38817a r19472: Move rpc tests to their own scripts. Run the same tests as 'make test' does.
Comment those tests that don't pass.
2007-10-10 14:21:38 -05:00
Brad Henry
33760cfe94 r19471: Move BASE and RAW tests to their own scripts. Run the same set of tests as 'make test' does, at least for those that pass.
Comment the tests that don't pass.
2007-10-10 14:21:37 -05:00
Brad Henry
5871960928 r19470: Move common windows test functions into their own script wintest_functions.sh, and remove them from the main windows test script. 2007-10-10 14:21:37 -05:00
Stefan Metzmacher
15d24f355a r19443: reset trap when we have removed the test specifc files already
metze
2007-10-10 14:21:33 -05:00
Brad Henry
42171cbf49 r19432: This way of reverting snapshots is much better than the way I was doing them before. 2007-10-10 14:21:30 -05:00
Jelmer Vernooij
bfa0fbfe94 r19388: Start running all LOCAL-* tests but list some of them as known failing. 2007-10-10 14:21:23 -05:00
Stefan Metzmacher
fa030e4598 r19344: run smbclient and cifsdd under valgrind and pass the correct configuration
to get useful backtraces in the build-farm

metze
2007-10-10 14:21:13 -05:00
Jelmer Vernooij
e1742c14a2 r19343: Add support for external scripts/binaries that write results using the
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that
can't depend on -ltorture into smbtorture. The protocol is very simple:

- write "comments" to stderr

Example output on stdout:
test: foo
success: foo
test: bar
success: bar
test: blah
failure: blah [
dummy.c:30: Expression 1 != 2 failed!
]
test: blie
skip: blie [
Iconv support not built in
]

I've already converted the talloc testsuite.
2007-10-10 14:21:13 -05:00
Jelmer Vernooij
0eb6097305 r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
output in the testsuite rather than just True or False for a
set of tests.

The aim is to use this for:
 * known failure lists (run all tests and detect tests that
						started working or started failing). This
   would allow us to get rid of the RPC-SAMBA3-* tests
 * nicer torture output
 * simplification of the testsuite system
 * compatibility with other unit testing systems
 * easier usage of smbtorture (being able to run one test
						and automatically set up the environment for that)

This is still a work-in-progress; expect more updates over the next couple of
days.
2007-10-10 14:21:12 -05:00
Brad Henry
3d0cadb303 r19281: Generalize what we do for the RAW-QFILEINFO test call so that the same process
is used for other tests that operate on a share when run against windows.
2007-10-10 14:21:02 -05:00
Brad Henry
059d52167c r19280: Missed renaming a remove_qfileinfo_test() function call. 2007-10-10 14:21:02 -05:00
Brad Henry
eb16d5324d r19279: These setup and cleanup functions are general enough for any test which needs
a share to operate on, not just the qfileinfo test, so now they are named
more appropriately.
2007-10-10 14:21:01 -05:00
Brad Henry
a41eefaaa7 r19278: Change the delete_directory() expect function so that rmdir will
automatically remove any subdirs and files of the directory to be deleted.
2007-10-10 14:21:01 -05:00
Brad Henry
542bddacc8 r19277: This commit adds support to run the smbtorture RPC-ASYNCBIND RPC-ATSVC
RPC-DSSETUP RPC-EPMAPPER RPC-INITSHUTDOWN RPC-LSA-GETUSER RPC-MULTIBIND RPC-ROT
RPC-SECRETS RPC-SRVSVC RPC-SVCCTL  RPC-WKSSVC tests against windows, either
by 'make wintest' or in the build farm.

I was surprised when RPC-EVENTLOG and RPC-LSA failed, so i'll investigate today.
2007-10-10 14:21:01 -05:00
Stefan Metzmacher
e89ae157e8 r19180: with "export MAKE_TEST_KEEP_PCAP=yes" make test
doesn't delete the generated pcap files

metze
2007-10-10 14:20:50 -05:00