summaryrefslogtreecommitdiff
path: root/source4/torture/raw/setfileinfo.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-18s4-torture: Improve torture test boilerplate, use torture_assert()Andrew Bartlett1-9/+3
This ensures that if this fails, it is reported as a subunit error correctly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri May 18 09:35:13 CEST 2012 on sn-devel-104
2011-03-19source4/torture/raw: Fix prototypes for all functions.Jelmer Vernooij1-0/+1
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-10/+9
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
2010-06-21s4 torture: RAW-SFILEINFO display warning instead of error on unsupported ↵Aravind Srinivasan1-4/+24
info level Also add a test to make sure setting the directory attribute is disallowed. Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-04-11subunit: Remove more test output that could be interpreted by subunit.Jelmer Vernooij1-13/+13
2010-04-06s4:torture - remove unused variablesMatthias Dieter Wallnöfer1-1/+0
2010-02-02Change uint_t to unsigned int in source4Matt Kraai1-3/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-18s4 torture: Add test to show archive bit behavior with directoriesZachary Loafman1-0/+153
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-12-01s4 torture: Update RAW-SFILEINFO-END-OF-FILE to test some additional corner ↵Tim Prouty1-19/+104
cases It turns out setting the end-of-file with Trans2SetPathInfo using the snia spec's info level will attempt to open the file, enforcing share modes, but then subsequentlys fail the setpathinfo with a dos error of INVALID_LEVEL. Doing a Trans2SetFileInfo with either end-of-file info level succeeds as expected.
2009-12-01s4 torture: Change RAW-SFILEINFO-END-OF-FILE to check for share modes by defaultTim Prouty1-7/+5
Since the windows behavior appears to be a bug, only check for the windows-style share mode bug if target=<windows variant> is specified
2009-11-25s4 torture: Add two new setfileinfo testsTim Prouty1-0/+191
These tests expose a potential bug in winXP, win7, and likely others. There is also a bug in samba where share modes aren't being enforced where they should. For more details see: http://lists.samba.org/archive/cifs-protocol/2009-November/001130.html
2009-11-25s4 torture: Split up the torture suite setup for RAW-SFILEINFOTim Prouty1-6/+20
A side effect of this change is that RAW-SFILEINFO now runs the whole suite instead of just the first test. I changed the name of the first test to RAW-SFILEINFO-BASE and changed all of the selftest scripts that call it.
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-3/+0
This reduces compile time somewhat.
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-02-29RAW-SFILEINFO-RENAME: test renaming of directories by path and handleStefan Metzmacher1-8/+84
metze (This used to be commit ce2b7cec10af5bb222715e2e3c0ff139f659ed6e)
2008-02-29RAW-SFILEINFO-RENAME: test renaming by path while a handle is open on a fileStefan Metzmacher1-0/+25
metze (This used to be commit 6c0395d4d980c6165ee0a378b632bced22e8f1d3)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-18/+18
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25034: Remove unused variables.Jelmer Vernooij1-3/+3
(This used to be commit ec1c68e3a640dbf5e514d9f2d1bb4890528b3fd0)
2007-10-10r24994: Fix some C++ warnings.Jelmer Vernooij1-0/+1
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10r24735: Use torture API in more places.Jelmer Vernooij1-52/+26
(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-10r23491: Split out the RENAME trans2 call into a separate testVolker Lendecke1-14/+65
(This used to be commit 80244f1ee66c3dbcc2958db4fa9ed333d9f0b40c)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij1-1/+1
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke1-2/+2
enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
2007-10-10r16707: - test attrib = 0 in BASIC_INFOStefan Metzmacher1-5/+9
- return an error when value doesn't match the expected value! metze (This used to be commit 1f0ecba77344af4dcec71143de0b14ee2565d422)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-2/+2
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14527: Fix build problems.Jelmer Vernooij1-0/+1
(This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher1-10/+10
- 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-9/+9
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-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-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+1
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r9042: fixed the valgrind error in the RAW-SFILEINFO testAndrew Tridgell1-0/+9
(This used to be commit eaf079e33f3e2d933b7310cf076d572b6988cbb4)
2007-10-10r9008: check the return status for the directory handle creationsAndrew Tridgell1-1/+1
(This used to be commit 57e44300f73bbf190a0282925591b7dd1dfc2b6b)
2007-10-10r8494: fixed a bug in RAW-SFILEINFO that caused inconsistent results on ↵Andrew Tridgell1-0/+2
different platforms (This used to be commit 9264555541a0e251730010a75d063f56971249a2)
2007-10-10r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for theAndrew Tridgell1-1/+1
large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10r4422: make lp_set_cmdline("torture:dangerous", "Yes") a bool parameterStefan Metzmacher1-1/+1
metze (This used to be commit 19482a2245abbf9154423ca8997957b56333fba2)
2007-10-10r3699: - split the delayed write testing out of RAW-WRITE, as it is not yetAndrew Tridgell1-2/+3
clear what the correct behaviour is for delayed stat info update. - use a common torture_setup_dir() function for setting up a test directory in torture tests. (This used to be commit f7fb34715b7d6ea3c35ddd684cfb27459a420339)
2007-10-10r3594: continue conversion to __location__ from __LINE__ for error reportingAndrew Tridgell1-9/+9
(This used to be commit 425e36ca4dd98d3fee8ab5bb775cb15dfa27f8fa)
2007-10-10r3447: more include/system/XXX.h include filesAndrew Tridgell1-0/+1
(This used to be commit 264ce9181089922547e8f6f67116f2d7277a5105)
2007-10-10r3324: made the smbtorture code completely warning freeAndrew Tridgell1-2/+2
(This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)
2007-10-10r1654: rename cli_ -> smbcli_Stefan Metzmacher1-17/+17
rename CLI_ -> SMBCLI_ metze (This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell1-3/+3
structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
2007-10-10r336: added a -X command line option to smbtorture to enable dangerous orAndrew Tridgell1-0/+5
possibly destructive tests. Use with care! Added IDL and test code for samr_Shutdown() and samr_SetDsrmPassword() (This used to be commit 84de0b7e58c69e0817b9d475de0895a54cc95927)
2007-10-10r152: a quick airport commit ....Andrew Tridgell1-1/+1
added ldbedit, a _really_ useful command added ldbadd, ldbdel, ldbsearch and ldbmodify to build solved lots of timezone issues, we now pass the torture tests with client and server in different zones fixed several build issues I know this breaks the no-LDAP build. Wait till I arrive in San Jose for that fix. (This used to be commit af34710d4da1841653624fe304b1c8d812c0fdd9)
2004-02-10Convert libcli routines to return NTSTATUS instead of BOOL. Again, theTim Potter1-2/+2
only users are smbclient and smbtorture. (This used to be commit 54cb508c78e5c1faa3ade46b46b165983c880d10)
2004-02-08Convert libcli routines to use cli_tree instead of cli_state. PortTim Potter1-15/+15
smbtorture to use the new interface. Part 2 will be to eliminate cli_state from smbtorture as this is now the only place where it is used. (This used to be commit db1cc96af62ea42837d60592877fc3f93cef143b)
2003-10-10fixed snprintf.c for systems that have only some of the *printf() family of ↵Andrew Tridgell1-3/+3
functions cope with servers that return bogus (too large) values in max_xmit cope with a couple more error conditions in RAW-SFILEINFO better startup time heuristics in NBENCH (This used to be commit 89f7261ba589e5760b3cf9c3594eab9d7198dd7e)
2003-09-02thanks to ntfsd and some google searches I worked out what the unknownAndrew Tridgell1-1/+9
fields in level 261 and level 262 of directory search are, plus the names of the levels the unknown fields are a 64bit unique file id, and match the 64 bit number from the internal_information qfileinfo level (This used to be commit b69f54eb028a24144a2e813f059b08644118ab09)
2003-08-15Print out position info, ensure NT_RENAME info level only worksJeremy Allison1-0/+4
in a directory. Jeremy. (This used to be commit d623a51da07e3077b5dc2f92787a3ca848feb113)