summaryrefslogtreecommitdiff
path: root/source4/script/tests
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r20696: Print mktestsetup errors to stderr rather than to either stderr or ↵Jelmer Vernooij2-11/+36
stdout. Instead, print variables for the setup created to mktestsetup's stdout. (This used to be commit b7fd9645f5f2e1e5a00fbb94f772487c78136ee6)
2007-10-10r20693: Add reimplementation of selftest in perl. Once this has been testedJelmer Vernooij1-0/+253
more properly, I hope to use this as a replacement for the existing file. (This used to be commit 1e013aba7697716451c25eeab851b6812b2e066f)
2007-10-10r20167: reenable the ejsnet testsStefan Metzmacher1-1/+1
metze (This used to be commit 1e4289fae4fb71725d9c37ed772eab0ff5853e65)
2007-10-10r20164: Disable the test till tomorrow when I find out what causedRafal Szczesniak1-1/+1
the crash. rafal (This used to be commit 5d7908038b6508f53cc8714f73ae7c5bfc6bce58)
2007-10-10r20149: Remove the smb.conf distinction between PDC and BDC. Now the correctAndrew Bartlett1-1/+1
way to setup a Samba4 DC is to set 'server role = domain controller'. We use the fSMORoleOwner attribute in the base DN to determine the PDC. This patch is quite large, as I have corrected a number of places that assumed taht we are always the PDC, or that used the smb.conf lp_server_role() to determine that. Also included is a warning fix in the SAMR code, where the IDL has seperated a couple of types for group display enumeration. We also now use the ldb database to determine if we should run the global catalog service. In the near future, I will complete the DRSUAPI DsGetDomainControllerInfo server-side on the same basis. Andrew Bartlett (This used to be commit 67d8365e831adf3eaecd8b34dcc481fc82565893)
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-10r19723: don't use [,],(,) in test names to make the build-farm output happyStefan Metzmacher1-5/+5
metze (This used to be commit 8a0a92e2dc107797055421196f430269699510fe)
2007-10-10r19708: add a script for running net tests separatelyRafal Szczesniak1-0/+2
rafal (This used to be commit 0f913ef240dd3117197df1272e88ac195cd8e399)
2007-10-10r19680: Allow specifying basedir for test data.Jelmer Vernooij1-0/+1
Create temporary directories in base directory. (This used to be commit f111feb1d2b82a9ec3a8b6fbcdbe297bf11edc42)
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-10r19603: Make it easier to control the debug level of smbd.Andrew Bartlett1-0/+8
Ensure that we don't accept kerberos logins without a PAC (to ensure we actually produce a PAC in the KDC) Andrew Bartlett (This used to be commit 5fda92783f3d53e4a832dbbea678b5bd16f315fd)
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-10r19589: Because we what we really wanted was coverage of seal and non-seal,Andrew Bartlett1-1/+1
rather than validate or not, change $VALIDATE to bigendian in the session_key test. Andrew Bartlett (This used to be commit 4f79f3b0c4cb15903f019a2dd62281ff65753b73)
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-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-10r19503: it only makes sense to run the LOCAL-ICONV test on 'known good'Andrew Tridgell1-1/+7
platforms as it tests the system iconv with the built in iconv. Limit the test to Linux to avoid spurious errors. (This used to be commit 9e1a8475ca7d1f8490cf8502c08a2544cfec5599)
2007-10-10r19476: small typo.Brad Henry1-1/+1
(This used to be commit 51580208a77bfed3981ed4098e39ff401dfb8847)
2007-10-10r19475: fixed a couple of typos.Brad Henry2-3/+1
(This used to be commit f2df3a90f1f3b85bc3c847ebfc1d01e2fa9e9ee7)
2007-10-10r19474: Move the Samba server / Windows client test to its own script.Brad Henry2-21/+27
(This used to be commit 908b483ed096497e1604b67ea797c223c3e34adf)
2007-10-10r19473: Add NET tests in their own script. Run the same set of tests that ↵Brad Henry2-0/+64
'make test' does. Comment those tests which don't pass. (This used to be commit 7d382b175b548ae32b4c7c1b728dcd02e20cbbfa)
2007-10-10r19472: Move rpc tests to their own scripts. Run the same tests as 'make ↵Brad Henry2-17/+66
test' does. Comment those tests that don't pass. (This used to be commit 046b38817ad30df14214c5d66ae10999699bdb08)
2007-10-10r19471: Move BASE and RAW tests to their own scripts. Run the same set of ↵Brad Henry3-37/+125
tests as 'make test' does, at least for those that pass. Comment the tests that don't pass. (This used to be commit 33760cfe94f8a4a0e4441dd8fb5089cf8c26487f)
2007-10-10r19470: Move common windows test functions into their own script ↵Brad Henry2-34/+37
wintest_functions.sh, and remove them from the main windows test script. (This used to be commit 587196092846dbab009be9063b1680ad73ae9c14)
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-10r19432: This way of reverting snapshots is much better than the way I was ↵Brad Henry1-1/+1
doing them before. (This used to be commit 42171cbf4959ba36114762a09a747a3c7c87d135)
2007-10-10r19388: Start running all LOCAL-* tests but list some of them as known failing.Jelmer Vernooij1-3/+4
(This used to be commit bfa0fbfe94759bb120a4610f333c0beb940e3d76)
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-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)