summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2009-03-01Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij3-5/+5
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij4-12/+12
2009-03-01Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij4-5/+5
consistency with Samba 3.
2009-02-27And the prize for the most pain caused in the build farm for a simpleJeremy Allison1-1/+1
typo goes to..... Tim Prouty !!!! Sorry Tim, nice test but you made a typo in passing in the size of an array so we were reading uninitialized memory :-). That took far longer than it should have to track down... (%$&#ing build system....). The build farm should now slowly go back to normal. Jeremy.
2009-02-26Add another torture test inspired by George @ Apple.Jeremy Allison1-0/+86
Inside a directory, keep a file open and then renaming the directory should fail with ACCESS_DENIED. This is connected to the test case where the close was failing due to a delayed write on a file not being able to succeed when Samba allowed the containing directory to be renamed. I will fix this in the server shortly (this should be done across connections also but with will be very hard in Samba - would need a full scan of the open file db on every directory rename) - so I will fix for the local case first (scanning local file opens inside an smbd is cheap). Jeremy.
2009-02-25s4-smbtorture: add test_AddJob test to RPC-SPOOLSS test.Günther Deschner1-0/+29
Guenther
2009-02-25s4-smbtorture: expand RPC-SPOOLSS enumform and getform tests for level 2 forms.Günther Deschner1-32/+42
Guenther
2009-02-25s4-smbtorture: add test_GetPrintProcessorDirectory to RPC-SPOOLSS.Günther Deschner1-0/+64
Guenther
2009-02-24Added torture test from a usage case from the Apple OS/X client.Jeremy Allison1-0/+119
Setting an attribute on a stream fnum must change the attribute on the base file. Jeremy.
2009-02-21s4-smbtorture: fix eventlog getinformation test.Günther Deschner1-4/+4
Guenther
2009-02-20s4 torture: Add comment to clarify testZack Kirsch1-0/+3
2009-02-20Added torture tests to RAW-NOTIFYSteven Danneman1-2/+150
* This adds a test to check the change notify behavior of the SMB server when more events have been generated than can be returned in a single change notify response. * Second test makes sure the server doesn't return notification events for changes to the watched directory itself
2009-02-18s4 torture: Add new test to create a file with a lot of streamsTim Prouty1-0/+45
This tests how streaminfo deals with large buffers smbclient seems to have problems when the buffer size approaches the max data size. Also smbclient exposes no way to specify the max data size that is sent in a trans2 request. Instead it hardcodes in a much larger max than windows uses. For these reasons this test isn't actually run, but is more of a reference for how windows handles streaminfo buffers.
2009-02-18s4 torture: Add additional streams create disposition testTim Prouty1-0/+20
2009-02-18s4-smbtorture: enable spoolss_AddPrinterDriverEx ndr test.Günther Deschner1-1/+1
Guenther
2009-02-17s4-smbtorture: fix spoolss test after count out,ref idl changes.Günther Deschner3-10/+38
Guenther
2009-02-17s4-smbtorture: fix spoolss notify test.Günther Deschner1-14/+14
Guenther
2009-02-14s4-smbtorture: fix test_PausePrinter and test_ResumePrinter.Günther Deschner1-8/+24
Guenther
2009-02-13s4 torture: Add rename test to imitate the way OS X renames filesAravind Srinivasan1-0/+83
This tests for mis-behaved case-insensitive get_real_filename implementations.
2009-02-13s4:torture/samba3rpc: fix the build after get_myname() changesStefan Metzmacher1-3/+3
metze
2009-02-13Remove useless invocation of messaging_init() in RPC-PAC testAndrew Bartlett1-9/+0
2009-02-13Remove auth/ntlm as a dependency of GENSEC by means of function pointers.Andrew Bartlett1-1/+1
When starting GENSEC on the server, the auth subsystem context must be passed in, which now includes function pointers to the key elements. This should (when the other dependencies are fixed up) allow GENSEC to exist as a client or server library without bundling in too much of our server code. Andrew Bartlett
2009-02-11s4-smbtorture: fix the build of the ndr spoolss tester.Günther Deschner1-4/+4
Guenther
2009-02-11s4 torture: Smbtorture additions for Windows BRLZack Kirsch2-5/+568
- Adds a few new BRL tests to RAW-LOCK - Adds a "win7" target to allow torture to handle protocol changes in windows 7
2009-02-11s4 torture: Two minor fixes to smbtorture BRL tests.Zack Kirsch2-3/+1
2009-02-10s4 torture: Change nttransrename to use a normal access maskTim Prouty1-1/+1
batch9 already tests for stat-only opens
2009-02-10s4-smbtorture: fix SPOOLSS test w.r.t. spoolss_ReplyOpenPrinter.Günther Deschner1-2/+2
Guenther
2009-02-07s4-smbtorture: fix test_EnumJobs in spoolss win test.Günther Deschner1-0/+2
Guenther
2009-02-07s4-smbtorture: fix valgrind warnings in RPC-SPOOLSS_WIN test.Günther Deschner1-0/+2
Guenther
2009-02-06s4-smbtorture: fix test_GetPrinterData.Günther Deschner2-0/+4
Guenther
2009-02-06s4-smbtorture: fix spoolss enum tests.Günther Deschner3-27/+58
Guenther
2009-02-06s4-smbtorture: fix test_EnumPrinterKey.Günther Deschner1-3/+5
Guenther
2009-02-06s4-smbtorture: fix test_EnumPrinterDataEx.Günther Deschner2-2/+12
Guenther
2009-02-06s4-smbtorture: fix test_GetPrinterDataEx.Günther Deschner1-1/+6
Guenther
2009-02-06s4-smbtorture: fix test_GetPrinterDriver2.Günther Deschner2-1/+13
Guenther
2009-02-06s4-smbtorture: fix test_GetForm.Günther Deschner1-2/+4
Guenther
2009-02-06s4-smbtorture: fix test_DoPrintTest.Günther Deschner1-0/+2
Guenther
2009-02-06s4-smbtorture: fix test_DoPrintTest.Günther Deschner1-2/+1
Guenther
2009-02-06s4-smbtorture: fix test_GetPrinterDriverDirectory.Günther Deschner1-2/+4
Guenther
2009-02-06s4-smbtorture: fix test_GetPrinter.Günther Deschner2-4/+8
Guenther
2009-02-06s4-smbtorture: fix test_GetPrinter.Günther Deschner1-2/+4
Guenther
2009-02-06s4-smbtorture: fix test_GetJob.Günther Deschner1-2/+4
Guenther
2009-02-05LDAP-UPTODATEVECTOR: fix segfault against samba4 as serverStefan Metzmacher1-0/+1
metze
2009-02-04s4-smbtorture: in eventlog readlog test, print all records in a buffer.Günther Deschner1-9/+26
Guenther
2009-02-03s4:selftest: avoid hardcoded pathes in blackbox testsStefan Metzmacher3-6/+6
metze
2009-02-02s4:torture/rpc: avoid 'delete' and 'class' in samba3rpc.cStefan Metzmacher1-6/+6
metze
2009-02-02s4:torture/rpc: s/class/kclass in winreg.cStefan Metzmacher1-10/+10
metze
2009-02-02s4:torture/util_smb: s/class/classnumStefan Metzmacher1-3/+3
metze
2009-02-02s4:torture/rpc: avoid 'new' in samsync.cStefan Metzmacher1-22/+22
metze
2009-02-02s4:torture/nbench: don't use 'new'Stefan Metzmacher1-3/+3
metze