summaryrefslogtreecommitdiff
path: root/source4/script/tests/selftest.sh
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r14740: Try loading shared libs from the bin/ directory (useful for running ↵Jelmer Vernooij1-0/+3
'make test' without developer mode) (This used to be commit 3aafd0902094b7d3ed3c4ebe2c9245e2a86d53ea)
2007-10-10r14738: do some different lookupsStefan Metzmacher1-5/+5
metze (This used to be commit f61bd2e9a2b59a3e5c7eded6b4a7075d193c980a)
2007-10-10r14717: Don't provision the system as 'localhost', but instead list localhostAndrew Bartlett1-2/+7
as an alias. The netbios name is then 'localtest', which will resolve with netbios and work with krb5. Andrew Bartlett (This used to be commit cc7c84bfc947e28bae56815d8bde5d0565328e2b)
2007-10-10r13244: Allow control of the location of the Samba3-compatible winbindd pipeAndrew Bartlett1-0/+2
in Samba4. This allows us to start winbindd by default, including in 'make test'. This is via a new 'winbindd socket directory' parameter for utilities linked against loadparm, as well as a --with-winbindd-socket-dir option to configure (setting the default and the value for simple clients). I hope to add basic winbindd tests, to ensure continued correct operation, but at least now I don't have to manually change my 'server services' line. The other problem with the hard-coded /tmp/.winbind is that RedHat has moved this in Fedora (to /var/run I think). For this reason, this functionality should probably be ported to Samba3 as well. The default for Samba4 is PREFIX/var/run/winbind_pipe. I have also re-added the paranoia checks from Samba3 for correct permissions on the socket directory. Andrew Bartlett (This used to be commit 8866aa06ffc3896094c878e9c07b40c03826d9a7)
2007-10-10r13240: Make the test scripts use the new smb.conf location (in PREFIX/etc).Andrew Bartlett1-3/+4
Andrew Bartlett (This used to be commit ea0a53d6795488ed530c3436343587595221cb78)
2007-10-10r12874: Try to give the startup a few more seconds, so that hosts withAndrew Bartlett1-0/+3
gnutls-devel installed do not miss the first test. Andrew Bartlett (This used to be commit 6e17864c5d2ffc6b4e532e693426574fc57741bf)
2007-10-10r12778: export TEST_DATA_PREFIX in make testStefan Metzmacher1-0/+3
metze (This used to be commit beea805a61d15dbb38add0a9c333e01279f71ada)
2007-10-10r12304: split out the wins partner configuration into a seperate ldb.Stefan Metzmacher1-3/+2
now $privatedir/wins_config.ldb contains the wins partners and $lockdir/wins.ldb contains the name records metze (This used to be commit baa4a7a9d4f16adf476846850a63dfbfd51b10b3)
2007-10-10r12287: move the wins.ldb into lockdirStefan Metzmacher1-2/+2
metze (This used to be commit bcf04a49e329af6c2a72c0a9cf037cc4efeeb26f)
2007-10-10r11659: allow the max runtime for smbtorture and smbd to be controlled on aAndrew Tridgell1-1/+5
per-host basis in the build farm (This used to be commit c8185fe414ef686a52327f420ee81ce09b983c3c)
2007-10-10r11555: - change socket_wrapper to support multiple IP'sStefan Metzmacher1-12/+13
- 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 (This used to be commit dbd01110d1a3e0f5914ae8d156723d6d6edf160c)
2007-10-10r11503: be quite...Stefan Metzmacher1-1/+1
metze (This used to be commit e992119bf3a7004c095214b3279c78e59f2c5e2b)
2007-10-10r11489: add the one replication cycle test to NBT-WINSREPLICATION-QUICKStefan Metzmacher1-0/+16
metze (This used to be commit fc53eab2f1bdae471ee68c4b67f57b1eb0821f61)
2007-10-10r11099: Replace unistr with [string] equivalentJelmer Vernooij1-0/+4
(This used to be commit 6a8291c80ee814a6bdc092b3ef53f450f30b44a0)
2007-10-10r10599: Use localhost again for now, until I trace where we are leaking name ↵Andrew Bartlett1-1/+1
lookups. Andrew Bartlett (This used to be commit 23f834dd191c82b632333265a59b5e6d18d5426b)
2007-10-10r10595: Use a server name of 'localtest' not 'localhost', so we can move toAndrew Bartlett1-4/+6
testing kerberos. Andrew Bartlett (This used to be commit a67b87cb6eba6548c4a74d7b46dd31d109fc538b)
2007-10-10r10387: By exporting KRB5_CONFIG pointing at a file of our choosing, we canAndrew Bartlett1-1/+22
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 (This used to be commit b9e9cca14e345a338fd7ffe06f6862bb3cb74e78)
2007-10-10r10314: Apply the controvertial 'server role =' patch after discussion on ↵Andrew Bartlett1-3/+2
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 (This used to be commit 31e755c2ced64dbd2681d5f6ef021a87dbeda689)
2007-10-10r9813: Conver testsuite for samba3sam module to EJSJelmer Vernooij1-5/+5
(This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc)
2007-10-10r8885: fixed shell syntaxAndrew Tridgell1-2/+2
(This used to be commit 00ea1f38a36a0e45219a941a38875787bf526661)
2007-10-10r8884: valgrind error logs only matter if non-zero in sizeAndrew Tridgell1-3/+5
(This used to be commit baaad4f4a4c84fb0261ab59d31a680f33b1beb47)
2007-10-10r8882: - enable the domain masterAndrew Tridgell1-0/+12
- start adding support for showing valgrind results in build farm tests (This used to be commit b1d0e9fa4e750564bcb80e7b8db9155aea6fac62)
2007-10-10r8735: added NBT and WINS testing to 'make test' so we will know if it ↵Andrew Tridgell1-0/+1
breaks again (This used to be commit 519812a9e8da777e4dff1dec22bd8a96c05c50c9)
2007-10-10r8678: setup for gdb backtrace in 'make test'Andrew Tridgell1-0/+1
(This used to be commit acf8c8fd4995acef47390df5a7d4e611c597367d)
2007-10-10r8671: use much shorter names for the selftest directory and socket wrapperAndrew Tridgell1-1/+1
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 :-( (This used to be commit f9693e313da67e1347a607db5d3ebbf36e02a77a)
2007-10-10r8559: Couple of (D)COM updates:Jelmer Vernooij1-0/+2
- 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 bd706d496405d274b68c1ee560211837a8e63009)
2007-10-10r8539: $LOGNAME is a common varient of $USER on some systemsAndrew Tridgell1-0/+3
(This used to be commit e571d6a36bdf61aaab383e05c857347838de4c1d)
2007-10-10r8536: - use smbd pid file to kill at end of selftestAndrew Tridgell1-0/+2
- remove use of 'jobs -p' as it is not portable (This used to be commit ff42315245750a37759ef84548582da5cf5e4716)
2007-10-10r8525: added two more test targets:Andrew Tridgell1-10/+14
- '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 af36bc401154d278dbe272628110634f62fdba25)
2007-10-10r8446: if provisioning fails then don't try to run the test suite!Andrew Tridgell1-1/+1
(This used to be commit 7c1bc27254ea58b63c66ce1dbc9f7630c0bedbad)
2007-10-10r8365: fixed a problem on netbsdAndrew Tridgell1-0/+3
(This used to be commit d5d0769da93219dbd582139482d34b744b359b99)
2007-10-10r8352: we need to override "setup directory" for the build farm hostsAndrew Tridgell1-0/+1
(This used to be commit 1a80850d579504c9b236e591630173f0f316a876)
2007-10-10r8349: as we don't use standard dirs, we need to create smb.conf before we ↵Andrew Tridgell1-2/+3
run provision (This used to be commit c64a68cd40d644c273528d0433bdf554c11bcf00)
2007-10-10r8348: switch selftest to use the new provision scriptAndrew Tridgell1-1/+4
(This used to be commit 52517e48ea4e5debdc5e6f4a934ce74833300e5f)
2007-10-10r8300: get the js include path right in selftestAndrew Tridgell1-1/+1
(This used to be commit 0e9e541e1e737f35200d64b31ddb4d468ff19518)
2007-10-10r8298: - started building a library of js routines in scripting/libjs/Andrew Tridgell1-0/+1
- switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)
2007-10-10r8269: added automatic testing of rpc calls from ejs in 'make test'Andrew Tridgell1-0/+1
(This used to be commit c760180119b4ac9307783bc50892a3dc57b2465e)
2007-10-10r8020: - add --with-selftest-prefix option that specify the prefix used in ↵Stefan Metzmacher1-6/+13
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 (This used to be commit d04057b932266325b1267597b2bc202db392a88a)
2007-10-10r7930: - added testing of the cifs passthru backendAndrew Tridgell1-8/+18
- removed redundent $ADDARG code in selftest (This used to be commit e431d0e9525c633c663ca48baea321369e39b226)
2007-10-10r7914: - we don't need to override the database locations in selftest any moreAndrew Tridgell1-5/+6
- make sure we create the tls directory (This used to be commit 0b1323f086acff331be20ee341966113a288393e)
2007-10-10r7871: setup spoolss, wins and hklm dbs correctly in selftestAndrew Tridgell1-0/+3
(This used to be commit 59a0fe2c0451d1aa947fd74a5fe8c631dc951bf6)
2007-10-10r7775: solaris uses 'lo0' for loopback network, so by using lo* we should ↵Andrew Tridgell1-1/+1
cover both (This used to be commit 1a80ac6aa84ea547a64557f879a47556f477432d)
2007-10-10r7771: - added ldaps and NTLMSSP testing to ldap testsAndrew Tridgell1-1/+1
- added testing of extended search operations (This used to be commit 2dc511b09cf1c912de140c07db64c9b151c3d23f)
2007-10-10r7760: make client tools get the right config file in 'make test'Andrew Tridgell1-1/+3
(This used to be commit 13fc167211272f5dba3540202f5842573178b740)
2007-10-10r7684: Add a test aimed at checking we have agreement between client andAndrew Bartlett1-0/+1
server as to the CIFS session key. JRA had pain with this being wrong against NT4 (without spnego), hence this specific test. Andrew Bartlett (This used to be commit 47f433708ba38db9bf569567cc048e65f2786ebe)
2007-10-10r7671: added ldap testing to the set of standard testsAndrew Tridgell1-0/+1
(This used to be commit dcdf44024aa93e7eca54247d9058904c6950fae7)
2007-10-10r7506: handle the case where cron does not setup $USERAndrew Tridgell1-1/+4
(This used to be commit d4c1a1be0acbb11df4cfef5e454787b3f86f4181)
2007-10-10r7499: ensure that the account we run tests as ("Administrator") maps to theAndrew Tridgell1-1/+3
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. (This used to be commit 30445483e4facb0a1d8a5979a2eac6c166193c09)
2007-10-10r7495: used --maximum-runtime=300 for each smbtorture call, to prevent itAndrew Tridgell1-0/+5
running too long (This used to be commit 3d70755abfb7764379d648e9bc1697ae9289d02b)
2007-10-10r7485: - allow test_xxx.sh to run outside of 'make test' by ensuring $PREFIX ↵Andrew Tridgell1-0/+7
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 9ce2b9a79ba34705bcd8c32db1e084763702faec)