summaryrefslogtreecommitdiff
path: root/source4/torture/raw
Commit message (Collapse)AuthorAgeFilesLines
* s4-smbtorture: Set result message when failing the inheritance test.Alexander Werth2013-05-091-0/+7
| | | | | Reviewed-By: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* 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>
* torture: Fix memcmp of short buffer.Andreas Schneider2013-02-221-2/+2
| | | | Reviewed-by: Alexander Bokovoy <ab@samba.org>
* Add samba3.samba3badnameblob test to check regressions in bug #9215.Jeremy Allison2012-10-012-0/+139
| | | | | | | Bad name in SMB1 openX can cause a crash in iconv inside glibc. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Oct 1 23:29:25 CEST 2012 on sn-devel-104
* s4:torture: fix error reporting in the raw.oplock-brl3 testMichael Adam2012-09-141-2/+1
| | | | | | | Error was assigned to a variable that was not returned. Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Sep 14 14:05:20 CEST 2012 on sn-devel-104
* smbtorture: Test that delete requests are not specialVolker Lendecke2012-09-101-0/+78
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* Now ACL inheritance flags are working, add test_inheritance_flags() back ↵Jeremy Allison2012-08-301-5/+10
| | | | into raw.acls to ensure we don't regress.
* s4-torture: Show that we cannot list extended attributes on streamsAndrew Bartlett2012-08-201-0/+11
|
* s4-torture: Show that we cannot have extended attributes on streamsAndrew Bartlett2012-08-201-2/+17
|
* s4-torture: Improve raw.streams test to cover EAs and to use torture_assert()Andrew Bartlett2012-08-201-34/+25
| | | | | | | | | | The extension of this test is to create an extended attribute, so we can confirm that the easize field on a stream actually refers to the parent file. This has been run against Windows 7. Andrew Bartlett
* torture: Reproducer for 64c0367Volker Lendecke2012-08-101-0/+20
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s4:torture: send the TCONX_FLAG_EXTENDED_RESPONSE flagStefan Metzmacher2012-08-023-5/+5
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Aug 2 10:54:18 CEST 2012 on sn-devel-104
* s4:torture/raw: add raw.session.expire1Stefan Metzmacher2012-06-221-0/+200
| | | | | | | This demonstrates the interaction of CAP_DYNAMIC_REAUTH and NT_STATUS_NETWORK_SESSION_EXPIRED. metze
* s4:torture: fix use of non-existent word (existant)Michael Adam2012-06-125-9/+9
|
* s4:torture: Add raw.session.reauth2 testVolker Lendecke2012-05-181-0/+142
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 18 18:25:42 CEST 2012 on sn-devel-104
* s4:torture: rename raw.session.reauth => raw.session.reauth1Stefan Metzmacher2012-05-181-3/+3
| | | | metze
* s4-torture: Improve torture test boilerplate, use torture_assert()Andrew Bartlett2012-05-1815-225/+75
| | | | | | | | | 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
* s4:torture/raw/context: test a session setup with a given invalid vuidStefan Metzmacher2012-05-091-17/+29
| | | | | | | | | | On a session setup with EXTENDED_SECURITY we'll get ERRSRV:ERRbaduid, while a session setup without EXTENDED_SECURITY ignores the given vuid. Before this test was doing a reauth of a given vuid, which works for newer Windows versions, but Windows 2000 gives INVALID_PARAMETER. metze
* s4:torture/raw/context: add subtests as torture testcasesStefan Metzmacher2012-05-081-46/+20
| | | | | | | | | | | | | TODO: add test_session with 'use spnego = false'. We need a way to do set an option just for one test case. Note: the 'use spnego = false' was ignored before as it's only used on the first session setup on a connection. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 8 04:50:39 CEST 2012 on sn-devel-104
* s4:torture/raw/context: INVALID_PARAMETER vs. LOGON_FAILURE...Stefan Metzmacher2012-05-081-1/+7
| | | | | | | | If the try a session setup without EXTENDED_SECURITY after one with EXTENDED_SECURITY Windows 2008 R2 returns INVALID_PARAMETER, while Windows 2000 sp4 returns LOGON_FAILURE... metze
* s4:torture/raw: make torture_raw_context a test suiteStefan Metzmacher2012-05-082-3/+12
| | | | metze
* s4:torture/raw/context: make use of torture_* macros and avoid 'printf'Stefan Metzmacher2012-05-081-100/+87
| | | | metze
* s4:torture/raw/context: pass tctx to test_pid_exit_only_sees_open()Stefan Metzmacher2012-05-081-1/+3
| | | | metze
* s4:torture/raw/session: make sure we got a reauth of the existing sessionStefan Metzmacher2012-05-081-0/+2
| | | | metze
* s4:torture: add a check for talloc success in test_session_reauthVolker Lendecke2012-05-041-0/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri May 4 16:50:59 CEST 2012 on sn-devel-104
* s4-torture: convert samba3misc tests to use torture_failure and torture_assertAndrew Bartlett2012-04-301-148/+105
| | | | | | | | | | | This helps us when these tests fail, as subunit-formatted failures can be declared as knownfail entries, and show up correctly in the make test output. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 30 08:34:52 CEST 2012 on sn-devel-104
* s4-torture: move samba3 tests to use torture helper functionsAndrew Bartlett2012-04-301-33/+4
|
* s4-torture: Move various samba3 tests to the torture_suite_add_1smb_test wrapperAndrew Bartlett2012-04-303-63/+14
|
* s4-torture: never return false in the raw.composite torture testAndrew Bartlett2012-04-261-39/+7
| | | | | | | | | | | We must use torture_assert() macros to ensure that the failure is recorded in the subunit stream correctly, rather than being returned as an unknown 'error'. (We cannot handle error results as knownfail). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 26 04:00:16 CEST 2012 on sn-devel-104
* s4:torture: add a raw.session suite with a raw.session.reauth testGregor Beck2012-04-252-0/+91
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4-torture: enable raw.composite test again, and convert to new style testAndrew Bartlett2012-04-252-108/+127
| | | | | | This test has been skipped for some time, but is an important test for parallel operation. Andrew Bartlett
* Fix samba3.raw.samba3hide test - ensure we set up POSIX capabilitiesJeremy Allison2012-04-181-0/+37
| | | | | | | before doing POSIX calls like chmod. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 18 23:14:40 CEST 2012 on sn-devel-104
* s4-torture: Fix the raw.notify mask testVolker Lendecke2012-04-181-0/+4
| | | | | | | | | | When we do the notify triggers via a different client connection, adding the notify record becomes subject to a race. Add a dummy operation after the initial changenotify request was sent to make sure the notify record actually arrived. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 19:47:53 CEST 2012 on sn-devel-104
* s4-torture: Use 2 client connections for raw.notify.maskVolker Lendecke2012-04-181-19/+20
| | | | This makes the test more interesting in a cluster
* s4-torture: Use 2 client connections for raw.notify.treeVolker Lendecke2012-04-181-3/+9
| | | | This makes the test more interesting in a cluster
* s4-torture: Use 2 client connections for raw.notify.recursiveVolker Lendecke2012-04-181-6/+13
| | | | This makes the test more interesting in a cluster
* s4-torture: notify all is empty nowVolker Lendecke2012-04-181-19/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 15:16:13 CEST 2012 on sn-devel-104
* s4-torture: Separate out the notify alignment subtestVolker Lendecke2012-04-181-4/+9
|
* s4-torture: Separate out the notify basedir subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify overflow subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify tree subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify double subtestVolker Lendecke2012-04-181-2/+7
|
* s4-torture: Separate out the notify tcp_dis subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify ulogoff subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify exit subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify tdis subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify file subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify mask_change subtestVolker Lendecke2012-04-181-2/+9
|
* s4-torture: Separate out the notify recursive subtestVolker Lendecke2012-04-181-2/+8
|