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

314 Commits

Author SHA1 Message Date
Andrew Bartlett
77f1c15d92 r18829: Print a nice welcome message when we enter the test environment.
Andrew Bartlett
2007-10-10 14:19:15 -05:00
Andrew Bartlett
5215b834bd r18828: Export some more useful environment varibles, particularly for use in
'make testenv'

Andrew Bartlett
2007-10-10 14:19:15 -05:00
Andrew Tridgell
13ca7297dd r18825: speed up the test_cifsdd.sh test by using a smaller file. It was
taking over half an hour on some systems
2007-10-10 14:19:14 -05:00
Andrew Bartlett
72858f8594 r18781: Move the usnCreated and usnChanged handling around again.
This moves these attributes from objectguid into an optional backend
(objectguid), used by ltdb.  For OpenLDAP, the entryUUID module
converts entryCSN into usnChanged.

This also changes the sequence number API, and uses 'time based'
sequence numbers, when an LDAP or similar backend is detected.

To assist this, we also store the last modified time in the TDB,
whenever we change a value.

Andrew Bartlett
2007-10-10 14:19:11 -05:00
Andrew Bartlett
1a48fa96bc r18774: This allows an automated way to setup the test environment in a shell,
with all the helpful env variables set.

TEST_LDAP=yes script/tests/selftest.sh st/ xterm SOCKET_WRAPPER

Andrew Bartlett
2007-10-10 14:19:10 -05:00
Jelmer Vernooij
d062e10166 r18721: Fix base and samba3sam EJS tests to work without installation. 2007-10-10 14:19:04 -05:00
Andrew Tridgell
7120fbffa5 r18595: try an experiment of adding a RPC test into the windows testing
framework

Brad, I know this is a bit hackish. We really need a "testit" like
function like in test_functions.sh
2007-10-10 14:18:54 -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
ce2baf7385 r18582: disable synchronous ldb in the build farm. Some hosts have very slow
filesystems and the tests are taking more than 1.5 hours. We will
still be testing the sync code paths, as the ldb tests still run
synchronous, but doing all of our other tests synchronously just costs
too much time.
2007-10-10 14:18:51 -05:00
Andrew Tridgell
fea75d2c97 r18578: steve, I think you may have forgotten to commit test_cifsposix.sh ? 2007-10-10 14:18:50 -05:00
Andrew Tridgell
3cee6a7863 r18577: reduce the number of tests run in 'make quicktest' again, so it
completes in a minute on my laptop (the benchmark I usually use).

Simo, I removed th ldb tests, as ldb is pretty well tested by lots of
the other tests, and its a pretty slow test. We could instead add a
"ldb-testquick.sh" which does only minimal testing. The full tests
will of course be run with 'make test' and in the build farm.
2007-10-10 14:18:50 -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
Steve French
64062d16a2 r18570: Fix up function names in cifs unix/posix extensions backend. Enable tiny quick test for torture for them 2007-10-10 14:18:48 -05:00
Andrew Tridgell
262bee07dc r18569: add really simple testing of the 'simple' ntvfs backend, so we know
when it breaks. It isn't much good as a template for developers to use
unless it works :-)
2007-10-10 14:18:48 -05:00
Steve French
57f5695717 r18564: update for cifs unix/posix extensions stub version to build and beginnings of smbtorture test for it 2007-10-10 14:18:47 -05:00
Andrew Tridgell
1dfac46664 r18540: show the additional smbd output from each test, rather than only
showing on test failure and showing all the smbd output each time.
2007-10-10 14:18:43 -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
Brad Henry
b2d3f8f7aa r18415: Make the samba-windows test scripts executable so they run a little easier in the build farm. 2007-10-10 14:18:25 -05:00
Brad Henry
849fe757bb r18414: This README file should help to explain what is needed to setup a Windows VM for testing using this framework.
Let me know if there's anything that looks strange or could use clarification.

