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

443 Commits

Author SHA1 Message Date
Andrew Tridgell
d4c1a1be0a r7506: handle the case where cron does not setup $USER 2007-10-10 13:18:01 -05:00
Andrew Tridgell
93eb9afb4d r7504: missed one 2007-10-10 13:18:01 -05:00
Andrew Tridgell
3b9f4b61ad r7503: turn off the sleep test here too 2007-10-10 13:18:01 -05:00
Andrew Tridgell
42754de142 r7502: the sleep test in echo is already run on the main rpc test, so no need to run it with every combination in
this test. It takes nearly all of the time.
2007-10-10 13:18:01 -05:00
Andrew Tridgell
30445483e4 r7499: ensure that the account we run tests as ("Administrator") maps to the
unixName that we are running as in the test suite. Otherwise files are
created as a user without any entry in the sam, so the ACL doesn't
allow that user read permission when it should. This should fix the
RAW-ACLS test in the build farm.
2007-10-10 13:18:00 -05:00
Andrew Tridgell
3d70755abf r7495: used --maximum-runtime=300 for each smbtorture call, to prevent it
running too long
2007-10-10 13:18:00 -05:00
Stefan Metzmacher
134f5defa0 r7492: give better output
metze
2007-10-10 13:17:59 -05:00
Stefan Metzmacher
2dcbf07d0c r7489: just a cosmetic change
metze
2007-10-10 13:17:59 -05:00
Andrew Tridgell
9ce2b9a79b r7485: - allow test_xxx.sh to run outside of 'make test' by ensuring $PREFIX is setup
- use loopback interface only, otherwise nbtd will answer with a real
  ip, which the socket wrapper code will fail to connect to

- enable eadb for posix testing

- sleeping to wait for smbd to start is pointless, as smbd won't start
  till its fifo is opened due to the fifo redirection on stdin

- sleep for a few seconds to allow for nbt server to register names after opening fifo

- use bcast name resolution, so we don't rely on /etc/hosts being right
2007-10-10 13:17:58 -05:00
Andrew Tridgell
71bf781227 r7475: removed RPC-SAMLOGON test until we get a lighter version of it. It is
chewing far too much cpu, which is unfair on our volunteer systems

andrew, sorry about this, I think we need RPC-SAMLOGON-FULL, and make
RPC-SAMLOGON only do a basic test
2007-10-10 13:17:57 -05:00
Stefan Metzmacher
98acab72c9 r7469: fix typo
metze
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
99152ce6f0 r7468: create better output
metze
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
6e8c8f0f87 r7467: a little fix for the build-farm
metze
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
3c1d236445 r7466: add RPC-SPOOLSS to the supported tests
metze
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
e4f5e52a84 r7463: - move some more stuff into functions
- try to kill all jobs return by jobs -p

metze
2007-10-10 13:17:55 -05:00
Stefan Metzmacher
dad7915562 r7442: skip tests that require smbd, but smbd is down
metze
2007-10-10 13:17:54 -05:00
Stefan Metzmacher
38e5198b11 r7434: - do local tests step by step for better build-farm output
- fix typo ADDARGS -> ADDARG

metze
2007-10-10 13:17:53 -05:00
Stefan Metzmacher
e0b17129f8 r7432: export SMBD_TEST_FIFO
we can later check if this file exists, in the testit function,
and only run the tests if smbd is still up

metze
2007-10-10 13:17:52 -05:00
Stefan Metzmacher
4ff50d12ae r7429: make the shell happy and don't use [bla]
metze
2007-10-10 13:17:52 -05:00
Stefan Metzmacher
49e9cf0709 r7428: try to get some nicer output from the build farm
metze
2007-10-10 13:17:52 -05:00
Stefan Metzmacher
288fcf18fe r7427: disable torture progress outout from the build farm
metze
2007-10-10 13:17:52 -05:00
Stefan Metzmacher
7e567a6b69 r7421: - move test* functions to a seperate file
- print build farm style output when RUN_FROM_BUILD_FARM=yes

metze
2007-10-10 13:17:51 -05:00
Stefan Metzmacher
a7f7ec6cfe r7403: minimize the sharedelay
tridge: is that a good value?

metze
2007-10-10 13:17:50 -05:00
Stefan Metzmacher
e90b83d038 r7402: - don't stop after a failed test
- some more fixes

metze
2007-10-10 13:17:50 -05:00
Stefan Metzmacher
d8490399d9 r7397: - don't exit when one test fails
- some other cleanups

metze
2007-10-10 13:17:50 -05:00
Stefan Metzmacher
1f0168e180 r7388: - fix calling of test_posix.sh
- move smbd_fifo into the prefix dir

metze
2007-10-10 13:17:49 -05:00
Stefan Metzmacher
ee8407c916 r7387: enable extra smbtorture args to test_posix.sh
metze
2007-10-10 13:17:49 -05:00
Stefan Metzmacher
5531eb852c r7112: add RPC-SPOOLSS test to the w2k3 tests, only with ncacn_np for now
(I also noticed that RPC-SAMR and some other tests are faling against my w2k3 box...)

