1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-26 23:33:15 +03:00
Commit Graph

34 Commits

Author SHA1 Message Date
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
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
Stefan Metzmacher
15d24f355a r19443: reset trap when we have removed the test specifc files already
metze
2007-10-10 14:21:33 -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
Stefan Metzmacher
5095783cdf r19098: with
export MAKE_TEST_ENABLE_PCAP=yes

make test will use SOCKET_WRAPPER_PCAP_FILE support
and will run each test with a different file

the capture will be removed unless the test fails.

the TEST PCAP: line will show the location of the file

metze
2007-10-10 14:20:35 -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
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 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
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 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
Jelmer Vernooij
f6e587e706 r16039: Add missing #!, don't rely on bash 2007-10-10 14:08:52 -05:00
Andrew Tridgell
16c67e135a r15832: put a talloc leak report in the log file at the end of each test run 2007-10-10 14:08:30 -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
Andrew Tridgell
c394a4a602 r10643: increase smbd max runtime when using valgrind 2007-10-10 13:39:14 -05:00
Andrew Tridgell
f8a17063a2 r9776: r11609@blu: tridge | 2005-08-30 12:20:11 +1000
make the selftest script a bit less existential
2007-10-10 13:35:00 -05:00
Andrew Tridgell
4fd4362609 r9379: the valgrind test box is now just going past the max 30 minute smbd
runtime for testing. Increased to 45 minutes.
2007-10-10 13:33:30 -05:00
Jelmer Vernooij
bd706d4964 r8559: Couple of (D)COM updates:
- Fixes annoying array-of-pointers bug in pidl.
 - No longer "inherit" alignment thru subcontexts
 - Use "Image Object" as example DCOM object, rather then the "My Computer" object, which is built-in and can't be accessed remotely as far as I can see
2007-10-10 13:29:38 -05:00
Andrew Tridgell
ff42315245 r8536: - use smbd pid file to kill at end of selftest
- remove use of 'jobs -p' as it is not portable
2007-10-10 13:29:36 -05:00
Andrew Tridgell
af36bc4011 r8525: added two more test targets:
- 'make quicktest' for running only quick tests. Finishes in 20
   seconds or so.

 - 'make valgrindtest' runs smbd under valgrind in a xterm window and
   runs the quick tests. Also disables tls as that slows down valgrind
   too much to be usable
2007-10-10 13:29:35 -05:00
Andrew Tridgell
694882ffa6 r7919: use more portable shell syntax for MALLOC_CHECK_ 2007-10-10 13:18:50 -05:00
Andrew Tridgell
56aff58e93 r7915: report the number of failed tests so far when running 'make test' interactively 2007-10-10 13:18:49 -05:00
Andrew Bartlett
544a38824e r7758: When not running on the build farm, print out the failed command line again.
Add NTLMv2 varients to the echo and session key tests.

Andrew Bartlett
2007-10-10 13:18:32 -05:00
Andrew Tridgell
f7e636d408 r7513: don't try to write to the smbd log file between tests. zeroing a file
while it is open for writing by another process causes the file to end
up with lots of nulls in it, which messes up the build farm output.
2007-10-10 13:18:02 -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
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
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
49e9cf0709 r7428: try to get some nicer output 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