summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2009-04-08svcctl: use offered/needed for buffer sizes as in spoolss.Günther Deschner1-22/+22
Guenther
2009-04-01s4 torture: Addition to RAW-BENCH-LOCK to take a configurable number of ↵Zack Kirsch1-1/+19
locks before starting the test This can be useful for benchmarking as well as stress testing.
2009-04-01s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/gZach Loafman2-7/+7
2009-04-01s4 torture: Remove unused parameterTim Prouty1-14/+7
2009-04-01s4 torture: Add new streams oplock testTim Prouty1-0/+176
2009-04-01s4:torture/smb2: Add torture tests for lease breaks, durable opens.Zach Loafman2-136/+988
2009-03-28s4:torture/smb2: Add torture tests for leases.Zach Loafman3-0/+298
2009-03-27s4:torture/smb2: fix compiler warnings and bugsStefan Metzmacher1-1/+3
metze
2009-03-27s4:torture/smb2: fix the buildStefan Metzmacher1-5/+5
We move prototypes of _PUBLIC_ functions into /dev/null, as we want public function to have handwritten prototypes. see proto_header_template in build/make/templates.mk... metze
2009-03-26Add durable open / oplock interaction test. Rather than give it a chance to ↵Zach Loafman1-3/+109
disconnect, Win7 will break a batch oplock immediately on contention.
2009-03-26Reorganize old persistent_handles test into durable_open.c, turn it into a ↵Zach Loafman3-9/+20
suite instead of a solo test (in anticipation of more tests).
2009-03-22LDAP-CLDAP: remove temporary debug statements...Stefan Metzmacher1-2/+2
metze
2009-03-19s4:cldap: rewrite the cldap library based on tsocketStefan Metzmacher3-50/+80
metze
2009-03-18s4-smbtorture: fix spoolss notify test after spoolss_Field changes.Günther Deschner1-4/+4
Guenther
2009-03-18s4-smbtorture: fix spoolss_EnumPrinterKey callers in RPC-SPOOLSS-WIN test.Günther Deschner1-23/+12
Kai, please check. Guenther
2009-03-18s4-smbtorture: fix spoolss_EnumPrinterDataEx tests.Günther Deschner2-3/+4
sorry, I could swear this did compile... Guenther
2009-03-17s4 torture: Win7 has a slightly different allowed access maskZach Loafman1-1/+7
Still investigating.
2009-03-17s4 torture: Add a string version for NT_STATUS_WIN7_INVALID_RANGEZach Loafman1-10/+29
Also submitted a request to cifs-protocol for a real name for this thing. Use win7 target logic in smb2 lock test, SMB2-LOCK now passes against Win7.
2009-03-17s4-smbtorture: fix spoolss notify test for notify type changes.Günther Deschner1-2/+2
Guenther
2009-03-17s4-smbtorture: fix test_EnumPrinterKey.Günther Deschner1-4/+4
Guenther
2009-03-17s4-smbtorture: fix RPC-SPOOLSS test after PrinterData changes.Günther Deschner2-8/+9
Guenther
2009-03-17s4-smbtorture: fix test_GetPrinterData tests after out pointer changes.Günther Deschner2-1/+5
Guenther
2009-03-15Merge branch 'tdr' of /home/jelmer/samba4Jelmer Vernooij1-1/+1
2009-03-15Remove -L/usr/lib from a couple more make variables.Jelmer Vernooij1-1/+1
2009-03-14s4-smbtorture: fix build warning in test_EnumPrintProcDataTypes.Günther Deschner1-1/+1
Guenther
2009-03-14Move tdr to top-level.Jelmer Vernooij1-1/+1
2009-03-11LDAP-BENCH-CLDAP: also test CLDAP rootdse searches.Stefan Metzmacher1-6/+79
metze
2009-03-10added a test that triggers a bug in the Samba3 notify codeAndrew Tridgell1-0/+169
The Samba3 internal notify code doesn't work correctly when there is more than one tree connect to the same smbd process. This change to the RAW-NOTIFY test triggers the bug.
2009-03-07s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.Günther Deschner1-0/+52
Guenther
2009-03-06s4-smbtorture: exit early in test_EnumPorts when no port info has been returned.Günther Deschner1-0/+2
Guenther
2009-03-06s4-smbtorture: fix s3 flavor rpc spoolss test.Günther Deschner1-0/+2
Guenther
2009-03-06s4-smbtorture: fix RPC-SPOOLSS-WIN.Günther Deschner1-1/+7
Guenther
2009-03-06s4-smbtorture: fix RPC-SPOOLSS test after enum out info pointer changes.Günther Deschner1-18/+30
Guenther
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