metze
2007-10-10 13:17:18 -05:00
Jelmer Vernooij
2b08c4b92b r7059: Use namespaces for pidl and the build system, so we can later on
call out to the build system to compile the various pidl tests
(without having to rely on shared library support).

Initial work on an ndr_array test.
2007-10-10 13:17:10 -05:00
Jelmer Vernooij
7b6b8d6b34 r6961: Add RPC-WINREG to list of win2k3 tests
Fix bug in test for QueryMultipleValues
Ignore errors from CreateKey() and GetKeySecurity() for now
2007-10-10 13:17:00 -05:00
Andrew Tridgell
b64936b9a9 r6877: added CLDAP testing to test_ldap.sh 2007-10-10 13:16:53 -05:00
Jelmer Vernooij
7004f9515b r6862: Add some more tests
Accept new command-line options --keep, --outputdir and --idl-compiler.

We're currently at 34 IDL tests (...and counting)
2007-10-10 13:16:52 -05:00
Jelmer Vernooij
7d36e27e22 r6860: Add some allocation and alignment tests, remove uint64 from list of scalars
(it doesn't have any push/pull functions anymore either)
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
077f4105ac r6859: Add ndr_align tests, use environment variables ($CC, $CFLAGS, $LDFLAGS)
where possible.
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
187802f580 r6857: - Support [public] on functions
- Add some more pidl tests based on ref_notes.txt

We currently fail some tests because we don't default to "ref"
for top-level pointers at the moment. We also fail some of the multi-level
tests.
2007-10-10 13:16:51 -05:00
Jelmer Vernooij
a5aa61f54e r6854: Add --quiet option to pidl
Some work on a testsuite for pidl, including one simple test.
2007-10-10 13:16:51 -05:00
Andrew Tridgell
a33a424d5b r6852: implement an idea from kinkie to make the 'make test' target automatically kill smbd
when finished, using a fifo

this makes 'make test' much safer for build farm usage
2007-10-10 13:16:51 -05:00
Andrew Bartlett
db0aa1c4b7 r6598: Make it easy to point the test_echo.sh at remote servers, without
trying to find it on ncaclrpc at well.

Andrew Bartlett
2007-10-10 13:16:29 -05:00
Jelmer Vernooij
6d93fcc407 r6577: Make test works without installation now.
Running as a non-root user using socket_wrapper is possible by simple
export SOCKET_WRAPPER_DIR before running 'make test'
2007-10-10 13:16:27 -05:00
Jelmer Vernooij
02160c991a r6568: Some more small 'make test' fixes 2007-10-10 13:16:26 -05:00
Jelmer Vernooij
195753b6af r6567: Use "real" prefix for 'make test' 2007-10-10 13:16:26 -05:00
Jelmer Vernooij
7d2d4a57e0 r6564: - Fix bug in socket_wrapper
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
2007-10-10 13:16:26 -05:00
Andrew Tridgell
e2f5d36e47 r6549: a simple ldap test script 2007-10-10 13:16:25 -05:00
Andrew Bartlett
b35b82d4f1 r6456: The RPC-SCHANNEL test is an important test that passes against Win2k3 (well, not SP1, but we are working on that detail).
Andrew Bartlett
2007-10-10 13:11:38 -05:00
Andrew Bartlett
5c3e4df804 r6010: Change the testing order, so we test all transports for each binding
option, rather than all binding options for each transport.

This means that we get to most of the tests earlier, with at least
some binding options.  (And allows us to have some confidence before
waiting for an RPC-SAMR test to finish with bigendian).

Andrew Bartlett
2007-10-10 13:11:14 -05:00
Andrew Bartlett
d585e1a759 r5901: Add another option to the test script - the realm, which must match
the real ream, not just the short domain name.

Andrew Bartlett
2007-10-10 13:11:07 -05:00
Andrew Tridgell
2b62840920 r5384: for RPC-NETLOGON to pass we need to set the realm as well as the domain to the target
realm.

A better fix would be to have a dcerpc_server_realm() helper
function. Andrew, maybe you could see how to extract that out of
gensec? Calling lp_realm() in our torture tests is the wrong approach
I think.
2007-10-10 13:09:49 -05:00
Andrew Tridgell
21e629e80e r4953: - enable easy valgrind use in all our test scripts
- when valgrind isn't set, then setup MALLOC_CHECK_ to abort on error
2007-10-10 13:09:09 -05:00
Andrew Tridgell
480a4e3d90 r4833: added LOCAL-SOCKET to the list of tests that are expected to pass 2007-10-10 13:08:59 -05:00
Andrew Bartlett
279e4de307 r4693: Add another test (RPC-MULTIBIND) that should always pass.
Andrew Bartlett
2007-10-10 13:08:44 -05:00