summaryrefslogtreecommitdiff
path: root/source4/torture/raw
AgeCommit message (Collapse)AuthorFilesLines
2013-07-02torture: Don't segfault in raw.session on error.Andreas Schneider1-1/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-07-02torture: Fix comparsion of uninitalized bytes.Andreas Schneider1-0/+2
As we compare string make sure we have the null terminator. Found by valgrind. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
2013-05-09s4-smbtorture: Set result message when failing the inheritance test.Alexander Werth1-0/+7
Reviewed-By: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-03-20s4:torture: let raw.read accept larger reads than 0x10000Stefan Metzmacher1-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
2013-03-20s4:torture: raw.read fix large reads against windowsStefan Metzmacher1-9/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-02-22torture: Fix memcmp of short buffer.Andreas Schneider1-2/+2
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2012-10-01Add samba3.samba3badnameblob test to check regressions in bug #9215.Jeremy Allison2-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
2012-09-14s4:torture: fix error reporting in the raw.oplock-brl3 testMichael Adam1-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
2012-09-10smbtorture: Test that delete requests are not specialVolker Lendecke1-0/+78
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-08-30Now ACL inheritance flags are working, add test_inheritance_flags() back ↵Jeremy Allison1-5/+10
into raw.acls to ensure we don't regress.
2012-08-20s4-torture: Show that we cannot list extended attributes on streamsAndrew Bartlett1-0/+11
2012-08-20s4-torture: Show that we cannot have extended attributes on streamsAndrew Bartlett1-2/+17
2012-08-20s4-torture: Improve raw.streams test to cover EAs and to use torture_assert()Andrew Bartlett1-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
2012-08-10torture: Reproducer for 64c0367Volker Lendecke1-0/+20
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-08-02s4:torture: send the TCONX_FLAG_EXTENDED_RESPONSE flagStefan Metzmacher3-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
2012-06-22s4:torture/raw: add raw.session.expire1Stefan Metzmacher1-0/+200
This demonstrates the interaction of CAP_DYNAMIC_REAUTH and NT_STATUS_NETWORK_SESSION_EXPIRED. metze
2012-06-12s4:torture: fix use of non-existent word (existant)Michael Adam5-9/+9
2012-05-18s4:torture: Add raw.session.reauth2 testVolker Lendecke1-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
2012-05-18s4:torture: rename raw.session.reauth => raw.session.reauth1Stefan Metzmacher1-3/+3
metze
2012-05-18s4-torture: Improve torture test boilerplate, use torture_assert()Andrew Bartlett15-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
2012-05-09s4:torture/raw/context: test a session setup with a given invalid vuidStefan Metzmacher1-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
2012-05-08s4:torture/raw/context: add subtests as torture testcasesStefan Metzmacher1-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
2012-05-08s4:torture/raw/context: INVALID_PARAMETER vs. LOGON_FAILURE...Stefan Metzmacher1-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
2012-05-08s4:torture/raw: make torture_raw_context a test suiteStefan Metzmacher2-3/+12
metze
2012-05-08s4:torture/raw/context: make use of torture_* macros and avoid 'printf'Stefan Metzmacher1-100/+87
metze
2012-05-08s4:torture/raw/context: pass tctx to test_pid_exit_only_sees_open()Stefan Metzmacher1-1/+3
metze
2012-05-08s4:torture/raw/session: make sure we got a reauth of the existing sessionStefan Metzmacher1-0/+2
metze
2012-05-04s4:torture: add a check for talloc success in test_session_reauthVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri May 4 16:50:59 CEST 2012 on sn-devel-104
2012-04-30s4-torture: convert samba3misc tests to use torture_failure and torture_assertAndrew Bartlett1-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
2012-04-30s4-torture: move samba3 tests to use torture helper functionsAndrew Bartlett1-33/+4
2012-04-30s4-torture: Move various samba3 tests to the torture_suite_add_1smb_test wrapperAndrew Bartlett3-63/+14
2012-04-26s4-torture: never return false in the raw.composite torture testAndrew Bartlett1-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
2012-04-25s4:torture: add a raw.session suite with a raw.session.reauth testGregor Beck2-0/+91
Signed-off-by: Michael Adam <obnox@samba.org>
2012-04-25s4-torture: enable raw.composite test again, and convert to new style testAndrew Bartlett2-108/+127
This test has been skipped for some time, but is an important test for parallel operation. Andrew Bartlett
2012-04-18Fix samba3.raw.samba3hide test - ensure we set up POSIX capabilitiesJeremy Allison1-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
2012-04-18s4-torture: Fix the raw.notify mask testVolker Lendecke1-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
2012-04-18s4-torture: Use 2 client connections for raw.notify.maskVolker Lendecke1-19/+20
This makes the test more interesting in a cluster
2012-04-18s4-torture: Use 2 client connections for raw.notify.treeVolker Lendecke1-3/+9
This makes the test more interesting in a cluster
2012-04-18s4-torture: Use 2 client connections for raw.notify.recursiveVolker Lendecke1-6/+13
This makes the test more interesting in a cluster
2012-04-18s4-torture: notify all is empty nowVolker Lendecke1-19/+0
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 15:16:13 CEST 2012 on sn-devel-104
2012-04-18s4-torture: Separate out the notify alignment subtestVolker Lendecke1-4/+9
2012-04-18s4-torture: Separate out the notify basedir subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify overflow subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify tree subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify double subtestVolker Lendecke1-2/+7
2012-04-18s4-torture: Separate out the notify tcp_dis subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify ulogoff subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify exit subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify tdis subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify file subtestVolker Lendecke1-2/+8