summaryrefslogtreecommitdiff
path: root/source4/script/tests
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12858: This moves the libnet_LookupPdc code to use a GetDC request to findAndrew Bartlett2-4/+4
the remote server's name, or in the absence of a local nbt_server to communicate with (or without root access), a node status request. The result is that we are in a better position to use kerberos, as well as to remove the 'password server' mandatory parameter for the samsync and samdump commands. (I need this to put these into SWAT). The only problem I have is that I must create a messaging context, which requires a server ID. As a client process, I don't expect to get messages, but it is currently required for replies, so I generate a random() number. We probably need the servers to accept connections on streamed sockets too, for client-only tasks that want IRPC. Because I wanted to test this code, I have put the NET-API-* tests into our test scripts, to ensure they pass and keep passing. They are good frontends onto the libnet system, and I see no reason not to test them. In doing so the NET-API-RPCCONNECT test was simplified to take a binding string on the command line, removing duplicate code, and testing the combinations in the scripts instead. (I have done a bit of work on the list shares code in libnet_share.c to make it pass 'make test') In the future, I would like to extend the libcli/findds.c code (based off volker's winbind/wb_async_helpers.c, which is why it shows up a bit odd in the patch) to handle getting multiple name replies, sending a getdc request to each in turn. (posted to samba-technical for review, and I'll happily update with any comments) Andrew Bartlett (This used to be commit 7ccddfd3515fc2c0d6f447c768ccbf7a220c3380)
2007-10-10r12812: speed up RPC-ECHO with validate some more, and re-enable it underAndrew Tridgell1-10/+3
valgrind in 'make valgrindtest' (This used to be commit b2030d527a75fecd907148d13860b4ba5193f218)
2007-10-10r12806: tridge: in revision 12634 you introduced to validate the ndr_print ↵Stefan Metzmacher1-5/+12
output and RPC-ECHO doesn't pass under valgrind anymore with this metze (This used to be commit 2482bf969d5b903a01ace8fa9237dd440b98196c)
2007-10-10r12778: export TEST_DATA_PREFIX in make testStefan Metzmacher1-0/+3
metze (This used to be commit beea805a61d15dbb38add0a9c333e01279f71ada)
2007-10-10r12584: Move NDR tests from rpc/ to local/, add to list of testsJelmer Vernooij1-1/+1
to run for 'make all' (This used to be commit e71cd4778b9a872642619452e574f510e2491052)
2007-10-10r12552: Remove use of Test::Harness - we're not printing the result summariesJelmer Vernooij1-1/+2
on success anyway. Instead, call the scripts directly. (This used to be commit a83a38eab29cc289e53b1f9790a61e61d684f547)
2007-10-10r12509: make the output for the buildfarm nicerStefan Metzmacher1-1/+6
metze (This used to be commit f03170cc52d8e196b878a3d3ddd2b8d0e633f487)
2007-10-10r12470: Add helper module for pidl testsJelmer Vernooij1-2/+4
Convert other pidl tests to use Test::More and run them from 'make test' (This used to be commit 3a57d29a62112ab654e290ccc985fba7f67664c5)
2007-10-10r12464: Add simple IDL parsing tests for pidl using the standard perlJelmer Vernooij2-7/+8
testing framework (Test::Simple, distributed with perl itself). Run these tests from 'make test' (This used to be commit 975d8816db6697dab828941b69a740e3a0a2c272)
2007-10-10r12373: Add RPC-JOIN as a test to always run.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 42c58d431268dcde9f195bf0c871c1c9ed75cb79)
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-10r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headersJelmer Vernooij1-0/+0
in build/smb_build/, remove unused pstring macros (This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)
2007-10-10r12075: remove NBT-WINSREPLICATION-QUICK test, as we now pass the ↵Stefan Metzmacher1-1/+1
NBT-WINSREPLICATION test metze (This used to be commit 224dab45ab8de9fd4288c473b141541614cde422)
2007-10-10r12009: made the LOCAL-SDDL test less verbose by default, and add it to theAndrew Tridgell1-1/+1
standard tests for the build farm (This used to be commit 9d6d9b6e50dfe5513f332668b860e6a55af3a39c)
2007-10-10r11818: - changed the option torture:echo_TestSleep=yes/no to the more genericAndrew Tridgell3-12/+14
option torture:quick=yes/no. This should be used in all slow tests to enable a quick mode - enabled the test_rpc_quick.sh tests in 'make quicktest' (This used to be commit 180c209c1bb48f6421043de2d0d48c29fc7f9274)
2007-10-10r11659: allow the max runtime for smbtorture and smbd to be controlled on aAndrew Tridgell2-5/+8
per-host basis in the build farm (This used to be commit c8185fe414ef686a52327f420ee81ce09b983c3c)
2007-10-10r11555: - change socket_wrapper to support multiple IP'sStefan Metzmacher2-17/+17
- 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 Metzmacher2-1/+21
metze (This used to be commit fc53eab2f1bdae471ee68c4b67f57b1eb0821f61)
2007-10-10r11442: Don't use BASE-NEGNOWAIT any more. It is a mostly meaningless test.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit c105112902da45ce8ba9f70bf240dd8201f6fd2c)
2007-10-10r11372: Now RPC-SAMLOGON works, place it into the default 'make test'.Andrew Bartlett1-14/+14
Andrew Bartlett (This used to be commit 381c4f9fef00cd65ebcbf41ab0cf62fd69ffc8cf)
2007-10-10r11214: Remove scons files (see ↵Jelmer Vernooij1-2/+0
http://lists.samba.org/archive/samba-technical/2005-October/043443.html) (This used to be commit 7fffc5c9178158249be632ac0ca179c13bd1f98f)
2007-10-10r11099: Replace unistr with [string] equivalentJelmer Vernooij1-0/+4
(This used to be commit 6a8291c80ee814a6bdc092b3ef53f450f30b44a0)
2007-10-10r11092: run NBT-WINSREPLICATION-QUICK test with make testStefan Metzmacher1-1/+1
metze (This used to be commit 2577c02a5105449b759e7eeb00c446730dbe22d3)
2007-10-10r10752: make sure we set the exist status correctly for the tdb testsAndrew Tridgell1-1/+1
(This used to be commit e83635941c1829d8cb8c0784b7f7303c85654199)
2007-10-10r10643: increase smbd max runtime when using valgrindAndrew Tridgell1-1/+5
(This used to be commit c394a4a602edba49f00252d0376050c0bdc2f6a8)
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 Bartlett4-17/+22
testing kerberos. Andrew Bartlett (This used to be commit a67b87cb6eba6548c4a74d7b46dd31d109fc538b)
2007-10-10r10578: Run LOCAL-STRLIST by defaultJelmer Vernooij1-1/+1
(This used to be commit 997eabee80f54ae864400dbac8273b34bdf6bb2b)
2007-10-10r10520: The join is a nice quick RPC test.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit d50b54309664454fa29249ec6ee8f02f9694478f)
2007-10-10r10517: Get rid of use of next_token() in lib/samba3/Jelmer Vernooij1-3/+3
(This used to be commit 811a6e28cca1ba09a95a89c344f4640b3d1dd74e)
2007-10-10r10456: More SCons fixes:Jelmer Vernooij1-0/+2
- Add framework for fallback generating code - Move pread / pwrite replacement functions to libreplace - Support pidl builds correctly - Support asn1 builds correctly - Move OS-specific checks to lib/replace/SConscript (This used to be commit fbbfad0a1f7dedbf48e835a864f8285f283d72f3)
2007-10-10r10404: make sure we use the right smb.conf in the ldap testingAndrew Tridgell1-1/+1
(This used to be commit aa30f8faa5924c29c81193646205b08922cdd43d)
2007-10-10r10387: By exporting KRB5_CONFIG pointing at a file of our choosing, we canAndrew Bartlett1-1/+22
avoid DNS delays in our testsuite. The next step will be to use kerberos in the tests (awaits application of socketwrapper or hooks into our socket layer). Andrew Bartlett (This used to be commit b9e9cca14e345a338fd7ffe06f6862bb3cb74e78)
2007-10-10r10314: Apply the controvertial 'server role =' patch after discussion on ↵Andrew Bartlett1-3/+2
the list: This patch removes the 'domain logon' and 'domain master' controls from Samba4, in favour of a 'server role =' that users can actually understand. We can expand the list of roles as needed, and nobody has to figure out what a 'domain master' actually means. Andrew Bartlett (This used to be commit 31e755c2ced64dbd2681d5f6ef021a87dbeda689)
2007-10-10r9849: Extend testsuite a bit more.Jelmer Vernooij1-0/+1
(This used to be commit 5cbe1e6b70b03be441a36b36fb969339df0dfd45)
2007-10-10r9834: More tests for the upgrade from Samba3Jelmer Vernooij1-7/+4
(This used to be commit d2db164d6f674cada470e871c558c75f98244141)
2007-10-10r9827: Convert 'passdb backend' rather then 'passdb backends'Jelmer Vernooij1-1/+1
Be a bit more verbose (This used to be commit fb2fd8da10b281b2064d4cae5d5a0630e8a207da)
2007-10-10r9816: Work on testsuite for upgradeJelmer Vernooij1-0/+17
Add 'paths' object to provision code. (This used to be commit 488d737fb0ebbc2535d0ec17c14f0dc1eaf2a578)
2007-10-10r9813: Conver testsuite for samba3sam module to EJSJelmer Vernooij1-5/+5
(This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc)
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-10r9644: add LOCAL-PAC to the list of 'make test' testsAndrew Tridgell1-1/+1
(This used to be commit 13185f468f7f2a6773e58c14480f19c038dfd797)
2007-10-10r9591: - Remove empty fileJelmer Vernooij1-6/+7
- Fix a couple of typo's - Fix build of lib/samba3/secrets.c for systems that don't have /usr/include/tdb.h... (This used to be commit b8c52900636515d1215ae79a70416db93ce4531c)
2007-10-10r9493: our test scripts need to use testok at the end or the errors don't ↵Andrew Tridgell5-1/+8
annumulate between scripts this is why the GetOptions bug wasn't caught by 'make test' (This used to be commit 20a14b9b35c928a592cf03ebedbc6c89f756af28)
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-10r9377: made winreg a user tool (I find it quite useful). I expect it to get ↵Andrew Tridgell1-0/+1
the ability to add/remove keys and values in the future. add it to the standard tests, ensuring that we know if winreg breaks. This is particularly important as winreg uses such unusual IDL constructs (This used to be commit e4ca36bda34cf5e6fecaef5fe60e5dd397ebee3c)
2007-10-10r9346: allow test_ldap.sh to be called when $CONFFILE is not setAndrew Tridgell1-1/+1
(This used to be commit 3ad02091f621e3ff51aa082ca7a47b9da238aa40)
2007-10-10r9120: added the BASE-DISCONNECT test to our set of standard testsAndrew Tridgell1-1/+1
(This used to be commit a6e2e6e1ba950ddd9918bf527ce1c5278f7b49bd)
2007-10-10r8885: fixed shell syntaxAndrew Tridgell1-2/+2
(This used to be commit 00ea1f38a36a0e45219a941a38875787bf526661)