summaryrefslogtreecommitdiff
path: root/source4/torture/basic
AgeCommit message (Collapse)AuthorFilesLines
2009-12-03s4-torture: Allow the legacy DENY_FCB/DENY_DOS share modes to be ignoredZachary Loafman1-0/+20
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-11-07torture/basic/denytest - makes the code more compatible for TRU64 (consider ↵Matthias Dieter Wallnöfer1-10/+14
buildfarm)
2009-11-05Fix up some of the timing constants for DELAYWRITE. Add some extra tests up ↵Jeremy Allison1-30/+114
test_delayed_write_update6 to investigate what happens to a sticky write handle after a second handle close. Jeremy.
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell17-29/+0
This reduces compile time somewhat.
2009-10-17s4-torture: cleanup after the MAXIMUM_ALLOWED testAndrew Tridgell1-0/+1
2009-10-17s4-torture: add a special check for administrators and privilegesAndrew Tridgell1-6/+6
lsa privileges calls don't expand groups. darn.
2009-10-17s4-torture: show the sid we are basing privilege tests onAndrew Tridgell1-2/+6
2009-10-16s4-torture: take privileges into account in BASE-MAXIMUM_ALLOWEDAndrew Tridgell1-10/+48
The correct answer depends on the users privileges.
2009-10-15s4-smb: declare root_fid as a file handleAndrew Tridgell5-12/+12
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.
2009-10-06s4/torture: Add server target of OneFSSteven Danneman1-0/+23
I've added a "--target=onefs" which lists expected deviation in the OneFS SMB server implementation compared to a Windows machine. I've added this in a generic way using a list of module specific parameters. This list currently only contains the absence of SACL support but will be added to as additional server differences are defined. I'd liked to use this abstraction for defining the differences between a WinXP and Win7 server as well.
2009-10-06s4/torture: Add SMB sharemode/access mask testsAravind Srinivasan3-0/+9355
Test several thousand permutations of create mask and sharemodes on file and directory opens. These tests use a checked-in results table derived from a WinXP server to verify correct server behavior. CREATEX_ACCESS CREATEX_SHAREMODES_FILE CREATEX_SHAREMODES_DIR MAXIMUM_ALLOWED
2009-10-06s4/torture: change comments to torture_failuresAravind Srinivasan1-2/+4
This allows the frameworks that wrap smbtorture to detect errors better.
2009-09-14Torture test for bug 6529 - Offline files conflict with Vista and Office 2003.Jeremy Allison1-0/+131
Ensure we don't regress. Jeremy.
2009-08-24Allow systems with timestamp granularity of 1sec to work withJeremy Allison1-0/+15
this test. Jeremy.
2009-08-11torture/basic: in run_derefopen() the file could have been deleted before ↵Matthias Dieter Wallnöfer1-2/+6
the last unlink Through a suggestion pointed out in bug #6622 the test file sometimes doesn't exist on the last turn anymore. So we haven't to fail here since it could have been deleted by a concurrent process (e.g. when the same test runs multiple times). Therefore also NT_STATUS_OBJECT_NAME_NOT_FOUND is an acceptable result.
2009-06-03Note that the delaytime for update has changed betweek w2k3 and w2k8.Jeremy Allison1-7/+11
We must eventually parameterize this. Jeremy.
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij2-9/+9
2009-03-01Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij2-3/+3
consistency with Samba 3.
2009-02-11s4 torture: Two minor fixes to smbtorture BRL tests.Zack Kirsch1-1/+1
2009-02-02s4:libcliraw: s/private/private_dataStefan Metzmacher1-7/+7
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-2/+2
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-18BASE-LOCK: fix LOCK5Stefan Metzmacher1-4/+12
We need to close all 3 file handle to make the unlink work. metze
2008-12-09s4: [2/3] Fix a delete on close divergence from windows and the associated ↵Tim Prouty1-5/+18
torture test This second patch fixes the deltest17 BASE-DELETE torture test to pass against win2k3/win2k8/winXPsp2
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij2-12/+7
Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters.
2008-11-02Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij1-1/+2
should in the future only contain some settings required for gensec.
2008-11-02Remove another use of global_loadparm.Jelmer Vernooij1-0/+1
2008-11-01Move lp_*() calls a bit higher up the calls tack.Jelmer Vernooij1-1/+2
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-3/+4
2008-10-24Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij2-3/+3
make them wrappers around convert_string{,talloc}_convenience().
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij2-1/+3
2008-10-24Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij1-11/+10
functions.
2008-10-22Repel pstring to nsswitch/.Jelmer Vernooij1-6/+5
2008-10-12Fix number of arguments for file_load() functions.Jelmer Vernooij1-1/+1
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij2-2/+2
2008-09-30Pass session options around; saves another use of global_loadparm.Jelmer Vernooij1-0/+1
2008-09-30Pass options struct into session initialization functions rather thanJelmer Vernooij1-1/+4
using global_loadparm.
2008-09-18Properly report why a test didn't succeed (required for use with knownJelmer Vernooij1-117/+91
failures).
2008-09-16Fix last few includes to use new tdb location.Jelmer Vernooij1-1/+1
2008-09-12Comment the delay write time tests so I know what they'reJeremy Allison1-3/+41
testing. Jeremy. (This used to be commit 2bf9074c7751324483744f55b02cfb044bb0b2dd)
2008-09-09A truncate write must be a smbcli_smbwrite, not aJeremy Allison1-1/+1
smbcli_write. Jeremy. (This used to be commit 8cebd4d36c862dcdc6551dc6bf4dda2342dfede7)
2008-09-08Make it easier to see when tests start/end.Jeremy Allison1-15/+52
Jeremy. (This used to be commit 6f89e728272ca14f0ed9557485e21647c0731ef2)
2008-09-08BASE-DELAYWRITE: test behavior of SMBwrite truncate, writeX, SMBwrite ↵Stefan Metzmacher1-0/+204
truncate and writeX again metze (This used to be commit 66b8c8d80e1c8e45ab6ca38cabebea07aa122c40)
2008-09-08BASE-DELAYWRITE: test behavior of writeX, SMBwrite truncate, writeX and ↵Stefan Metzmacher1-0/+206
SMBwrite again metze (This used to be commit 051164ba0a69d54aa706ffa876059e8dbbeacb36)
2008-09-08BASE-DELAYWRITE: demonstrate that a truncate write doesn't update the write ↵Stefan Metzmacher1-0/+157
time after SET_FILE_INFO metze (This used to be commit f81014db9d5afbf9e0b1c007bc56fc1d3a201309)
2008-09-08BASE-DELAYWRITE: demonstrate that the time between the open and the first ↵Stefan Metzmacher1-0/+159
write doesn't matter metze (This used to be commit 13d051cd633f4a4152d360453fe5297ad53cc7b5)
2008-09-08BASE-DELAYWRITE: test more details of the truncate write time update behaviorStefan Metzmacher1-4/+371
metze (This used to be commit 39367ef15fabbb52cd2c05be7ca59b25dc4aff71)
2008-09-05Don't compare identity, it'll never be different.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 840369b5534eee21818b9d3677404b0fc60a0219)
2008-09-05Added tests that show that write time update is immediateJeremy Allison1-1/+347
when changing file size using SMBwrite of size zero, SET_END_OF_FILE, or SET_ALLOCATION_SIZE - no 2 second delay in these cases. Jeremy. (This used to be commit 3aa7523d7750fe30d1e6bb5a75ac42b681b9e493)
2008-07-07torture: .in.max_data should not depend on the smb max sizeStefan Metzmacher2-9/+9
We now support async multi fragment SMBtrans calls. metze (This used to be commit ba8499867af90dcd88455476b1f58a2ab18f159b)
2008-06-03Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell1-1/+3
(This used to be commit 9d74201e462f2f95ed5bd91200681db3bd2a9277)