summaryrefslogtreecommitdiff
path: root/source4/torture/basic
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-06-03BASE-DELAYWRITE: fix test on filesystem without high resolution timestampsStefan Metzmacher1-1/+1
metze (This used to be commit fde9880f9943897549859037b0fc9341d3a032f7)
2008-06-03BASE-DELAYWRITE: add missing time checks to make sure the server has updated ↵Stefan Metzmacher1-0/+2
the write time metze (This used to be commit 9c004df8910c07d75bb3f75d7c3cfba9f9c94f51)
2008-06-02remove unused macrosAndrew Tridgell1-12/+0
(This used to be commit 7a1877db15e6a57f0f057dcf5da6609b9bdeef51)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij3-4/+3
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-1/+2
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-13Use torture_assert_mem_equal() in a couple more places.Jelmer Vernooij1-1/+1
(This used to be commit e2c3fab9d1bf0482c15a115e7d373562ffe50b29)
2008-04-08BASE-DELAYWRITE: be more friendly to filesystems without high resolution ↵Stefan Metzmacher1-1/+12
timestamps metze (This used to be commit 9c18cf670889c9eb8c12b505c3b9ce5f9a516839)
2008-04-08BASE-DELAYWRITE: use timeval_* and make it possible to spefic the writetime ↵Stefan Metzmacher1-101/+164
update delay metze (This used to be commit 751ab2992afd13548af6e67a03d3ced566cb136f)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij8-0/+9
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)