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

56 Commits

Author SHA1 Message Date
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
Andrew Tridgell
00ea1f38a3 r8885: fixed shell syntax 2007-10-10 13:30:15 -05:00
Andrew Tridgell
baaad4f4a4 r8884: valgrind error logs only matter if non-zero in size 2007-10-10 13:30:15 -05:00
Andrew Tridgell
b1d0e9fa4e r8882: - enable the domain master
- start adding support for showing valgrind results in build farm tests
2007-10-10 13:30:14 -05:00
Andrew Tridgell
519812a9e8 r8735: added NBT and WINS testing to 'make test' so we will know if it breaks again 2007-10-10 13:30:00 -05:00
Andrew Tridgell
acf8c8fd49 r8678: setup for gdb backtrace in 'make test' 2007-10-10 13:29:53 -05:00
Andrew Tridgell
f9693e313d r8671: use much shorter names for the selftest directory and socket wrapper
code. I'm afraid this is needed by irix 6.4 which silently truncates
names in unix domain sockets in recvfrom() to 16 chars. My apologies
for having to move to such short names :-(
2007-10-10 13:29:52 -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
e571d6a36b r8539: $LOGNAME is a common varient of $USER on some systems 2007-10-10 13:29:36 -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
7c1bc27254 r8446: if provisioning fails then don't try to run the test suite! 2007-10-10 13:23:04 -05:00
Andrew Tridgell
d5d0769da9 r8365: fixed a problem on netbsd 2007-10-10 13:20:12 -05:00
Andrew Tridgell
1a80850d57 r8352: we need to override "setup directory" for the build farm hosts 2007-10-10 13:20:10 -05:00
Andrew Tridgell
c64a68cd40 r8349: as we don't use standard dirs, we need to create smb.conf before we run provision 2007-10-10 13:20:09 -05:00
Andrew Tridgell
52517e48ea r8348: switch selftest to use the new provision script 2007-10-10 13:20:09 -05:00
Andrew Tridgell
0e9e541e1e r8300: get the js include path right in selftest 2007-10-10 13:19:33 -05:00
Andrew Tridgell
2a444dedbe r8298: - started building a library of js routines in scripting/libjs/
- switched the existing test programs over to using the library

- added install of js lib
2007-10-10 13:19:33 -05:00
Andrew Tridgell
c760180119 r8269: added automatic testing of rpc calls from ejs in 'make test' 2007-10-10 13:19:28 -05:00
Stefan Metzmacher
d04057b932 r8020: - add --with-selftest-prefix option that specify the prefix used in make test
- also we use ./prefix test as default and not `pwd`/prefix-test
  to workaround the path length limit for unix sockets
  ... char sun_path[108]; ...

metze
2007-10-10 13:18:59 -05:00
Andrew Tridgell
e431d0e952 r7930: - added testing of the cifs passthru backend
- removed redundent $ADDARG code in selftest
2007-10-10 13:18:51 -05:00
Andrew Tridgell
0b1323f086 r7914: - we don't need to override the database locations in selftest any more
- make sure we create the tls directory
2007-10-10 13:18:49 -05:00
Andrew Tridgell
59a0fe2c04 r7871: setup spoolss, wins and hklm dbs correctly in selftest 2007-10-10 13:18:45 -05:00
Andrew Tridgell
1a80ac6aa8 r7775: solaris uses 'lo0' for loopback network, so by using lo* we should cover both 2007-10-10 13:18:35 -05:00
Andrew Tridgell
2dc511b09c r7771: - added ldaps and NTLMSSP testing to ldap tests
- added testing of extended search operations
2007-10-10 13:18:34 -05:00
Andrew Tridgell
13fc167211 r7760: make client tools get the right config file in 'make test' 2007-10-10 13:18:32 -05:00
Andrew Bartlett
47f433708b r7684: Add a test aimed at checking we have agreement between client and
server as to the CIFS session key.

JRA had pain with this being wrong against NT4 (without spnego), hence
this specific test.

Andrew Bartlett
2007-10-10 13:18:22 -05:00
Andrew Tridgell
dcdf44024a r7671: added ldap testing to the set of standard tests 2007-10-10 13:18:20 -05:00
Andrew Tridgell
d4c1a1be0a r7506: handle the case where cron does not setup $USER 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
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
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
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
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