summaryrefslogtreecommitdiffstats
path: root/source4/torture/raw/read.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:torture: let raw.read accept larger reads than 0x10000Stefan Metzmacher2013-03-201-4/+2
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Mar 20 21:53:20 CET 2013 on sn-devel-104
* s4:torture: raw.read fix large reads against windowsStefan Metzmacher2013-03-201-9/+3
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s4-torture: Improve torture test boilerplate, use torture_assert()Andrew Bartlett2012-05-181-15/+5
| | | | | | | | | 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
* source4/torture/raw: Fix prototypes for all functions.Jelmer Vernooij2011-03-191-0/+1
|
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-111-2/+2
| | | | | | | | 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
* Change uint_t to unsigned int in source4Matt Kraai2010-02-021-6/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4 torture: Add lockread_supported based off of CAP_LOCK_AND_READZachary Loafman2009-12-031-0/+5
| | | | Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4 torture: Allow READ to be parameterized, add more readx testsZachary Loafman2009-12-031-2/+29
| | | | Signed-off-by: Tim Prouty <tprouty@samba.org>
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-2/+0
| | | | This reduces compile time somewhat.
* s4-smb: declare root_fid as a file handleAndrew Tridgell2009-10-151-3/+3
| | | | | | 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.
* s4 now supports the large readx extensionAndrew Tridgell2009-08-051-6/+11
|
* skip the readbraw tests if the server does not support itAndrew Tridgell2009-08-051-0/+5
| | | | This allows the RAW-READ test to pass against w2k8
* Remove unused include param/param.h.Jelmer Vernooij2008-10-241-1/+0
|
* check use of mincnt past EOF in SMBAndrew Tridgell2008-05-261-0/+17
| | | | (This used to be commit 763c9d344fa55da7a24c250d29542837c3ae3971)
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-021-0/+1
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij2007-12-211-3/+3
| | | | | | uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-101-39/+39
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r25430: Add the loadparm context to all parametric options.Jelmer Vernooij2007-10-101-3/+3
| | | | (This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
* r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij2007-10-101-3/+3
| | | | | | number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij2007-10-101-5/+5
| | | | (This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
* r24735: Use torture API in more places.Jelmer Vernooij2007-10-101-31/+25
| | | | (This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-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)
* r20078: support the large samba3 reads in RAW-READ testAndrew Tridgell2007-10-101-4/+14
| | | | (This used to be commit a4c2a575faf6a20174730524a8b2878eb9fdb50d)
* r20059: james was asking about CAP_LARGE_READX and reads close to the 64kAndrew Tridgell2007-10-101-0/+20
| | | | | | | | boundary. This test shows that both for Samba4 and w2k3, reads larger than or equal to 64k don't work (return zero bytes). Not that I claim this is very useful behaviour :-) (This used to be commit a10fa12ff5657a96e41b309558786780f294a75f)
* r19506: fixed remaining parts of RAW-READ and RAW-WRITE tests to check forAndrew Tridgell2007-10-101-36/+46
| | | | | CAP_LARGE_FILES (This used to be commit 66bebb210550793d0e7fe1b6a03a5140455ae72f)
* r19504: - fixed a free error in file_lines_parseAndrew Tridgell2007-10-101-0/+5
| | | | | | | | | | - added a function to test for large file support - enable CAP_LARGE_FILES only if the test passes - don't test at large offsets if the server doesn't set CAP_LARGE_FILES (This used to be commit c5423ea22bdaa055807d4e6f7ac4be934194fe45)
* r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
* r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell2007-10-101-1/+1
| | | | | | | | | emacs compile mode (hint, paste to a file, and compile as "cat filename"). This allowed me to fix nearly all the warnings for a IA_64 SuSE build very quickly. (This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
* r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | | | enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
* r15685: let samba3 pass RAW-READ and ignore one bugStefan Metzmacher2007-10-101-1/+6
| | | | | | | | this demonstrates how the target:samba3=yes option passed in samba3's make test can be used in samba4's smbtorture metze (This used to be commit 856656739c8765f9591ff7982b8a708a34d4a1d1)
* r15122: test what access masks are needed when using the ↵Stefan Metzmacher2007-10-101-15/+159
| | | | | | | | | FLAGS2_READ_PERMIT_EXECUTE flag. metze (This used to be commit d298e4760c1edf49f3c935304b466ba04989c32b)
* r14720: Add torture_context argument to all torture testsJelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
* r14527: Fix build problems.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
* r14256: - rename smb_file -> smb_handleStefan Metzmacher2007-10-101-16/+16
| | | | | | | | - move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
* r14208: removed use of req->flags2 inside the ntvfs layer. This should helpAndrew Tridgell2007-10-101-0/+2
| | | | | | | | metze on his quest to unify the ntvfs strucures for the smb and smb2 servers. The only place we needed flags2 inside ntvfs was for the FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a readx.in.read_for_execute flag instead. (This used to be commit b78abbbce60ab0009da19a72dd769800c44298a2)
* r14173: change smb interface structures to always useStefan Metzmacher2007-10-101-16/+16
| | | | | | | | | | | | | 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)
* r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
* r12693: Move core data structures out of smb.h into core.hJelmer Vernooij2007-10-101-0/+1
| | | | | torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
* r9876: Fix some 64-bit warnings for Itanium machine.Tim Potter2007-10-101-2/+2
| | | | (This used to be commit 9e375d82e828879704442e5a27a9938015953de2)
* r5298: - got rid of pstring.h from includes.h. This at least makes it a bitAndrew Tridgell2007-10-101-0/+1
| | | | | | | | | | less likely that anyone will use pstring for new code - got rid of winbind_client.h from includes.h. This one triggered a huge change, as winbind_client.h was including system/filesys.h and defining the old uint32 and uint16 types, as well as its own pstring and fstring. (This used to be commit 9db6c79e902ec538108d6b7d3324039aabe1704f)
* r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for theAndrew Tridgell2007-10-101-1/+1
| | | | | | large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
* r4591: - converted the other _p talloc functions to not need _pAndrew Tridgell2007-10-101-4/+4
| | | | | | | | | | | | - added #if TALLOC_DEPRECATED around the _p functions - fixes the code that broke from the above while doing this I fixed quite a number of places that were incorrectly using the non type-safe talloc functions to use the type safe ones. Some were even doing multiplies for array allocation, which is potentially unsafe. (This used to be commit 6e7754abd0c225527fb38363996a6e241b87b37e)
* r4063: - change char * -> uint8_t in struct request_bufferStefan Metzmacher2007-10-101-7/+7
| | | | | | | | | - change smbcli_read/write to take void * for the buffers to match read(2)/write(2) all this fixes a lot of gcc-4 warnings metze (This used to be commit b94f92bc6637f748d6f7049f4f9a30b0b8d18a7a)
* r3699: - split the delayed write testing out of RAW-WRITE, as it is not yetAndrew Tridgell2007-10-101-12/+4
| | | | | | | | 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)
* r3447: more include/system/XXX.h include filesAndrew Tridgell2007-10-101-0/+1
| | | | (This used to be commit 264ce9181089922547e8f6f67116f2d7277a5105)
* r3419: moved the libcli/raw structures into libcli/raw/libcliraw.hAndrew Tridgell2007-10-101-0/+1
| | | | | and made them private (This used to be commit 386ac565c452ede1d74e06acb401ca9db99d3ff3)
* r3324: made the smbtorture code completely warning freeAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)
* r3242: make the RAW-READ test not exercise the 0-0 lock, which is not ↵Andrew Tridgell2007-10-101-4/+6
| | | | | | deterministic (This used to be commit ecd4e315b99a0f2aa021937308c7b93c33efbd93)
* r3235: try readx beyond 64k in RAW-READAndrew Tridgell2007-10-101-6/+17
| | | | (This used to be commit e07c557eca19c0dc17473090bde45c27953aaf65)