1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-07 12:23:51 +03:00
Commit Graph

96 Commits

Author SHA1 Message Date
Jelmer Vernooij
e4691447c4 r20822: Fix total failure counting. 2007-10-10 14:43:36 -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
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
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
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
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 Bartlett
5b3c8cc036 r18979: With these extra indexes (also added for the normal case) and a
DB_CONFIG file, we now get reasonable enought performance to pass
'make test' against OpenLDAP.

We do have to double the maximum runtime for the torture client however.

Andrew Bartlett
2007-10-10 14:20:26 -05:00
Andrew Tridgell
3c4100027c r18917: having 255 virtual interfaces available in socket wrapper means we
stat() 240 files that don't exist on every broadcast. That's a bit
excessive!

reduce max virtual interfaces to 16
2007-10-10 14:20:21 -05:00
Andrew Tridgell
f6b65fd631 r18588: save one more character in the socket wrapper path - seems it still
was occasionally too long for IRIX 6.4
2007-10-10 14:18:53 -05:00
Andrew Tridgell
c2fc347102 r18576: unfortunately our current build farm results are a bit too good!
when I changed the test output to be easier to read, I also broke it
so that it always gives a zero exit status. Fix now, and unfortunately
I expect to see some more red in the farm as a result :(
2007-10-10 14:18:49 -05:00
Andrew Tridgell
da37e963ce r18575: - use the right variable to teststatus
- don't display the "(NN tests failed so far)" message unless a test
  has failed
2007-10-10 14:18:49 -05:00
Andrew Tridgell
a57decb96a r18571: try to make it a lot more obvious when 'make test' or 'make quicktest'
has failed. The output was too subtle for people who aren't used to
it.
2007-10-10 14:18:48 -05:00
Andrew Tridgell
f7eaa03d6f r18494: don't count 'DWARF2 CFI reader' messages as valgrind failures 2007-10-10 14:18:38 -05:00
Andrew Bartlett
1daf4e7bd4 r18459: Set access to test LDAP server as system to anonymous, but also note
the correct authz-regexp for future use.

Fail to test if slapd fails and TEST_LDAP=yes
2007-10-10 14:18:33 -05:00
Andrew Tridgell
febaf6af4c r18349: don't do validation when using valgrind. It's way too slow (can be
hours for a single test)
2007-10-10 14:18:14 -05:00
Andrew Tridgell
d9ddfdf9e8 r18247: more shell portability fixes 2007-10-10 14:17:55 -05:00
Andrew Bartlett
999d989131 r18023: Add support infrusructure for testing against an OpenLDAP server.
This will give a bit more noise on platforms without OpenLDAP (when we
run the slaptest check), but it shouldn't be too bad.

We don't start the LDAP server or re-provision unless LDAP_TEST is set.

Andrew Bartlett
2007-10-10 14:17:04 -05:00
Andrew Tridgell
6a7800064f r17675: increase max torture test runtime - we have some v slow hosts in the
farm!
2007-10-10 14:16:22 -05:00
Stefan Metzmacher
ebfb719e3d r17540: store command line args of selftest.sh in local vars
as $0,$1,$2,$3 may change in side the script
or included scripts.

This fixes the usage of SOCKET_WRAPPER on non linux
systems (tested on IRIX 6.4)

metze
2007-10-10 14:15:35 -05:00
Andrew Bartlett
110de3a3a2 r17396: Bump the time up again. RPC-SAMR can slow, I probably need to break
it up again...

Andrew Bartlett
2007-10-10 14:15:21 -05:00
Andrew Bartlett
5cb916b57a r17395: Add some more time to the default runtime. Now 7.5 mins.
Andrew Bartlett
2007-10-10 14:15:21 -05:00
Jelmer Vernooij
3763ed3092 r16527: Add target argument for smbtorture.
Remove duplicate unc path separator conversion.
Add prefix for tempdirs.
2007-10-10 14:09:33 -05:00
Jelmer Vernooij
e659d77248 r16525: Move selftest-specific code back to selftest. 2007-10-10 14:09:32 -05:00
Jelmer Vernooij
2c601df23f r16522: Move code to create the test data out of selftest.sh. 2007-10-10 14:09:32 -05:00
Stefan Metzmacher
1ca34c9090 r16469: do some smb2 tests
metze
2007-10-10 14:09:30 -05:00
Stefan Metzmacher
c567d92f5b r15684: fix option passing
metze
2007-10-10 14:08:05 -05:00
Stefan Metzmacher
430c7143c6 r15622: pass 'target:samba4=yes' to samba4's smbtorture when running samba4's make test
we can use this in samba4's smbtorture to disable tests sections which doesn't pass
against samba4

metze
2007-10-10 14:07:01 -05:00
James Peach
1b8891a2f3 r15187: Introduce new param type P_BYTES. This lets config options which specify
byte counts be given in convenient units.
2007-10-10 14:04:14 -05:00
Jelmer Vernooij
c4668192f9 r14908: Fix LD_LIBRARY_PATH 2007-10-10 14:00:14 -05:00
Jelmer Vernooij
3aafd09020 r14740: Try loading shared libs from the bin/ directory (useful for running 'make test'
without developer mode)
2007-10-10 13:59:18 -05:00
Stefan Metzmacher
f61bd2e9a2 r14738: do some different lookups
metze
2007-10-10 13:59:18 -05:00
Andrew Bartlett
cc7c84bfc9 r14717: Don't provision the system as 'localhost', but instead list localhost
as an alias.  The netbios name is then 'localtest', which will resolve
with netbios and work with krb5.

Andrew Bartlett
2007-10-10 13:59:13 -05:00
Andrew Bartlett
8866aa06ff r13244: Allow control of the location of the Samba3-compatible winbindd pipe
in Samba4.  This allows us to start winbindd by default, including in
'make test'.

This is via a new 'winbindd socket directory' parameter for utilities
linked against loadparm, as well as a --with-winbindd-socket-dir
option to configure (setting the default and the value for simple
clients).

I hope to add basic winbindd tests, to ensure continued correct
operation, but at least now I don't have to manually change my 'server
services' line.

The other problem with the hard-coded /tmp/.winbind is that RedHat has
moved this in Fedora (to /var/run I think).  For this reason, this
functionality should probably be ported to Samba3 as well.

The default for Samba4 is PREFIX/var/run/winbind_pipe.

I have also re-added the paranoia checks from Samba3 for correct
permissions on the socket directory.

Andrew Bartlett
2007-10-10 13:51:37 -05:00
Andrew Bartlett
ea0a53d679 r13240: Make the test scripts use the new smb.conf location (in PREFIX/etc).
Andrew Bartlett
2007-10-10 13:51:36 -05:00
Andrew Bartlett
6e17864c5d r12874: Try to give the startup a few more seconds, so that hosts with
gnutls-devel installed do not miss the first test.

Andrew Bartlett
2007-10-10 13:50:57 -05:00
Stefan Metzmacher
beea805a61 r12778: export TEST_DATA_PREFIX in make test
metze
2007-10-10 13:49:54 -05:00
Stefan Metzmacher
baa4a7a9d4 r12304: split out the wins partner configuration into a seperate ldb.
now $privatedir/wins_config.ldb contains the wins partners
and $lockdir/wins.ldb contains the name records

metze
2007-10-10 13:47:28 -05:00
Stefan Metzmacher
bcf04a49e3 r12287: move the wins.ldb into lockdir
metze
2007-10-10 13:47:27 -05:00
Andrew Tridgell
c8185fe414 r11659: allow the max runtime for smbtorture and smbd to be controlled on a
per-host basis in the build farm
2007-10-10 13:46:08 -05:00
Stefan Metzmacher
dbd01110d1 r11555: - change socket_wrapper to support multiple IP's
- SOCKET_WRAPPER_DEFAULT_IFACE=X specifies the default interface
  for 127.0.0.X
- we now use multiple interfaces for smbtorture in make test
  127.0.0.26-127.0.0.31
- and 127.0.0.1 only for smbd

the are more work needed for better support for broacast messages...
but this is enough for the winsrepl tests

metze
2007-10-10 13:45:53 -05:00
Stefan Metzmacher
e992119bf3 r11503: be quite...
metze
2007-10-10 13:45:46 -05:00
Stefan Metzmacher
fc53eab2f1 r11489: add the one replication cycle test to NBT-WINSREPLICATION-QUICK
metze
2007-10-10 13:45:44 -05:00
Jelmer Vernooij
6a8291c80e r11099: Replace unistr with [string] equivalent 2007-10-10 13:44:49 -05:00
Andrew Bartlett
23f834dd19 r10599: Use localhost again for now, until I trace where we are leaking name lookups.
Andrew Bartlett
2007-10-10 13:39:10 -05:00
Andrew Bartlett
a67b87cb6e r10595: Use a server name of 'localtest' not 'localhost', so we can move to
testing kerberos.

Andrew Bartlett
2007-10-10 13:39:09 -05:00
Andrew Bartlett
b9e9cca14e r10387: By exporting KRB5_CONFIG pointing at a file of our choosing, we can
avoid DNS delays in our testsuite.  The next step will be to use
kerberos in the tests (awaits application of socketwrapper or hooks
into our socket layer).

Andrew Bartlett
2007-10-10 13:38:38 -05:00
Andrew Bartlett
31e755c2ce r10314: Apply the controvertial 'server role =' patch after discussion on the list:
This patch removes the 'domain logon' and 'domain master' controls from
Samba4, in favour of a 'server role =' that users can actually
understand.

We can expand the list of roles as needed, and nobody has to figure out
what a 'domain master' actually means.

Andrew Bartlett
2007-10-10 13:38:16 -05:00
Jelmer Vernooij
77f24ed131 r9813: Conver testsuite for samba3sam module to EJS 2007-10-10 13:35:04 -05:00