summaryrefslogtreecommitdiff
path: root/source4/torture/raw/notify.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r22670: changed the RAW-NOTIFY test to support clustered testing (two nodes)Andrew Tridgell1-14/+25
(This used to be commit 12ce85aea16379b9946851806c1782272ee1c48f)
2007-10-10r21125: Tridge, please check this closely if this relaxed notify test isVolker Lendecke1-21/+55
acceptable. In Samba3 with inotify we have the problem that the MODIFIED action is sent second. I think this could also happen in Samba4, depending on the order when the different sockets (unix domain dgram / inotify) are looked at by the events system. This patch accepts the NEW/OLD/MODIFIED entries in any order. Comments welcome! Volker (This used to be commit 72a7771b757c3aca637eb632abebab60bdd2da9f)
2007-10-10r21124: Samba3 does not support create times correctly.Volker Lendecke1-7/+15
Volker (This used to be commit c9886ce63b8cc085e0032ad2f6193c547336856d)
2007-10-10r18371: made the directory depth notify test independent of timingAndrew Tridgell1-11/+29
(This used to be commit 39458e62f576c551df016a7be4d35175dc21696e)
2007-10-10r18355: increase the delays waiting for all events to propogate in theAndrew Tridgell1-4/+4
RAW-NOTIFY test. (This used to be commit 81fd19ba3f38ac19d8bcac56210a83fdfc8237de)
2007-10-10r17020: pass the real error to the failing requestsStefan Metzmacher1-2/+2
metze (This used to be commit 49b96ac44a883c020c69df7a12df154dc4faa4d5)
2007-10-10r17015: add a test that closes the tcp connection with an outstandingStefan Metzmacher1-0/+67
notify request metze (This used to be commit d90313f715e999bb925a154b8431c77638a19a50)
2007-10-10r16980: - make struct smb_notify a union and add levels ↵Stefan Metzmacher1-140/+149
RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2 - parse SMB2 Notify reponse metze (This used to be commit de50e0ccddfad16ad7b254770f4c52c1abe707b9)
2007-10-10r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke1-4/+4
enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
2007-10-10r14969: ensure that even on slow machines we leave plenty of time for a seriesAndrew Tridgell1-1/+1
of events to propogate internally in smbd before asking for them (the test was failing on slow machines) (This used to be commit a493539458ff092262667d07b0dab2f2ee1ba7bf)
2007-10-10r14956: change the notify search to be much more efficient by using aAndrew Tridgell1-0/+115
per-depth bisection search. This makes the notify_trigger() call log(N) which makes us scale well for large numbers of outstanding notifies (This used to be commit 16fd00925fdbf77e7a403ad501bf6ea429404c76)
2007-10-10r14948: add testing of truncate events, and add truncate support to inotifyAndrew Tridgell1-1/+10
backend (This used to be commit b80523a631ec57c7d19e9a23dca4594d71036138)
2007-10-10r14942: make the RAW-NOTIFY test check the strange file rename semantics. AlsoAndrew Tridgell1-19/+53
be more forgiving of matching on extra bits (inotify cannot match on minimal bits for all events). (This used to be commit 29de884737ada8c1094b6e0958b54f523a7cdbf4)
2007-10-10r14935: try to avoid a race condition in the recursion testAndrew Tridgell1-1/+1
(This used to be commit 659576806fef066203551281cab4dc5cd3234ff7)
2007-10-10r14934: greatly expand the RAW-NOTIFY testing of completion filters. We nowAndrew Tridgell1-0/+185
try each bit in the completion filter separately for a wide range of file operations. (This used to be commit 81f8b24526515d7a914022859fb03421c3a7611b)
2007-10-10r14928: demonstrate that the completion filter is only set on the first notifyAndrew Tridgell1-0/+1
on a directory handle (This used to be commit b6e40d9b0832fbab662f9289a30c26e2576b4821)
2007-10-10r14927: expand the RAW-NOTIFY test to test recursive and rename handlingAndrew Tridgell1-1/+115
(This used to be commit e6abb1ecbaa19e8b4627a279e420f8ecdf776e26)
2007-10-10r14794: added a test to see what happens when you send a notify request on aAndrew Tridgell1-0/+66
handle that already has a notify request pending. It turns out that they are queued (This used to be commit 15e9302bcd20a91446b19033333b743f1d257a66)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+1
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14680: add some tests which demonstrate that closing the dir handleStefan Metzmacher1-0/+199
triggers an empty notify reply with NT_STATUS_OK metze (This used to be commit 590dd49207342031fed902701f4214f3b1d6397c)
2007-10-10r14539: get rid of a pointless union layer in struct smb_notifyAndrew Tridgell1-45/+45
(This used to be commit 1e1c5593817e84c59c1a10b5a3c1957e363e5198)
2007-10-10r14527: Fix build problems.Jelmer Vernooij1-0/+1
(This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
2007-10-10r14446: demonstrate the notifies on files are not allowedStefan Metzmacher1-16/+92
metze (This used to be commit 74868726ae4fd8010c2e10d2f300b9725ca7ab33)
2007-10-10r14444: - make clear that a canceled notify directly returns without any ↵Stefan Metzmacher1-16/+42
other event - test mkdir - rmdir - mkdir - rmdir sequence, this gets 4 notify events back - add some comments to the multiple directory handle and buffered cases metze (This used to be commit e2b3816212b9c209d9f74f87c5cd72ca0d38c2e6)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher1-6/+6
- move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
2007-10-10r14173: change smb interface structures to always useStefan Metzmacher1-30/+30
a union smb_file, to abtract - const char *path fot qpathinfo and setpathinfo - uint16_t fnum for SMB - smb2_handle handle for SMB2 the idea is to later add a struct ntvfs_handle *ntvfs so that the ntvfs subsystem don't need to know the difference between SMB and SMB2 metze (This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
2007-10-10r14059: change notify is quite a bit more complex than we thought. These testsAndrew Tridgell1-5/+85
show that w2k3 buffers notifies on directories where you have used notify previously, thus giving you notifications on events that happen even when you do not have a current notify call outstanding. This makes it much easier for clients to avoid race conditions, which is probably why it is done. It also means that associating change notifies in Samba with outstanding change notify requests won't work - instead we have to associate them with buffers on open directories. (This used to be commit 8c5c8846f58c3f4b852c27dcecea8dfe21da58b6)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij1-0/+1
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij1-0/+1
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-1/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+1
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)