Andrew Bartlett
45082a88c7
s4-torture: Improve torture test boilerplate, use torture_assert()
...
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
2012-05-18 09:35:13 +02:00
David Disseldorp
281fc93c6b
libcli: move ioctl function field defs to smb_constants
...
Currently there are a lot of duplicate ioctl function field definitions
between source3 and source4.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-19 15:44:29 +02:00
Jelmer Vernooij
6dfd88ab0a
source4/torture/raw: Fix prototypes for all functions.
2011-03-19 03:20:04 +01:00
Andrew Bartlett
a394a8104e
torture/raw Allow one more 'not implemented' status return as a valid response
...
The Samba4 server responds to most ioctl calls with NT_STATUS_NOT_SUPPORTED
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-16 21:09:17 +10:00
Günther Deschner
fe59119e06
s4-smbtorture: try FSCTL_FIND_FILES_BY_SID with random blob data in RAW-IOCTL.
...
Guenther
2010-09-16 00:18:09 +02:00
Andrew Tridgell
84d0047377
s4-torture: ran minimal_includes.pl over source4/torture
...
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf674
)
2008-04-02 04:53:27 +02:00
Jelmer Vernooij
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139
)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
cd962355ab
r25000: Fix some more C++ compatibility warnings.
...
(This used to be commit 08bb1ef643
)
2007-10-10 15:05:27 -05:00
Jelmer Vernooij
919aa6b27e
r24735: Use torture API in more places.
...
(This used to be commit 1319d88c09
)
2007-10-10 15:03:00 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
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 fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Volker Lendecke
b7c5bc522b
r16907: Add an index parameter to torture_open_connection. Next step is to enable the
...
unclist parameter for all tests that do two connections, to enable cluster
testing.
Volker
(This used to be commit a5d6db0924
)
2007-10-10 14:09:58 -05:00
Stefan Metzmacher
5ff4b74df3
r15656: for NT IOCTL's we need to control the max_data field for some calls
...
metze
(This used to be commit 3cab02f6f5
)
2007-10-10 14:08:04 -05:00
Stefan Metzmacher
410fb90322
r15640: - NT IOCTL calls also have an 'in' data_blob
...
- fix the receive code of NT IOCTL's we only need the NTTRANS data payload
not the SMB payload here
metze
(This used to be commit 358d03143f
)
2007-10-10 14:07:25 -05:00
Jelmer Vernooij
909b111f58
r14720: Add torture_context argument to all torture tests
...
(This used to be commit 3c7a5ce291
)
2007-10-10 13:59:13 -05:00
Jelmer Vernooij
d09b70c98b
r14527: Fix build problems.
...
(This used to be commit 863ca4014d
)
2007-10-10 13:57:37 -05:00
Stefan Metzmacher
a1b295ed48
r14256: - rename smb_file -> smb_handle
...
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo
metze
(This used to be commit be6d5298a2
)
2007-10-10 13:57:06 -05:00
Stefan Metzmacher
307e43bb56
r14173: change smb interface structures to always use
...
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 2ef3f59709
)
2007-10-10 13:56:57 -05:00
Jelmer Vernooij
dfc517b053
r13658: More moving around of files:
...
- Collect the generic utility functions into a lib/util/ (a la GLib is
for the GNOME folks)
- Remove even more files from include/
(This used to be commit ba62880f5b
)
2007-10-10 13:52:05 -05:00
Jelmer Vernooij
78c50015bb
r12694: Move some headers to the directory of the subsystem they belong to.
...
(This used to be commit c722f665c9
)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
25bb00fbcd
r12693: Move core data structures out of smb.h into core.h
...
torture prototypes in seperate header
(This used to be commit 73610639b2
)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
2cd5ca7d25
r12542: Move some more prototypes out to seperate headers
...
(This used to be commit 0aca5fd513
)
2007-10-10 13:47:55 -05:00
Andrew Tridgell
655138602c
r10912: added a test for supporting batch oplock upgrades
...
(This used to be commit 1183af06b7
)
2007-10-10 13:39:41 -05:00
Andrew Tridgell
a703329908
r8122: more fixes from testing dos error code handling against w2k3
...
(This used to be commit b71fbcf5e2
)
2007-10-10 13:19:11 -05:00
Andrew Tridgell
759da3b915
r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
...
large commit. I thought this was worthwhile to get done for
consistency.
(This used to be commit ec32b22ed5
)
2007-10-10 13:09:15 -05:00
Andrew Tridgell
0e255bb542
r3699: - split the delayed write testing out of RAW-WRITE, as it is not yet
...
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 f7fb34715b
)
2007-10-10 13:05:45 -05:00
Andrew Tridgell
3643fb1109
r3463: separated out some more headers (asn_1.h, messages.h, dlinklist.h and ioctl.h)
...
(This used to be commit b97e395c81
)
2007-10-10 13:05:17 -05:00
Andrew Tridgell
ba6d5fcb97
r3324: made the smbtorture code completely warning free
...
(This used to be commit 7067bb9b52
)
2007-10-10 13:04:55 -05:00
Andrew Tridgell
4db039c3f3
r3254: - expanded the RAW-IOCTL test
...
- fixed the old ioctl interface to not check handle before failing
- pvs now passes RAW-IOCTL
(This used to be commit 98f6dbdba4
)
2007-10-10 13:04:46 -05:00
Stefan Metzmacher
c5fbb6f23c
r1654: rename cli_ -> smbcli_
...
rename CLI_ -> SMBCLI_
metze
(This used to be commit 8441750fd9
)
2007-10-10 12:57:47 -05:00
Tim Potter
9a6388179b
Convert libcli routines to return NTSTATUS instead of BOOL. Again, the
...
only users are smbclient and smbtorture.
(This used to be commit 54cb508c78
)
2004-02-10 11:33:35 +00:00
Tim Potter
4639eb5a58
Convert libcli routines to use cli_tree instead of cli_state. Port
...
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 db1cc96af6
)
2004-02-08 00:51:07 +00:00
Andrew Tridgell
926240428c
* patch based on work by Jim Myers to unify the ioctl handling to be
...
more like the other major SMB functions
* added SMBntrename code
(This used to be commit f2d3dc9893
)
2003-12-04 02:03:06 +00:00
Andrew Tridgell
ef2e26c91b
first public release of samba4 code
...
(This used to be commit b0510b5428
)
2003-08-13 01:53:07 +00:00