summaryrefslogtreecommitdiff
path: root/source4/script
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.Jelmer Vernooij2-0/+33
Support directories for subcategories in tests. Several small other fixes. (This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
2007-10-10r19344: run smbclient and cifsdd under valgrind and pass the correct ↵Stefan Metzmacher2-2/+2
configuration to get useful backtraces in the build-farm metze (This used to be commit fa030e45985c39a7e4b6be032e817f1291357a45)
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-10r19229: let mkversion.sh handle bzr treesStefan Metzmacher1-6/+42
metze (This used to be commit 12c8067337e4cecf1fcd3123e4e0e3bb1bbcba8e)
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-10r19150: add a usefull tool to test the gdb_backtrace scriptStefan Metzmacher1-0/+42
just compile it with cc -g -o gdb_backtrace_test gdb_backtrace_test.c and run it in the same directory where your gdb_backtrace script is. metze (This used to be commit 56ae0171bafe4576c6163a0198a18b8163314e20)
2007-10-10r19149: ladebug needs to have the stoponattach flag setStefan Metzmacher1-6/+11
to generate the current backtrace without waiting for a signal... metze (This used to be commit d86100289a3a857456e2d4441c290ca2ea2330ff)
2007-10-10r19142: ensure no race conditions during installation by having same name in ↵Derrell Lipman1-0/+12
source and swat directory; install new apps and services (This used to be commit a2b996317f81aa61d7d5bf427003399560e64f77)
2007-10-10r19128: - make the gdb_backtrace script more portableStefan Metzmacher1-19/+68
- try /proc/${PID}/exe first - fallback to the binary given on the commandline - fallback searching the binary with 'which' from the commandline argument - use 'ladebug' debugger on Tru64 metze (This used to be commit f792a9532d0e263984c37d32bcf059b955e20b2c)
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-10r18750: Disable not updating the last-modifification-time of proto headers ↵Jelmer Vernooij1-13/+5
because this was confusing make. (This used to be commit 4f5987e77f653984c60e3b34cd5aac5aa0a01124)
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-10r18322: fixed a compilation problem on AIX caused by lex not putting config.hAndrew Tridgell1-1/+3
first. That leads to a conflicting define for lseek() due to _LARGE_FILES being defined after standards headers are included (This used to be commit 9034238e27f22a7077df9fa0d7c83cce4503aabc)
2007-10-10r18302: fixed test_cifsdd.sh - the unnecessary sum operations were breaking onAndrew Tridgell1-7/+1
solaris (This used to be commit 3828c463ad31ae1ce4a4aba307126bd47adc1329)