1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

34 Commits

Author SHA1 Message Date
Andrew Bartlett
ac43520c5a r19590: Make it less noisy to run the session_key test outside 'make test',
for example against a remote host.

Andrew Bartlett
(This used to be commit 1c7cb1314b)
2007-10-10 14:24:58 -05:00
Andrew Bartlett
f3405430db r19567: Make it easier to control the debug level in the test scripts, by not
specifying it on the smbd command line.

Andrew Bartlett
(This used to be commit 8b71f4b31f)
2007-10-10 14:24:53 -05:00
Stefan Metzmacher
7653fa22d9 r19443: reset trap when we have removed the test specifc files already
metze
(This used to be commit 15d24f355a)
2007-10-10 14:21:33 -05:00
Stefan Metzmacher
4c1d2f1011 r19180: with "export MAKE_TEST_KEEP_PCAP=yes" make test
doesn't delete the generated pcap files

metze
(This used to be commit e89ae157e8)
2007-10-10 14:20:50 -05:00
Stefan Metzmacher
4b35dc53fe 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
(This used to be commit 5095783cdf)
2007-10-10 14:20:35 -05:00
Andrew Tridgell
ba4115ece7 r18575: - use the right variable to teststatus
- don't display the "(NN tests failed so far)" message unless a test
  has failed
(This used to be commit da37e963ce)
2007-10-10 14:18:49 -05:00
Andrew Tridgell
d6c128fb4c 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.
(This used to be commit a57decb96a)
2007-10-10 14:18:48 -05:00
Andrew Tridgell
c7723f6eaf r18540: show the additional smbd output from each test, rather than only
showing on test failure and showing all the smbd output each time.
(This used to be commit 1dfac46664)
2007-10-10 14:18:43 -05:00
Andrew Bartlett
f425072ed9 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
(This used to be commit 1daf4e7bd4)
2007-10-10 14:18:33 -05:00
Andrew Tridgell
bcd1d154f3 r18277: on some of our slower hosts we need more than 2700 seconds for smbd to
complete all tests
(This used to be commit c44b17ad66)
2007-10-10 14:18:00 -05:00
Andrew Bartlett
36ca11b00a 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
(This used to be commit 999d989131)
2007-10-10 14:17:04 -05:00
Jelmer Vernooij
5ca6189505 r16039: Add missing #!, don't rely on bash
(This used to be commit f6e587e706)
2007-10-10 14:08:52 -05:00
Andrew Tridgell
0f881ff069 r15832: put a talloc leak report in the log file at the end of each test run
(This used to be commit 16c67e135a)
2007-10-10 14:08:30 -05:00
Andrew Tridgell
5358763b41 r11659: allow the max runtime for smbtorture and smbd to be controlled on a
per-host basis in the build farm
(This used to be commit c8185fe414)
2007-10-10 13:46:08 -05:00
Andrew Tridgell
6566c9dffe r10643: increase smbd max runtime when using valgrind
(This used to be commit c394a4a602)
2007-10-10 13:39:14 -05:00
Andrew Tridgell
0a5126fd16 r9776: r11609@blu: tridge | 2005-08-30 12:20:11 +1000
make the selftest script a bit less existential
(This used to be commit f8a17063a2)
2007-10-10 13:35:00 -05:00
Andrew Tridgell
9465b8de07 r9379: the valgrind test box is now just going past the max 30 minute smbd
runtime for testing. Increased to 45 minutes.
(This used to be commit 4fd4362609)
2007-10-10 13:33:30 -05:00
Jelmer Vernooij
762a6a14e8 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
(This used to be commit bd706d4964)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
a6c9065457 r8536: - use smbd pid file to kill at end of selftest
- remove use of 'jobs -p' as it is not portable
(This used to be commit ff42315245)
2007-10-10 13:29:36 -05:00
Andrew Tridgell
1735037d5f 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
(This used to be commit af36bc4011)
2007-10-10 13:29:35 -05:00
Andrew Tridgell
de85d70a4a r7919: use more portable shell syntax for MALLOC_CHECK_
(This used to be commit 694882ffa6)
2007-10-10 13:18:50 -05:00
Andrew Tridgell
244882311b r7915: report the number of failed tests so far when running 'make test' interactively
(This used to be commit 56aff58e93)
2007-10-10 13:18:49 -05:00
Andrew Bartlett
616fbc543c 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
(This used to be commit 544a38824e)
2007-10-10 13:18:32 -05:00
Andrew Tridgell
2be36bb85d 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.
(This used to be commit f7e636d408)
2007-10-10 13:18:02 -05:00
Andrew Tridgell
3a3947cd86 r7495: used --maximum-runtime=300 for each smbtorture call, to prevent it
running too long
(This used to be commit 3d70755abf)
2007-10-10 13:18:00 -05:00
Stefan Metzmacher
39172de4dc r7492: give better output
metze
(This used to be commit 134f5defa0)
2007-10-10 13:17:59 -05:00
Stefan Metzmacher
a4b58b091b r7489: just a cosmetic change
metze
(This used to be commit 2dcbf07d0c)
2007-10-10 13:17:59 -05:00
Andrew Tridgell
612babc4af 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
(This used to be commit 9ce2b9a79b)
2007-10-10 13:17:58 -05:00
Stefan Metzmacher
13dcf319dc r7468: create better output
metze
(This used to be commit 99152ce6f0)
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
714a089552 r7467: a little fix for the build-farm
metze
(This used to be commit 6e8c8f0f87)
2007-10-10 13:17:56 -05:00
Stefan Metzmacher
67c606b863 r7463: - move some more stuff into functions
- try to kill all jobs return by jobs -p

metze
(This used to be commit e4f5e52a84)
2007-10-10 13:17:55 -05:00
Stefan Metzmacher
4140ccd0dd r7442: skip tests that require smbd, but smbd is down
metze
(This used to be commit dad7915562)
2007-10-10 13:17:54 -05:00
Stefan Metzmacher
bc2a1f87d6 r7428: try to get some nicer output from the build farm
metze
(This used to be commit 49e9cf0709)
2007-10-10 13:17:52 -05:00
Stefan Metzmacher
7931aed30d r7421: - move test* functions to a seperate file
- print build farm style output when RUN_FROM_BUILD_FARM=yes

metze
(This used to be commit 7e567a6b69)
2007-10-10 13:17:51 -05:00