summaryrefslogtreecommitdiff
path: root/source4/torture/raw
AgeCommit message (Collapse)AuthorFilesLines
2011-05-30s4:torture: fix SEGFAULT in raw.acl.dynamicGregor Beck1-7/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-21s4:torture - always cast correctly when using the "%x" format string argumentMatthias Dieter Wallnöfer1-5/+5
Signed-off-by: Metze
2011-05-05Clean up some const and other compiler warnings.Jeremy Allison4-7/+19
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
2011-03-19source4/torture/raw: Fix prototypes for all functions.Jelmer Vernooij31-0/+32
2011-03-18s4-smbtorture: use torture_assert_ and comment functions in raw.eas test.Günther Deschner1-32/+29
Guenther
2011-03-18s4-smbtorture: use torture_context in raw.eas test.Günther Deschner1-6/+6
Guenther
2011-03-18s4-smbtorture: remove trailing whitespace from raw.eas test.Günther Deschner1-34/+34
Guenther
2011-03-17s4-smbtorture: more torture_fail usage in raw.write test.Günther Deschner1-6/+6
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 17 13:10:14 CET 2011 on sn-devel-104
2011-03-16s4-smbtorture: use torture_fail and _skip in raw.write test.Günther Deschner1-54/+30
Guenther
2011-03-16s4-smbtorture: remove duplicate if branch in raw.write test.Günther Deschner1-5/+0
Guenther
2011-03-16s4-smbtorture: use torture_fail/-assert api in torture_samba3_hide().Günther Deschner1-59/+26
Guenther
2011-02-21s4-smbtorture: use torture_comment() instead of printf in raw.write test.Günther Deschner1-66/+67
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 21 15:26:38 CET 2011 on sn-devel-104
2011-02-21s4-smbtorture: fix some indent in raw.write test.Günther Deschner1-4/+4
Guenther
2011-02-21s4-smbtorture: fix trailing whitespace in raw.write test.Günther Deschner1-22/+22
Guenther
2011-01-31smbtorture4 test for bug #7928 - Samba problems with kernel oplocks option ↵Pavel Shilovsky1-0/+95
set to "no"
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij12-138/+133
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-11-29s4:torture - prefer the termination "return"s at the end of two unittestsMatthias Dieter Wallnöfer1-2/+7
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 29 23:29:23 CET 2010 on sn-devel-104
2010-11-29s4:torture - remove unreachable statements to quiet warnings of Solaris "cc"Matthias Dieter Wallnöfer2-6/+0
2010-11-01s4:torture - suppress printf "%llu" on uint64_t variables warningsMatthias Dieter Wallnöfer1-4/+4
The signed/unsignedness does match (always unsigned). The bitlength (64 bit) on all regular platforms does also. Therefore simply add a cast to "unsigned long long".
2010-10-20smbtorture: Fix typo in status message.James Peach1-1/+1
2010-09-16s3/s4: merge msleep and smb_msleepBjörn Jacke1-4/+4
the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
2010-09-16torture/raw Allow one more 'not implemented' status return as a valid responseAndrew Bartlett1-1/+2
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-16s4-smbtorture: try FSCTL_FIND_FILES_BY_SID with random blob data in RAW-IOCTL.Günther Deschner1-0/+21
Guenther
2010-09-10s4/torture: use time_mono for deltas in lock testBjörn Jacke1-22/+22
2010-08-27s4:torture/raw/notify.c - freeable stuff shouldn't be "const"Matthias Dieter Wallnöfer1-1/+1
2010-08-17smbtorture: Make SAMBA3CASEINSENSITIVE report failures properly.James Peach1-4/+6
2010-08-11smbtorture: Don't crash RAW-QFILEINFO if there's no alternate name.James Peach1-0/+5
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell8-59/+59
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-06s4:libcli: Modify S4 client library to check for proper CN alignmentSteven Danneman1-1/+99
MS-CIFS 2.2.7.4.2 states that FILE_NOTIFY_INFORMATION structures in change notify replies must be aligned to 4-byte boundaries. This updates s4 client to check for this restriction and also adds a torture test which should tickle a server into giving unaligned structures if it doesn't follow the spec.
2010-06-24s4 torture: Warn on NOT_IMPLEMENTED in addition to NOT_SUPPORTED for ↵Aravind Srinivasan1-3/+9
RAW-QFILEINFO Signed-off-by: Tim Prouty <tprouty@samba.org>
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-06-15s4 torture: RAW-SEARCH: break out some of the old search levelsAravind Srinivasan1-2/+20
* Added two new parameters: raw_search_search and raw_ea_size which can be enabled/disabled based on whether the server supports RAW_SEARCH_SEARCH and/or RAW_SEARCH_EA_SIZE levels * Skip unsupported levels from the server and give a warning rather than failing. Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-06-15s4 torture: RAW-SEARCH: Only test supported info levelsTim Prouty1-9/+45
2010-06-14s4 torture: RAW-WRITE should check lockread_supportedZachary Loafman1-0/+5
Signed-off-by: Tim Prouty <tprouty@samba.org>
2010-05-21s4:torture/raw/open.c - remove unused variables and fix error handlingMatthias Dieter Wallnöfer1-8/+3
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij2-3/+0
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij3-4/+1
2010-05-13Now we behave as Windows does, remove a Samba3 specific test return.Jeremy Allison1-1/+7
Jeremy.
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher1-1/+1
The reason for this is that some systems include <rpc/rpc.h> from within system headers. HP-UX 11.00 does so somewhere deep inside of <shadow.h>. For torture/winbind/struct_based.c <rpc/rpc.h> resolves to torture/rpc/rpc.h and breaks the build. metze
2010-04-11subunit: Remove more test output that could be interpreted by subunit.Jelmer Vernooij1-13/+13
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij10-92/+93
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
2010-04-06s4:torture - remove unused variablesMatthias Dieter Wallnöfer1-1/+0
2010-03-31s4-torture: using typeof() is not portableAndrew Tridgell1-17/+10
this failed to compile on solaris8 with cc
2010-02-13s4-torture: use TYPESAFE_QSORT() in smbtortureAndrew Tridgell2-13/+8
2010-02-04s4-torture: handle NT_STATUS_CONNECTION_RESETAndrew Tridgell3-6/+12
a CONNECTION_RESET is now the normal "client disconnect" status code
2010-02-02Change uint_t to unsigned int in source4Matt Kraai6-45/+45
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-10s4/torture: Parameterize output in LOCK tests based off server supportSteven Danneman1-47/+73
Two new torture parameters: * smbexit_pdu_support: if the Server supports the Exit command * range_not_locked_on_file_close: whether the server returns the NT_STATUS_RANGE_NOT_LOCKED error when a file is closed which has a pending lock request. Windows returns this error, though per the spec, this error should only be returned to an unlock request.
2010-01-07s4 torture: Add RAW-OPEN-NTCREATEDIR to test error checking for open ↵Tim Prouty1-0/+198
directories as files
2010-01-06s4/torture: fix small bug in lock testSteven Danneman1-0/+1
Cleanup path should unlock, not cancel existing locked range.
2010-01-06s4/torture: add more lock cancellation testsSteven Danneman1-2/+95
* Test the SMB1 behavior when multiple lock ranges are requested, pend, and then are cancelled. The entire LockingAndX request fails.