summaryrefslogtreecommitdiff
path: root/source4/torture/raw/notify.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-18s4-torture: Fix the raw.notify mask testVolker Lendecke1-0/+4
When we do the notify triggers via a different client connection, adding the notify record becomes subject to a race. Add a dummy operation after the initial changenotify request was sent to make sure the notify record actually arrived. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 19:47:53 CEST 2012 on sn-devel-104
2012-04-18s4-torture: Use 2 client connections for raw.notify.maskVolker Lendecke1-19/+20
This makes the test more interesting in a cluster
2012-04-18s4-torture: Use 2 client connections for raw.notify.treeVolker Lendecke1-3/+9
This makes the test more interesting in a cluster
2012-04-18s4-torture: Use 2 client connections for raw.notify.recursiveVolker Lendecke1-6/+13
This makes the test more interesting in a cluster
2012-04-18s4-torture: notify all is empty nowVolker Lendecke1-19/+0
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 15:16:13 CEST 2012 on sn-devel-104
2012-04-18s4-torture: Separate out the notify alignment subtestVolker Lendecke1-4/+9
2012-04-18s4-torture: Separate out the notify basedir subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify overflow subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify tree subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify double subtestVolker Lendecke1-2/+7
2012-04-18s4-torture: Separate out the notify tcp_dis subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify ulogoff subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify exit subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify tdis subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify file subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify mask_change subtestVolker Lendecke1-2/+9
2012-04-18s4-torture: Separate out the notify recursive subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify mask subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify dir subtestVolker Lendecke1-3/+9
2012-04-18s4-torture: Separate out the notify tcon subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Make notify a suiteVolker Lendecke1-3/+12
2011-11-21Fix a bunch of "warning: variable ‘XXXX’ set but not used ↵Jeremy Allison1-2/+1
[-Wunused-but-set-variable]" warnings from the new gcc. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 21 23:39:08 CET 2011 on sn-devel-104
2011-03-19source4/torture/raw: Fix prototypes for all functions.Jelmer Vernooij1-0/+1
2010-10-20smbtorture: Fix typo in status message.James Peach1-1/+1
2010-09-16s3/s4: merge msleep and smb_msleepBjörn Jacke1-4/+4
the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
2010-08-27s4:torture/raw/notify.c - freeable stuff shouldn't be "const"Matthias Dieter Wallnöfer1-1/+1
2010-07-06s4:libcli: Modify S4 client library to check for proper CN alignmentSteven Danneman1-1/+99
MS-CIFS 2.2.7.4.2 states that FILE_NOTIFY_INFORMATION structures in change notify replies must be aligned to 4-byte boundaries. This updates s4 client to check for this restriction and also adds a torture test which should tickle a server into giving unaligned structures if it doesn't follow the spec.
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij1-46/+46
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-1/+0
This reduces compile time somewhat.
2009-10-15s4-smb: declare root_fid as a file handleAndrew Tridgell1-14/+14
In order to implement root_fid in the s4 SMB server we need to declare it as a handle type, just as for other fnum values in SMB. This required some extensive (but simple) changes in many bits of code.
2009-10-02s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer1-4/+2
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-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
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
2008-09-30Use a getatr instead to make things cleaner.root1-2/+4
Jeremy.
2008-09-30Add in test name visible on the wire or in debug logs so you can see when ↵Jeremy Allison1-16/+17
particular tests start. Jeremy.
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2007-12-21r26249: Remove a couple more uses of global_loadparm.Jelmer Vernooij1-16/+16
(This used to be commit 80a61200508a00d5b16a3e748ce92d54b9fefcd2)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-11/+11
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-80/+80
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-1/+1
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-2/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-3/+3
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24735: Use torture API in more places.Jelmer Vernooij1-28/+16
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23734: Add a test to prove tridge's theory that the mask, once setJeremy Allison1-2/+119
on an open directory handle, is never changed. (He's right btw :-). Jeremy. (This used to be commit bf9242ad4561239fbc6e05c6879726f0df202f56)
2007-10-10r22886: Workaround to make RAW-NOTIFY a bit more reliable against Samba3. ItVolker Lendecke1-0/+1
might take a bit for events to propagate from one to another connection, in particular with a process per connection. (This used to be commit 0c7a518b2dad83dc78f3e3058fd8e1267d0e928f)
2007-10-10r22838: Add in an explority test for what QFSINFO operations are valid on IPC$Andrew Bartlett1-2/+2
It seems most opertaions are supported, but that the values are not consistant. I think these are very much hand-hacked stubs, which is what they will be on Samba4 too. I'll need to add some more 'don't fail for...' hacks before this passes against Win2k3. Andrew Bartlett (This used to be commit dcb858d0c716b23be6c5d36b4aa6f155582ada63)
2007-10-10r22813: improve error messages in RAW-NOTIFY testAndrew Tridgell1-4/+17
(This used to be commit f5b2011db9b05fcca82f6a6b3976aa1b4924b0a8)