Age | Commit message (Collapse) | Author | Files | Lines |
|
There seems to be a difference if the initial delete_on_close flag
was set on a handle that created the file or if the handle if was
for a file that already existed.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Aug 17 21:44:24 CEST 2012 on sn-devel-104
|
|
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Thu Aug 9 18:01:50 CEST 2012 on sn-devel-104
|
|
|
|
|
|
check_delete_on_close()
|
|
[-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
|
|
|
|
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
|
|
the merged variant is renamed to smb_msleep as some platforms already have a
msleep function.
|
|
This test opens a directory with delete on close, opens it again,
and checks to make sure that the second open returned with
NT_STATUS_DELETE_PENDING.
|
|
This reduces compile time somewhat.
|
|
torture test
This second patch fixes the deltest17 BASE-DELETE torture test to pass
against win2k3/win2k8/winXPsp2
|
|
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
|
|
(This used to be commit 80a61200508a00d5b16a3e748ce92d54b9fefcd2)
|
|
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
|
|
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)
|
|
Jeremy.
(This used to be commit 7b9b5c59a4ac2afca151ba12eba7c808057a677e)
|
|
uses so we don't regress :-).
Jeremy.
(This used to be commit 5ce41ae40c5413bb9f15d1c47a095f63d7f167e0)
|
|
This will break all delete tests on the build farm
until I check in my server patch.
Jeremy.
(This used to be commit c31f775f1c8f6f7e50d038d093898a1f4280be23)
|
|
(This used to be commit 72ee4707725e9bbc9ab564315c7d78bdc564256f)
|
|
(This used to be commit 966c30ca591c410a4a229396c7919fe8f98bd066)
|
|
Don't actually
unlink/rmdir if another process still has it open.
Jeremy, this is a potential merger to 3.0.24.
Volker
(This used to be commit d0550a01af219344ec2e4c16d5253814afc89974)
|
|
tests as
known failing.
(This used to be commit 3855ec9dcaa694fffa1f2a24205d490708d12750)
|
|
output in the testsuite rather than just True or False for a
set of tests.
The aim is to use this for:
* known failure lists (run all tests and detect tests that
started working or started failing). This
would allow us to get rid of the RPC-SAMBA3-* tests
* nicer torture output
* simplification of the testsuite system
* compatibility with other unit testing systems
* easier usage of smbtorture (being able to run one test
and automatically set up the environment for that)
This is still a work-in-progress; expect more updates over the next couple of
days.
(This used to be commit 0eb6097305776325c75081356309115f445a7218)
|
|
metze
(This used to be commit 49b96ac44a883c020c69df7a12df154dc4faa4d5)
|
|
enable the
unclist parameter for all tests that do two connections, to enable cluster
testing.
Volker
(This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
|
|
of smb_search_data
metze
(This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
|
|
/* Test 21 -- Test removal of file after socket close. */
I think it might be because they are too slow to delete the file.
Jeremy, can you check this test does not change semantics in a way you don't
want it?
Volker
(This used to be commit 92aa95f8206364a832bd6ad8cebc030bc001d940)
|
|
all...
Volker
(This used to be commit 1d4a129bb56ef7b944dbd386313ea8345a675e6f)
|
|
but making it a global symbol is really bad...
fix linking on sun1 in the build-farm
metze
(This used to be commit d073320f642ceeb49b11060aa958608248f3aff5)
|
|
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
|
|
(This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
|
|
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo
metze
(This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
|
|
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)
|
|
track down where a error is happening. The semantics sure are strange!
(This used to be commit f722aed66d19edc6b49ecde927853aaa7895ab91)
|
|
close after setting delete on close flag.
Jeremy.
(This used to be commit fbea18e78f8a3c6dbb36aa935b7044c0fcf61da4)
|
|
metze
(This used to be commit 67837dbd2bcff8ec1917ba02884ee2eaa0776b46)
|
|
sent me arrived on time... :-).
Refactor this code to make it comprehensible. Tested
against W2K3 SP 1 and W2K SP 4. Test 19 is different
from what I thought. Turns out delete on close on
"open" of a directory (not create) does have an
effect - even if not reported in the flag bit.
trige please test against Vista (my XP box is
refusing to serve at the moment - have to reinstall).
Jeremy.
(This used to be commit 2b708e26185bfc0a909a33e74e67dd2101c3bbbe)
|
|
(This used to be commit 70ad98b05136da0cdbd91b8374ac9709abfcadeb)
|
|
now passes for me for W2K and W2K3... booting the XP
box to test it...
Jeremy.
(This used to be commit 0133ba78c15b10e925f4e26e163656aa7cd11476)
|
|
Jeremy.
(This used to be commit 0b61a8df3c1b5b1a73bf6afd0404871286d3a2fc)
|
|
Jeremy.
(This used to be commit 7986af2ece2e707ee3d98dadb37af9fc5126d138)
|
|
Jeremy.
(This used to be commit ae0851ce667c0559e786c3a83389ccfddce1a813)
|
|
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
|
|
torture prototypes in seperate header
(This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
|
|
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
|
|
Jeremy, to run this against Samba3 at all you need to insert a "goto line 957"
in line 548. Without this we fail some tests before # 16 and bail out.
While looking at it, you wanted to fix the directory-based ones a while
ago.... :-))
Volker
(This used to be commit 45cd224102f21364c4f6ca056417f956f21eb02e)
|
|
(This used to be commit aaa21b7132ec81008ad2ec7b2aafc4604d13093d)
|
|
Volker
(This used to be commit 71571fffc0493a5658c5980e6ebe4d8f9ada4699)
|
|
Creating a file in a directory with delete-on-close set returns
DELETE_PENDING, and trying to set the flag on a non-empty directory returns
DIRECTORY_NOT_EMPTY.
Volker
(This used to be commit 5680f34778b2f5291936f4d4fb937a7713696c52)
|