vm_setup.tar.gz is currently located at the root of my SVN branch, svn://svnanon.samba.org/samba/branches/SOC/bnh.
2007-10-10 14:18:25 -05:00
Stefan Metzmacher
928beac95d r18389: test RPC-UNIXINFO in samba4
metze
2007-10-10 14:18:23 -05:00
Andrew Tridgell
d1ceb79d9d r18377: disable native iconv with valgrind 2007-10-10 14:18:21 -05:00
Andrew Tridgell
066e3b51b1 r18372: don't use the system inotify until in the build farm until we work out
how to work around a problem with it giving unpredictable orderings in
renames (sometimes target is first event, sometimes source)
2007-10-10 14:18:20 -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
3828c463ad r18302: fixed test_cifsdd.sh - the unnecessary sum operations were breaking on
solaris
2007-10-10 14:18:05 -05:00
Andrew Tridgell
9fb91702fd r18290: finally worked out why we were failing tests on solaris. It has
kerberos on port 750 in /etc/services! Work around this by using
127.0.0.1:88 in the krb5.conf
2007-10-10 14:18:02 -05:00
Andrew Tridgell
c44b17ad66 r18277: on some of our slower hosts we need more than 2700 seconds for smbd to
complete all tests
2007-10-10 14:18:00 -05:00
Andrew Tridgell
6c7dd852c0 r18251: skip pidl tests unless the platform has Test::More 2007-10-10 14:17:56 -05:00
Andrew Tridgell
d9ddfdf9e8 r18247: more shell portability fixes 2007-10-10 14:17:55 -05:00
Andrew Bartlett
73d87cce7c r18246: Let our openldap slapd.conf include the magic to have DIGEST-MD5 on
the server-side work.
2007-10-10 14:17:54 -05:00
Rafal Szczesniak
8657bd437a r18190: Add more NET tests to be run on the build farm.
rafal
2007-10-10 14:17:48 -05:00
Rafal Szczesniak
2185e97889 r18050: Run more NET tests on the build farm.
rafal
2007-10-10 14:17:08 -05:00
Andrew Tridgell
a85646cba5 r18026: patch from Brad allowing the windows testing to be configured
externally in the build farm
2007-10-10 14:17:04 -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
Rafal Szczesniak
a6c9a01e89 r18017: Separate NET tests out of RPC. This way it's easier to run libnet
tests only for quick checking.

rafal
2007-10-10 14:17:03 -05:00
Andrew Bartlett
c271c488a5 r17989: Add RPC-NETLOGON as a test we now run against Samba4.
Andrew Bartlett
2007-10-10 14:17:02 -05:00
Andrew Tridgell
7232da0436 r17768: This merges in the current version of Brad Henry's windows testing
framework patch. There are some issues with the patch that I will
discuss in a separate email to the list, but given the low (zero?)
impact of the patch as it is, I think its better to integrate it now,
then let Brad send some minor update patches later
2007-10-10 14:16:38 -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
Andrew Bartlett
c2c72565e4 r17547: Add test by mkhl for some of our variable substituion behaviour.
Andrew Bartlett
2007-10-10 14:15:36 -05:00
Andrew Bartlett
f69a842314 r17543: Patch from Martin Kühl <martin.kuehl@gmail.com> to extend the
samba3sam test cases for ldb_map, and to include this into our default
'make test'.
2007-10-10 14:15:36 -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
Stefan Metzmacher
200b1a5c81 r17539: add HMAC-MD5 test code based on the example values from rfc 2104, 2202
metze
2007-10-10 14:15:35 -05:00
Andrew Bartlett
59f86d8084 r17527: Don't duplicate the entire test setup just to allow testing of the new
ldb-backed shares configuration.

Andrew Bartlett
2007-10-10 14:15:33 -05:00
Stefan Metzmacher
0b552dadaa r17495: run LOCAL-CRYPTO-MD4 and LOCAL-CRYPTO-MD5 with make test
metze
2007-10-10 14:15:29 -05:00
Stefan Metzmacher
b9920f8ac5 r17489: run the crypto tests with test
metze
2007-10-10 14:15:28 -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
Andrew Bartlett
c366c90662 r17394: Pregenerate all the files for TLS. Make the 'make test' startup *much* faster.
Andrew Bartlett
2007-10-10 14:15:21 -05:00