summaryrefslogtreecommitdiff
path: root/source4/script/tests
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19343: Add support for external scripts/binaries that write results using theJelmer Vernooij1-1/+2
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that can't depend on -ltorture into smbtorture. The protocol is very simple: - write "comments" to stderr Example output on stdout: test: foo success: foo test: bar success: bar test: blah failure: blah [ dummy.c:30: Expression 1 != 2 failed! ] test: blie skip: blie [ Iconv support not built in ] I've already converted the talloc testsuite. (This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij3-6/+5
output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
2007-10-10r19281: Generalize what we do for the RAW-QFILEINFO test call so that the ↵Brad Henry1-24/+31
same process is used for other tests that operate on a share when run against windows. (This used to be commit 3d0cadb303fe9db49289d300a1c9fca44eee9d33)
2007-10-10r19280: Missed renaming a remove_qfileinfo_test() function call.Brad Henry1-1/+1
(This used to be commit 059d52167cbc36d9dbf17b7a9e6463700fa4749d)
2007-10-10r19279: These setup and cleanup functions are general enough for any test ↵Brad Henry1-3/+3
which needs a share to operate on, not just the qfileinfo test, so now they are named more appropriately. (This used to be commit eb16d5324d6e1f4e4b33993e23a6446c3289a85f)
2007-10-10r19278: Change the delete_directory() expect function so that rmdir willBrad Henry1-1/+1
automatically remove any subdirs and files of the directory to be deleted. (This used to be commit a41eefaaa738177f55d93b227f341f903a902939)
2007-10-10r19277: This commit adds support to run the smbtorture RPC-ASYNCBIND RPC-ATSVCBrad Henry1-10/+16
RPC-DSSETUP RPC-EPMAPPER RPC-INITSHUTDOWN RPC-LSA-GETUSER RPC-MULTIBIND RPC-ROT RPC-SECRETS RPC-SRVSVC RPC-SVCCTL RPC-WKSSVC tests against windows, either by 'make wintest' or in the build farm. I was surprised when RPC-EVENTLOG and RPC-LSA failed, so i'll investigate today. (This used to be commit 542bddacc8a57d5486d0b721ddd9357179b597b5)
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-10r19036: add LOCAL-REPLACE and reorder the testlistStefan Metzmacher1-4/+6
metze (This used to be commit c8070c38f2915e8f56fef62242d3ab9a202e4c34)
2007-10-10r18979: With these extra indexes (also added for the normal case) and aAndrew Bartlett2-2/+33
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 Tridgell2-5/+5
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-10r18884: client_test.exp getting changed to client_tests.exp was an ↵Brad Henry1-1/+1
intentional error that I inserted for testing earlier and forgot to take out before commiting. The other error was a real bug. :) (This used to be commit 0269f3101555daaa4b2c4080ab24c1ca75cdc2f6)
2007-10-10r18883: Start including test_functions.sh.Brad Henry1-113/+70
test_win.sh has been rewritten to use the testit() function from test_functions.sh. (This used to be commit d0ed99859f7cbed599abf7083e7fb20bd58b1556)
2007-10-10r18829: Print a nice welcome message when we enter the test environment.Andrew Bartlett2-1/+12
Andrew Bartlett (This used to be commit 77f1c15d92d13f6e4f278d9d4b0f15fab66b4bbc)
2007-10-10r18828: Export some more useful environment varibles, particularly for use inAndrew Bartlett1-0/+13
'make testenv' Andrew Bartlett (This used to be commit 5215b834bd08ae01b055aed0f2dc074b58996709)
2007-10-10r18825: speed up the test_cifsdd.sh test by using a smaller file. It wasAndrew Tridgell1-2/+4
taking over half an hour on some systems (This used to be commit 13ca7297dd8645085f12d4cf586c2c07f0f1b287)
2007-10-10r18781: Move the usnCreated and usnChanged handling around again.Andrew Bartlett1-0/+4
This moves these attributes from objectguid into an optional backend (objectguid), used by ltdb. For OpenLDAP, the entryUUID module converts entryCSN into usnChanged. This also changes the sequence number API, and uses 'time based' sequence numbers, when an LDAP or similar backend is detected. To assist this, we also store the last modified time in the TDB, whenever we change a value. Andrew Bartlett (This used to be commit 72858f859483c0c532dddb2c146d6bd7b9be5072)
2007-10-10r18774: This allows an automated way to setup the test environment in a shell,Andrew Bartlett1-0/+2
with all the helpful env variables set. TEST_LDAP=yes script/tests/selftest.sh st/ xterm SOCKET_WRAPPER Andrew Bartlett (This used to be commit 1a48fa96bc4b096a72bf5e4455aaa43c63966c10)
2007-10-10r18721: Fix base and samba3sam EJS tests to work without installation.Jelmer Vernooij1-2/+2
(This used to be commit d062e101664a90f2f7bf0980449f920aa719ee76)
2007-10-10r18595: try an experiment of adding a RPC test into the windows testingAndrew Tridgell1-3/+12
framework Brad, I know this is a bit hackish. We really need a "testit" like function like in test_functions.sh (This used to be commit 7120fbffa5560dcaf3d796cb72fa3a6b78a991d6)
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-10r18582: disable synchronous ldb in the build farm. Some hosts have very slowAndrew Tridgell1-0/+1
filesystems and the tests are taking more than 1.5 hours. We will still be testing the sync code paths, as the ldb tests still run synchronous, but doing all of our other tests synchronously just costs too much time. (This used to be commit ce2baf7385e019383ffb292bd30e77c31eecbbef)
2007-10-10r18578: steve, I think you may have forgotten to commit test_cifsposix.sh ?Andrew Tridgell1-1/+1
(This used to be commit fea75d2c9732f91cb79e178ef6c57c3945e4f52e)
2007-10-10r18577: reduce the number of tests run in 'make quicktest' again, so itAndrew Tridgell3-7/+11
completes in a minute on my laptop (the benchmark I usually use). Simo, I removed th ldb tests, as ldb is pretty well tested by lots of the other tests, and its a pretty slow test. We could instead add a "ldb-testquick.sh" which does only minimal testing. The full tests will of course be run with 'make test' and in the build farm. (This used to be commit 3cee6a7863bba61c92f94087df5c6442f02a2da7)
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 Tridgell2-2/+7
- 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 Tridgell5-33/+40
has failed. The output was too subtle for people who aren't used to it. (This used to be commit a57decb96aee05d3238b64d50a136c8b8001f811)
2007-10-10r18570: Fix up function names in cifs unix/posix extensions backend. Enable ↵Steve French2-2/+2
tiny quick test for torture for them (This used to be commit 64062d16a2cc215af320eb30827887eb2531e3b0)
2007-10-10r18569: add really simple testing of the 'simple' ntvfs backend, so we knowAndrew Tridgell3-0/+40
when it breaks. It isn't much good as a template for developers to use unless it works :-) (This used to be commit 262bee07dcb140b413d5ae5a8a754b3e57235323)
2007-10-10r18564: update for cifs unix/posix extensions stub version to build and ↵Steve French2-0/+7
beginnings of smbtorture test for it (This used to be commit 57f56957176ca04f3abb579b557aade71f8d361d)
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-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 Bartlett3-5/+11
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-10r18415: Make the samba-windows test scripts executable so they run a little ↵Brad Henry2-0/+0
easier in the build farm. (This used to be commit b2d3f8f7aae5b2bb9baf4e45fbc4632576e6fea8)
2007-10-10r18414: This README file should help to explain what is needed to setup a ↵Brad Henry1-0/+121
Windows VM for testing using this framework. Let me know if there's anything that looks strange or could use clarification. vm_setup.tar.gz is currently located at the root of my SVN branch, svn://svnanon.samba.org/samba/branches/SOC/bnh. (This used to be commit 849fe757bb908842844ab482b8669694157550cd)
2007-10-10r18389: test RPC-UNIXINFO in samba4Stefan Metzmacher2-6/+6
metze (This used to be commit 928beac95d534a7a9f5182b64ec905f0ad094192)
2007-10-10r18377: disable native iconv with valgrindAndrew Tridgell1-0/+7
(This used to be commit d1ceb79d9d10a3fd7bdba935ef2d12db346051f4)
2007-10-10r18372: don't use the system inotify until in the build farm until we work outAndrew Tridgell1-0/+1
how to work around a problem with it giving unpredictable orderings in renames (sometimes target is first event, sometimes source) (This used to be commit 066e3b51b1ca038023e53a978e1d2e706cd3d8a6)
2007-10-10r18349: don't do validation when using valgrind. It's way too slow (can beAndrew Tridgell7-7/+14
hours for a single test) (This used to be commit febaf6af4cafed7bc57276186a35099959b2ce62)
2007-10-10r18302: fixed test_cifsdd.sh - the unnecessary sum operations were breaking onAndrew Tridgell1-7/+1
solaris (This used to be commit 3828c463ad31ae1ce4a4aba307126bd47adc1329)
2007-10-10r18290: finally worked out why we were failing tests on solaris. It hasAndrew Tridgell1-2/+2
kerberos on port 750 in /etc/services! Work around this by using 127.0.0.1:88 in the krb5.conf (This used to be commit 9fb91702fd6c080d87ea60c60e0591636d1a6441)
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-10r18251: skip pidl tests unless the platform has Test::MoreAndrew Tridgell1-3/+7
(This used to be commit 6c7dd852c05cf131d7def8a8dcff7e98df9ea521)
2007-10-10r18247: more shell portability fixesAndrew Tridgell3-10/+9
(This used to be commit d9ddfdf9e86295224dd42c0ab1aa954111ede588)
2007-10-10r18246: Let our openldap slapd.conf include the magic to have DIGEST-MD5 onAndrew Bartlett1-2/+11
the server-side work. (This used to be commit 73d87cce7c5e33f73d6a63379af3586f543eb372)
2007-10-10r18190: Add more NET tests to be run on the build farm.Rafal Szczesniak1-2/+2
rafal (This used to be commit 8657bd437a13513632650a192509fc98c686c69d)
2007-10-10r18050: Run more NET tests on the build farm.Rafal Szczesniak1-3/+3
rafal (This used to be commit 2185e978891617f2e3ad4428df55269bcdf62443)
2007-10-10r18026: patch from Brad allowing the windows testing to be configuredAndrew Tridgell2-5/+12
externally in the build farm (This used to be commit a85646cba5ae5f96d99bd79d491e4151ffe6e78e)
2007-10-10r18023: Add support infrusructure for testing against an OpenLDAP server.Andrew Bartlett3-6/+102
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)