summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7527: - added a ldb_search_bytree() interface, which takes a ldb_parse_treeAndrew Tridgell1-1/+2
instead of a search expression. This allows our ldap server to pass its ASN.1 parsed search expressions straight to ldb, instead of going via strings. - updated all the ldb modules code to handle the new interface - got rid of the separate ldb_parse.h now that the ldb_parse structures are exposed externally - moved to C99 structure initialisation in ldb - switched ldap server to using ldb_search_bytree() (This used to be commit 96620ab2ee5d440bbbc51c1bc0cad9977770f897)
2007-10-10r7525: Unify lp_load(), load_interfaces and logging setup into popt().Andrew Bartlett2-9/+0
There is now a new --debug-stderr option to enable debug to STDERR. popt isn't perfect, but the callbacks are used in all the main Samba binaries, and should be used in the rest. This avoids duplicated code, and ensures every binary is setup correctly. This also ensures the setup happens early enough to have -s function, and have a correct impact on the credentials code. (Fixing a bug that frustrated tridge earlier today). The only 'subtle' aspect of all this is that I'm pretty sure that the SAMBA_COMMON popt code must be above the CREDENTIALS code, in the popt tables. Andrew Bartlett (This used to be commit 50f3c2b3a22971f40e0d3a88127b5120bfc47591)
2007-10-10r7521: Remove useless loops from SAMLOGON test, which speeds it up a lot.Andrew Bartlett1-16/+17
Andrew Bartlett (This used to be commit d74b7c20b6e547dba039992f69cea31b46d92286)
2007-10-10r7507: fixed the problem with users being shown too many times in aclAndrew Tridgell1-0/+45
editors, and added a test for it. (This used to be commit 9e428881f6fc0a422ac9011d847e8f692284397a)
2007-10-10r7494: added --maximum-runtime to smbtorture as well. I have seen smbtortureAndrew Tridgell1-0/+19
get stuck waiting on no file descriptors, with no timeout, so it sits forever. I need to fix that bug separately, but to prevent build farm machines being totally stuck, this timeout will be used. (This used to be commit 5cccf0a770e0c1069f940fa8f4853f64327dc90c)
2007-10-10r7491: libnet functions used in tests have different names now.Rafal Szczesniak3-24/+24
rafal (This used to be commit d54bf09701b1085451479a32569849998c53c811)
2007-10-10r7487: check both files before and after setting the attribs on file1Stefan Metzmacher1-0/+7
metze (This used to be commit 376c0560e0cb453fa8a378ff2983b34310956ae8)
2007-10-10r7482: Rename smbcli_send_tconX() to smbcli_tconX() so as not to get itTim Potter1-2/+2
confused with an async function. (This used to be commit 340ad67cada15329051c205c5b094ad641718c72)
2007-10-10r7479: ifdef out some more stuff to fix compiler warnings.Tim Potter1-1/+3
(This used to be commit c4d10a98ff991cc48d065c4373570aedc37dccf3)
2007-10-10r7464: add newline to printfStefan Metzmacher1-7/+7
metze (This used to be commit 7123cd1116a464057bfaa0b3fcb881ee96f684cc)
2007-10-10r7431: this should fix the bug that mkaplan and I noticed which is thatAndrew Tridgell1-0/+8
BENCH-NBENCH sometimes incorrectly reports that it failed. (This used to be commit 167c29bec6f28e58b5d36325b4285748a47adc58)
2007-10-10r7426: add an option to disable progress outputStefan Metzmacher1-2/+6
torture:progress=no metze (This used to be commit 820e5a1270d8bd308f03fc96161396fb4b95da61)
2007-10-10r7401: add config option to disable the TestSleep() testStefan Metzmacher1-1/+5
torture:echo_TestSleep=no metze (This used to be commit 74bb55f3ae90871749f34f17a79eabe38d6b437a)
2007-10-10r7384: I've forgotten to commit test source.Rafal Szczesniak1-0/+131
Fix the build and get some sleep... rafal (This used to be commit 966d148ecaa66987832df6dc8da4c53bfb04d18d)
2007-10-10r7383: Add CreateUser test to torture suite.Rafal Szczesniak2-1/+3
rafal (This used to be commit bac24d9774f6f9298278a1dd9ab7718d8ab6c87c)
2007-10-10r7369: allow no entries returned by Enum*()Stefan Metzmacher1-5/+20
metze (This used to be commit 3778da9d17778cb215ac08e1dcd6ad8c0fa13dfd)
2007-10-10r7365: Remove unused variables.Tim Potter1-2/+0
(This used to be commit aa3dd5e8cf21d3502e10686ce94c802ebaa41ee8)
2007-10-10r7358: make the irpc test use two messaging contexts, not one, so it betterAndrew Tridgell1-10/+15
matches the LOCAL-MESSAGING test (This used to be commit 5883ce16d0b98c9c23ee60fe6089e0adf2ce8d15)
2007-10-10r7346: use StartPagePrinter(), WritePrinter() and EndPagePrinter() to print ↵Stefan Metzmacher1-0/+49
a few test pages on each printer (we don't actually print because we have paused the printer before...) metze (This used to be commit 6bccf55ab9dcdd8590684ab46c5b101e2969e7f7)
2007-10-10r7342: submit a test job for each printer and delete this jobStefan Metzmacher1-3/+55
metze (This used to be commit b71d57709733b33e553022271de4ec51f9049a66)
2007-10-10r7340: fix the buildStefan Metzmacher1-5/+9
and some more error checks metze (This used to be commit da6263d4211d85872a232349164e669c33234d6f)
2007-10-10r7333: Pause and resume each printerStefan Metzmacher1-0/+72
metze (This used to be commit 191375f41708503e62e14132f691a9b6ec149a1b)
2007-10-10r7329: test some more PrinterData valuesStefan Metzmacher1-2/+9
metze (This used to be commit ad35bfb2250c97571334ab0e9b32b3080cba2e7f)
2007-10-10r7328: fix GetPrinterData and SetPrinterData, with zero length subcontextsStefan Metzmacher1-4/+7
metze (This used to be commit 73d597bacf83492ed3da2307dd6785548b903b39)
2007-10-10r7325: Add composite domain open test.Rafal Szczesniak2-1/+3
rafal (This used to be commit 2614aa69341f21fc02a9b08fc1657364f78aafbd)
2007-10-10r7324: Torture test for composite domain open function.Rafal Szczesniak1-0/+116
rafal (This used to be commit 482ff6a78078b62041ba69947048ed96dee13144)
2007-10-10r7321: add nbtd statistics serving over irpcAndrew Tridgell1-1/+1
(This used to be commit 4c0ed7328b14969ea34790b0e80fa714c44ccc5f)
2007-10-10r7295: added an irpc benchmark. It gets about 16k messages/sec on my laptop,Andrew Tridgell1-3/+73
compared to about 20k messages/sec for the raw messaging layer. I think that is quite acceptable given the extra functionality. (This used to be commit a05d38d1d91f1f54d3e3794a596b468992594852)
2007-10-10r7294: implemented the irpc messaging system. This is the core of theAndrew Tridgell4-1/+95
management system I proposed on samba-technical a couple of days ago. Essentially it is a very lightweight way for any code in Samba to make IDL based rpc calls to anywhere else in the code, without the client or server having to go to the trouble of setting up a full rpc service. It can be used with any of our existing IDL, but I expect it will mostly be used for a new set of Samba specific management calls. The LOCAL-IRPC torture test demonstrates how it can be used by calling the echo_AddOne() call over this transport. (This used to be commit 3d589a09954eb8b318f567e1150b0c27412fb942)
2007-10-10r7195: - Fix echo pipeJelmer Vernooij1-6/+3
- Don't allocate strings - Give higher preference to the [out] part of variables when they are being used by another [out] variable. Also make sure that [in] variables never use [out] variables (i.e. switch_is() on an [in] variable can no longer use an [out] variable). (This used to be commit 837c83d77a2d1990419c4f3e343616daf8da5799)
2007-10-10r7180: Missed fixing the shutdown for 1 process...Jeremy Allison1-1/+6
Jeremy. (This used to be commit 997e1405cbd4535e18c4729c77ec5de4237f78d7)
2007-10-10r7178: If we're using one process in NETBENCH simultion only open oneJeremy Allison1-5/+14
connection to the server. Makes valgrind/cachegrind on the server easier. Jeremy. (This used to be commit fba9462591864a4efcfae653e1cef81f08299f92)
2007-10-10r7159: Improve the messages from pidl's validator module.Jelmer Vernooij1-2/+2
Change the IDL file for the echo interface to match the one we use for Windows. The only thing different between the two files currently is the names of the scalar types and the handling of strings. (This used to be commit b264c61061d222347919837600adf809fbadfb13)
2007-10-10r7120: make use of the new 'noopnum' property and get rid of handwrittenStefan Metzmacher1-18/+18
parsing code for the spoolss_Enum* functions, there still same handwritten code needed but just to stack the autogenerated code into the correct way metze (This used to be commit 155d18e8b78afebfb4a84e43e3b4d8fc6c9cc4e2)
2007-10-10r7117: Move more manpages to the source repositoryJelmer Vernooij4-0/+626
(This used to be commit b00355bf0ce241a1223dbdbb2f3b5059a2bb4204)
2007-10-10r6975: Test opening filenames with control characters in failsJeremy Allison1-0/+26
with INVALID_NAME. Jeremy. (This used to be commit ec72d7d614caf9504d98c96c86906ed598f8be78)
2007-10-10r6961: Add RPC-WINREG to list of win2k3 testsJelmer Vernooij1-17/+26
Fix bug in test for QueryMultipleValues Ignore errors from CreateKey() and GetKeySecurity() for now (This used to be commit 7b6b8d6b34de01d2585b23ddb994d8e7403a21f6)
2007-10-10r6951: Fix all calls to setup_logging() that use 'True' as a second argument.Tim Potter1-1/+1
In Samba4 this is now an enum. Possibly by accident, True just happens to map to the right value in this case. (-: (This used to be commit affacc539864435cbc749a4c1a6b848c61b7182b)
2007-10-10r6933: Add a couple of helper functions for creating nbt names.Tim Potter9-34/+11
(This used to be commit b896daf11c3efb1b3ca939575da9dab82b395777)
2007-10-10r6907: Unixinfo for samba4, not activated by default.Volker Lendecke3-1/+94
Volker (This used to be commit 81ddffde369c5b5e91bc130510f43c6841a789c4)
2007-10-10r6875: added a BENCH-CLDAP test. Speed of the cldap server isn't all that ↵Andrew Tridgell3-1/+132
important, but it does help find memory leaks (and in fact, there was one, fixed in next commit) (This used to be commit ab19e38c236366f2a93ea1f44911c56519779c9d)
2007-10-10r6869: removed completely bogus BASE-RW2 testAndrew Tridgell1-113/+0
(This used to be commit b3dd5c326efef2165106f719573202325ee63e02)
2007-10-10r6863: lib-friendlier names + fix some dependenciesJelmer Vernooij1-1/+1
(This used to be commit cab81a51bfd435b54e6f0d5a308aaf6828d38c00)
2007-10-10r6847: Fix some unused variable warnings in the libnet torture test.Tim Potter2-2/+0
(This used to be commit 448795607f271bb00d5f9e1c5a6cad8df75c8b6a)
2007-10-10r6839: Add support for building subsystems as shared libraries. This can beJelmer Vernooij1-3/+3
done by setting: OUTPUT_TYPE = SHARED_LIBRARY in the [SUBSYSTEM::...] section belonging to a subsystem. The idea is to allow multiple values to OUTPUT_TYPE simultaneously (e.g. OUTPUT_TYPE = SHARED_LIBRARY, STATIC_LIBRARY, OBJLIST ) (This used to be commit b9d0ae93ba86fec0115f58e7940b2a6c908bc809)
2007-10-10r6816: - fixed debug display of ndr netlogon unionAndrew Tridgell1-2/+5
- send a username when scanning to make structure elements clearer (This used to be commit 7d19eb9433b615fdf789cb07aeb331df92b05abd)
2007-10-10r6799: Remove a rudundent variable from the context structure - we can figureAndrew Bartlett1-4/+10
this out by asking GENSEC, just like everybody else. Andrew Bartlett (This used to be commit 0268d6c46b73bf2097247639df2532b5e8591531)
2007-10-10r6795: Make some functions static and remove some unused ones.Jelmer Vernooij3-25/+6
(This used to be commit 46509eb89980bfe6dabd71264d570ea356ee5a22)
2007-10-10r6793: Move auth_sam to use the dnsDomain rather than theAndrew Bartlett1-0/+6
soon-to-be-depricated 'realm'. Add torture test for this behaviour. Andrew Bartlet (This used to be commit 6b9020661a13fd5ec6c5d1e21344d9f654978987)
2007-10-10r6776: make the cldap torture test not dependent on the realm being setAndrew Tridgell1-27/+54
correctly - it gets the realm from an initial no-attribute search (This used to be commit 52d10c8d99521f9dd02891a30688472d96860aef)