summaryrefslogtreecommitdiff
path: root/source4/script/tests/selftest.sh
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21649: Update self test scripts to start Fedora DS. This requires currentAndrew Bartlett1-1/+1
Fedora DS CVS, plus changes to split up 00core.ldif. Now we 'just' need to work to make the tests pass... Andrew Bartlett (This used to be commit d214cb1ccf1b30cd5cb81f98382626c609b23fa3)
2007-10-10r21554: Use a snippet from tridge's junkcode to cause us to wait for smbd toAndrew Bartlett1-1/+5
exit. If we kill smbd right away, we can interrupt the gcov data file writeout. Instead, we now wait up to 20 seconds for the process to exit, before sending it a kill -9. Andrew Bartlett (This used to be commit c547bce3d305f64d65961051e6462b8c83871f38)
2007-10-10r21068: Code to configure, start and stop Fedora DS.Andrew Bartlett1-4/+12
We can't actually use it, as we are stuck inside our socket_wrapper network, and can't talk to it. Andrew Bartlett (This used to be commit bd564da6b9b45c438ef81b42dc156116ed81cbe7)
2007-10-10r20822: Fix total failure counting.Jelmer Vernooij1-9/+7
(This used to be commit e4691447c47d6e8c938fee934e7a9aba2f418858)
2007-10-10r20755: Add progress indicator to test runnerJelmer Vernooij1-3/+7
(This used to be commit bbe00636a931d92fc0c2eb05d769376451fb21a7)
2007-10-10r20754: Simplify code for calculating total number of failed tests.Jelmer Vernooij1-1/+1
(This used to be commit f288ca5f6805d04a2da60a26006ca293d9fa7cc0)
2007-10-10r20750: Use files in script/tests to build a recipe rather than running the ↵Jelmer Vernooij1-1/+114
tests immediately. (This used to be commit d31d16e4ebe3957f332e9013f898738c8f3090d9)
2007-10-10r20696: Print mktestsetup errors to stderr rather than to either stderr or ↵Jelmer Vernooij1-1/+1
stdout. Instead, print variables for the setup created to mktestsetup's stdout. (This used to be commit b7fd9645f5f2e1e5a00fbb94f772487c78136ee6)
2007-10-10r19863: Create -uninstalled.pc files. This should reenable compilation and ↵Jelmer Vernooij1-0/+3
running of the pidl testsuite as part of the testsuite. (This used to be commit db237ad52f3a42c7b35753df99549ed6d540cec2)
2007-10-10r19671: Fix remaining unresolved symbols in shared library build.Jelmer Vernooij1-1/+1
Fix starting tests in shared library build. (This used to be commit 3b65a0d6e491a57ed216dc0cd9c31d46e0cb6a35)
2007-10-10r19507: Merge my DSO fixes branch. Building Samba's libraries as shared ↵Jelmer Vernooij1-0/+6
libraries works again now, by specifying --enable-dso to configure. (This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10r18979: With these extra indexes (also added for the normal case) and aAndrew Bartlett1-0/+2
DB_CONFIG file, we now get reasonable enought performance to pass 'make test' against OpenLDAP. We do have to double the maximum runtime for the torture client however. Andrew Bartlett (This used to be commit 5b3c8cc036c1180c9e96d9aaacd3f2e0a83460e5)
2007-10-10r18917: having 255 virtual interfaces available in socket wrapper means weAndrew Tridgell1-2/+2
stat() 240 files that don't exist on every broadcast. That's a bit excessive! reduce max virtual interfaces to 16 (This used to be commit 3c4100027c7d3806a2021cb4d70ec6adf9dd2dc6)
2007-10-10r18588: save one more character in the socket wrapper path - seems it stillAndrew Tridgell1-1/+1
was occasionally too long for IRIX 6.4 (This used to be commit f6b65fd631ede9b53c3a8c7a300b3b6bad9f6c52)
2007-10-10r18576: unfortunately our current build farm results are a bit too good!Andrew Tridgell1-1/+1
when I changed the test output to be easier to read, I also broke it so that it always gives a zero exit status. Fix now, and unfortunately I expect to see some more red in the farm as a result :( (This used to be commit c2fc3471023b613571089cb018638a40091d08ab)
2007-10-10r18575: - use the right variable to teststatusAndrew Tridgell1-1/+1
- don't display the "(NN tests failed so far)" message unless a test has failed (This used to be commit da37e963cef065bb1c50543596e352c78e712ddc)
2007-10-10r18571: try to make it a lot more obvious when 'make test' or 'make quicktest'Andrew Tridgell1-3/+5
has failed. The output was too subtle for people who aren't used to it. (This used to be commit a57decb96aee05d3238b64d50a136c8b8001f811)
2007-10-10r18494: don't count 'DWARF2 CFI reader' messages as valgrind failuresAndrew Tridgell1-1/+1
(This used to be commit f7eaa03d6f6f28408d8e6a7e33c540e50cbed3a1)
2007-10-10r18459: Set access to test LDAP server as system to anonymous, but also noteAndrew Bartlett1-1/+1
the correct authz-regexp for future use. Fail to test if slapd fails and TEST_LDAP=yes (This used to be commit 1daf4e7bd47df4f127447ab9b5d583bbe7b2a10a)
2007-10-10r18349: don't do validation when using valgrind. It's way too slow (can beAndrew Tridgell1-0/+7
hours for a single test) (This used to be commit febaf6af4cafed7bc57276186a35099959b2ce62)
2007-10-10r18247: more shell portability fixesAndrew Tridgell1-2/+2
(This used to be commit d9ddfdf9e86295224dd42c0ab1aa954111ede588)
2007-10-10r18023: Add support infrusructure for testing against an OpenLDAP server.Andrew Bartlett1-1/+15
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 999d989131f41d0218ec05595c9761aff5bbf5fa)
2007-10-10r17675: increase max torture test runtime - we have some v slow hosts in theAndrew Tridgell1-1/+1
farm! (This used to be commit 6a7800064fe456b47ea6d8b781a3e7fe7f8353ad)
2007-10-10r17540: store command line args of selftest.sh in local varsStefan Metzmacher1-8/+15
as $0,$1,$2,$3 may change in side the script or included scripts. This fixes the usage of SOCKET_WRAPPER on non linux systems (tested on IRIX 6.4) metze (This used to be commit ebfb719e3d048383c04e5d665b23d7fcb4e48fb4)
2007-10-10r17396: Bump the time up again. RPC-SAMR can slow, I probably need to breakAndrew Bartlett1-1/+1
it up again... Andrew Bartlett (This used to be commit 110de3a3a294063bd05db4570a8983ad7072ad09)
2007-10-10r17395: Add some more time to the default runtime. Now 7.5 mins.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 5cb916b57adaac7cb83cfde487aac5f901186e70)
2007-10-10r16527: Add target argument for smbtorture.Jelmer Vernooij1-1/+1
Remove duplicate unc path separator conversion. Add prefix for tempdirs. (This used to be commit 3763ed3092fa89558390a9721be8437a7c380790)
2007-10-10r16525: Move selftest-specific code back to selftest.Jelmer Vernooij1-2/+6
(This used to be commit e659d772480ef9acb58f899f25f09f917cece30f)
2007-10-10r16522: Move code to create the test data out of selftest.sh.Jelmer Vernooij1-140/+18
(This used to be commit 2c601df23f3390954bf77918e198b1d027e43b24)
2007-10-10r16469: do some smb2 testsStefan Metzmacher1-0/+1
metze (This used to be commit 1ca34c90902d71d95ea2310286a591af86804d51)
2007-10-10r15684: fix option passingStefan Metzmacher1-2/+2
metze (This used to be commit c567d92f5bae4459220a4411dc7ec8867ea1dafe)
2007-10-10r15622: pass 'target:samba4=yes' to samba4's smbtorture when running ↵Stefan Metzmacher1-0/+2
samba4's make test we can use this in samba4's smbtorture to disable tests sections which doesn't pass against samba4 metze (This used to be commit 430c7143c66846565e851a3243db0d81ec886d6e)
2007-10-10r15187: Introduce new param type P_BYTES. This lets config options which specifyJames Peach1-0/+1
byte counts be given in convenient units. (This used to be commit 1b8891a2f389c1016c3cfcbe635ed86d015554d8)
2007-10-10r14908: Fix LD_LIBRARY_PATHJelmer Vernooij1-1/+1
(This used to be commit c4668192f96b9b32af23a05f9f97dc87fdc41089)
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)