summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_functions.sh
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21910: Clean up some unused functions.Jelmer Vernooij1-37/+1
(This used to be commit 36cd3406db06e3101cfede2f3935879cb11eeb93)
2007-10-10r21909: Merge some of my recent improvements to the test infrastructure:Jelmer Vernooij1-101/+3
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones). - Move more Samba4-specific code out of the common code (This used to be commit dbe9de10287c902f4a5ea5d431dea4a79f9b170b)
2007-10-10r21649: Update self test scripts to start Fedora DS. This requires currentAndrew Bartlett1-0/+7
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-0/+16
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-10r21069: Try to split up the mktestsetup.sh script into parts to deal with eachAndrew Bartlett1-1/+1
LDAP implementation, and another to hold the key blobs. Also fix the OpenLDAP test. Andrew Bartlett (This used to be commit ec511c592bbb7df513fe6f62e06e1fa984431550)
2007-10-10r20750: Use files in script/tests to build a recipe rather than running the ↵Jelmer Vernooij1-95/+3
tests immediately. (This used to be commit d31d16e4ebe3957f332e9013f898738c8f3090d9)
2007-10-10r19590: Make it less noisy to run the session_key test outside 'make test',Andrew Bartlett1-1/+1
for example against a remote host. Andrew Bartlett (This used to be commit 1c7cb1314bb2309b9a3ee36e63401c894a60bfd1)
2007-10-10r19567: Make it easier to control the debug level in the test scripts, by notAndrew Bartlett1-1/+1
specifying it on the smbd command line. Andrew Bartlett (This used to be commit 8b71f4b31f0fcb054784117c33987719e3c9110c)
2007-10-10r19443: reset trap when we have removed the test specifc files alreadyStefan Metzmacher1-0/+2
metze (This used to be commit 15d24f355a32b9b028d3397911194fa681dd0a40)
2007-10-10r19180: with "export MAKE_TEST_KEEP_PCAP=yes" make testStefan Metzmacher1-1/+6
doesn't delete the generated pcap files metze (This used to be commit e89ae157e832483a44a1a744466c63edbcb2261d)
2007-10-10r19098: withStefan Metzmacher1-5/+20
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 5095783cdf01db9d28392ba0d88186c1a4df654b)
2007-10-10r18575: - use the right variable to teststatusAndrew Tridgell1-1/+6
- 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-6/+12
has failed. The output was too subtle for people who aren't used to it. (This used to be commit a57decb96aee05d3238b64d50a136c8b8001f811)
2007-10-10r18540: show the additional smbd output from each test, rather than onlyAndrew Tridgell1-2/+14
showing on test failure and showing all the smbd output each time. (This used to be commit 1dfac4666423d7e0565795e3eae72da7e25a5b54)
2007-10-10r18459: Set access to test LDAP server as system to anonymous, but also noteAndrew Bartlett1-2/+4
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-10r18277: on some of our slower hosts we need more than 2700 seconds for smbd toAndrew Tridgell1-1/+1
complete all tests (This used to be commit c44b17ad66281eb4611353fd79a410151d9ce531)
2007-10-10r18023: Add support infrusructure for testing against an OpenLDAP server.Andrew Bartlett1-0/+10
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-10r16039: Add missing #!, don't rely on bashJelmer Vernooij1-0/+1
(This used to be commit f6e587e7066dbafef437e5b3854a34916f72fcb1)
2007-10-10r15832: put a talloc leak report in the log file at the end of each test runAndrew Tridgell1-1/+1
(This used to be commit 16c67e135a35830aaa937c38fa2ed940decb5a17)
2007-10-10r11659: allow the max runtime for smbtorture and smbd to be controlled on aAndrew Tridgell1-4/+3
per-host basis in the build farm (This used to be commit c8185fe414ef686a52327f420ee81ce09b983c3c)
2007-10-10r10643: increase smbd max runtime when using valgrindAndrew Tridgell1-1/+5
(This used to be commit c394a4a602edba49f00252d0376050c0bdc2f6a8)
2007-10-10r9776: r11609@blu: tridge | 2005-08-30 12:20:11 +1000Andrew Tridgell1-4/+4
make the selftest script a bit less existential (This used to be commit f8a17063a26487ea22caf0a3651f0ecee5d506df)
2007-10-10r9379: the valgrind test box is now just going past the max 30 minute smbdAndrew Tridgell1-1/+1
runtime for testing. Increased to 45 minutes. (This used to be commit 4fd436260901785e808de23763a6e127bc742142)
2007-10-10r8559: Couple of (D)COM updates:Jelmer Vernooij1-0/+0
- 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-10r8536: - use smbd pid file to kill at end of selftestAndrew Tridgell1-18/+0
- 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-1/+1
- '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-10r7919: use more portable shell syntax for MALLOC_CHECK_Andrew Tridgell1-0/+6
(This used to be commit 694882ffa62ae88e43e78e8e496720575630e523)
2007-10-10r7915: report the number of failed tests so far when running 'make test' ↵Andrew Tridgell1-1/+1
interactively (This used to be commit 56aff58e93cdaa9b9bd90827de8f9ea9cefc6c12)
2007-10-10r7758: When not running on the build farm, print out the failed command line ↵Andrew Bartlett1-1/+1
again. Add NTLMv2 varients to the echo and session key tests. Andrew Bartlett (This used to be commit 544a38824e2b10c65e6f7ef0b373aa8575fa2cb1)
2007-10-10r7513: don't try to write to the smbd log file between tests. zeroing a fileAndrew Tridgell1-2/+0
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 f7e636d4086b83180e76902fee739972cd6a7b26)
2007-10-10r7495: used --maximum-runtime=300 for each smbtorture call, to prevent itAndrew Tridgell1-1/+1
running too long (This used to be commit 3d70755abfb7764379d648e9bc1697ae9289d02b)
2007-10-10r7492: give better outputStefan Metzmacher1-2/+10
metze (This used to be commit 134f5defa0f1eb240207f593866ab75f20943938)
2007-10-10r7489: just a cosmetic changeStefan Metzmacher1-1/+1
metze (This used to be commit 2dcbf07d0cc105a49c7b086f340c7ec9b5c97b6a)
2007-10-10r7485: - allow test_xxx.sh to run outside of 'make test' by ensuring $PREFIX ↵Andrew Tridgell1-2/+5
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)
2007-10-10r7468: create better outputStefan Metzmacher1-1/+1
metze (This used to be commit 99152ce6f084acb13dc38b407c569aca89b12ed5)
2007-10-10r7467: a little fix for the build-farmStefan Metzmacher1-0/+1
metze (This used to be commit 6e8c8f0f8730a755cfbef9d1900f348031ba9b7f)
2007-10-10r7463: - move some more stuff into functionsStefan Metzmacher1-12/+101
- try to kill all jobs return by jobs -p metze (This used to be commit e4f5e52a8454fc2e6d5536e2cc9eb918c6c0e174)
2007-10-10r7442: skip tests that require smbd, but smbd is downStefan Metzmacher1-2/+10
metze (This used to be commit dad79155624808aa85c34921f05d2e0cded6ad12)
2007-10-10r7428: try to get some nicer output from the build farmStefan Metzmacher1-0/+2
metze (This used to be commit 49e9cf070900874cb4b97ed46f70a43196deae8d)
2007-10-10r7421: - move test* functions to a seperate fileStefan Metzmacher1-0/+57
- print build farm style output when RUN_FROM_BUILD_FARM=yes metze (This used to be commit 7e567a6b69d05fa180bb4384b503969f79f18068)