Jelmer Vernooij
a61c9ded40
Properly report why a test didn't succeed (required for use with known
...
failures).
2008-09-18 16:05:46 +02:00
Jelmer Vernooij
8ec93160d5
Fix last few includes to use new tdb location.
2008-09-16 16:09:50 +02:00
Jeremy Allison
6ce1c893fa
Comment the delay write time tests so I know what they're
...
testing.
Jeremy.
(This used to be commit 2bf9074c7751324483744f55b02cfb044bb0b2dd)
2008-09-12 14:59:32 -07:00
Jeremy Allison
bc731db854
A truncate write must be a smbcli_smbwrite, not a
...
smbcli_write.
Jeremy.
(This used to be commit 8cebd4d36c862dcdc6551dc6bf4dda2342dfede7)
2008-09-09 21:24:34 -07:00
Jeremy Allison
2c2a79eefa
Make it easier to see when tests start/end.
...
Jeremy.
(This used to be commit 6f89e728272ca14f0ed9557485e21647c0731ef2)
2008-09-08 14:58:58 -07:00
Stefan Metzmacher
ad34034797
BASE-DELAYWRITE: test behavior of SMBwrite truncate, writeX, SMBwrite truncate and writeX again
...
metze
(This used to be commit 66b8c8d80e1c8e45ab6ca38cabebea07aa122c40)
2008-09-08 16:22:57 +02:00
Stefan Metzmacher
f009e78864
BASE-DELAYWRITE: test behavior of writeX, SMBwrite truncate, writeX and SMBwrite again
...
metze
(This used to be commit 051164ba0a69d54aa706ffa876059e8dbbeacb36)
2008-09-08 16:22:57 +02:00
Stefan Metzmacher
1cf9d7e078
BASE-DELAYWRITE: demonstrate that a truncate write doesn't update the write time after SET_FILE_INFO
...
metze
(This used to be commit f81014db9d5afbf9e0b1c007bc56fc1d3a201309)
2008-09-08 16:22:53 +02:00
Stefan Metzmacher
a626b01193
BASE-DELAYWRITE: demonstrate that the time between the open and the first write doesn't matter
...
metze
(This used to be commit 13d051cd633f4a4152d360453fe5297ad53cc7b5)
2008-09-08 12:12:25 +02:00
Stefan Metzmacher
3ca48b015f
BASE-DELAYWRITE: test more details of the truncate write time update behavior
...
metze
(This used to be commit 39367ef15fabbb52cd2c05be7ca59b25dc4aff71)
2008-09-08 08:31:34 +02:00
Jeremy Allison
56b6b4a68f
Don't compare identity, it'll never be different.
...
Jeremy.
(This used to be commit 840369b5534eee21818b9d3677404b0fc60a0219)
2008-09-05 21:47:06 -07:00
Jeremy Allison
0d0fddf8ae
Added tests that show that write time update is immediate
...
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-09-05 14:24:36 -07:00
Stefan Metzmacher
bbbe06fb09
torture: .in.max_data should not depend on the smb max size
...
We now support async multi fragment SMBtrans calls.
metze
(This used to be commit ba8499867af90dcd88455476b1f58a2ab18f159b)
2008-07-07 20:59:18 +02:00
Andrew Tridgell
70219bee13
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 9d74201e462f2f95ed5bd91200681db3bd2a9277)
2008-06-03 15:11:42 -07:00
Stefan Metzmacher
6610a6c49a
BASE-DELAYWRITE: fix test on filesystem without high resolution timestamps
...
metze
(This used to be commit fde9880f9943897549859037b0fc9341d3a032f7)
2008-06-03 14:03:49 +02:00
Stefan Metzmacher
fb4c9dd5eb
BASE-DELAYWRITE: add missing time checks to make sure the server has updated the write time
...
metze
(This used to be commit 9c004df8910c07d75bb3f75d7c3cfba9f9c94f51)
2008-06-03 11:17:17 +02:00
Andrew Tridgell
e7b30f023b
remove unused macros
...
(This used to be commit 7a1877db15e6a57f0f057dcf5da6609b9bdeef51)
2008-06-02 11:04:36 +10:00
Jelmer Vernooij
1e973565b6
Move subunit infrastructure code into lib/torture.
...
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-27 14:02:46 +01:00
Simo Sorce
4e83011f72
Remove more event_context_init() uses from function calls within deep down 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-21 18:12:33 -04:00
Jelmer Vernooij
148d3b170a
Use torture_assert_mem_equal() in a couple more places.
...
(This used to be commit e2c3fab9d1bf0482c15a115e7d373562ffe50b29)
2008-04-13 22:00:36 +02:00
Stefan Metzmacher
4677ac6e70
BASE-DELAYWRITE: be more friendly to filesystems without high resolution timestamps
...
metze
(This used to be commit 9c18cf670889c9eb8c12b505c3b9ce5f9a516839)
2008-04-08 19:42:06 +02:00
Stefan Metzmacher
edb3a83a06
BASE-DELAYWRITE: use timeval_* and make it possible to spefic the writetime update delay
...
metze
(This used to be commit 751ab2992afd13548af6e67a03d3ced566cb136f)
2008-04-08 16:55:16 +02:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-02 04:53:27 +02:00
Stefan Metzmacher
db2a2382d1
BASE-DEFER_OPEN: be less strict with to late responses
...
The server might be just busy.
metze
(This used to be commit 16c60cd347a42a2d98753585cbefddc948e2860f)
2008-02-26 10:31:37 +01:00
Stefan Metzmacher
a622f80c65
BASE-DEFER_OPEN: add torture:sharedelays option to run this test faster
...
metze
(This used to be commit 877cc375d0523cb31324a5d611e73d666e7a9a78)
2008-02-25 07:39:23 +01:00
Jelmer Vernooij
d9f8232c34
Remove more uses of global_loadparm.
...
(This used to be commit 230355d2e6e27918dff40823eb238904c7a1870e)
2008-02-21 15:21:45 +01:00
Jelmer Vernooij
dcc282590b
r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct.
...
(This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
dc8ccffed4
r26653: Janitorial: Remove global_loadparm use in two more places.
...
(This used to be commit 65fbb4700d145810d1c7539a4037d73d856278c6)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
425732f688
r26651: libsmb: Allow specifying signing policy from higher up.
...
The number of arguments is getting a bit excessive now, so it
probably makes sense to pass in the smbcli_options struct rather than
all members individually and add a convenience function for obtaining a
smbcli_options struct from a loadparm context.
(This used to be commit 9f64213463b5bf3bcbf36913139e9a5042e967a2)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
969b8579c7
r26646: libcli/smb_composite: Allow specifying SMB parameters in smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections.
...
(This used to be commit 0ef75e4e3cb0e1bd10e367a00f5e9b725587c40a)
2008-01-02 12:48:04 -06:00
Jelmer Vernooij
771b347f9b
r26644: Janitorial: Pass resolve_context explicitly to various SMB functions, should help fix the build for OpenChange.
...
(This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
2008-01-02 12:48:03 -06:00
Kai Blin
1786af425b
r26466: Janitorial: Remove pstrings and static char[]s from torture/basic/scanner.c
...
(This used to be commit 59286797cb4c2e000f395b209c980bf431dc65bf)
2007-12-21 05:50:30 +01:00
Jelmer Vernooij
5e00673a40
r26438: Store iconv convenience in tdr push contexts.
...
(This used to be commit dffef3162778aebe2f8d77e2da60b22adb7d60ef)
2007-12-21 05:50:07 +01:00
Jelmer Vernooij
d891c0c74a
r26429: Avoid use of global_smb_iconv_convenience.
...
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
4b0199a549
r26409: Pass smb ports along.
...
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
5f4842cf65
r26376: Add context for libcli_resolve.
...
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
39ee38d9c1
r26316: Use contexts for conversion functions.
...
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-12-21 05:48:30 +01:00
Stefan Metzmacher
1fbe268ec9
r26307: BASE-DELAYWRITE: only set the write time
...
metze
(This used to be commit b7d7a58b2399627c37d8b79e6282a44d50f8c68e)
2007-12-21 05:48:19 +01:00
Stefan Metzmacher
8036dbcf7f
r26306: BASE-DELAYWRITE: print access time stamps and test fileinfo and pathinfo match
...
metze
(This used to be commit 58bc21a3f849ef7200733450dbd68f15658ff8f6)
2007-12-21 05:48:19 +01:00
Jelmer Vernooij
2f8dc4f48f
r26266: Remove more global_loadparm uses.
...
(This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
2007-12-21 05:47:42 +01:00
Jelmer Vernooij
0a2f1a46a0
r26249: Remove a couple more uses of global_loadparm.
...
(This used to be commit 80a61200508a00d5b16a3e748ce92d54b9fefcd2)
2007-12-21 05:47:27 +01:00
Jelmer Vernooij
bbdfbf8d9d
r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
...
(This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-12-21 05:47:20 +01:00
Jelmer Vernooij
6c999cd123
r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly.
...
(This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
2007-12-21 05:47:15 +01:00
Stefan Metzmacher
4ab0b47ffd
r26220: BASE-DELAYWRITE: add more subtests to explore write time update details
...
metze
(This used to be commit 92dcc85e3a8798910eb0a9059f3a2944fa51cbd1)
2007-12-21 05:46:57 +01:00
Stefan Metzmacher
c555c3fa38
r26219: BASE-DELAYWRITE: make the tests more strict about the write time update
...
metze
(This used to be commit c1335651d32a2b48bcf8c117a5bc16fe453170bc)
2007-12-21 05:46:57 +01:00
Andrew Bartlett
26d4d7543b
r25596: It isn't valid to take the address of an array on the stack, and this
...
isn't what memset wants anyway.
Thanks to Indar Kriplani <indar.kriplani@gmail.com>. Fixes bug 5010
Andrew Bartlett
(This used to be commit fd309065bb697cfaaa595d060defee1761cf9523)
2007-10-10 15:08:02 -05:00
Jelmer Vernooij
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
3048e9ad65
r25392: Add loadparm context as argument in a couple more places.
...
(This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
2007-10-10 15:07:24 -05:00
Volker Lendecke
ab36db2f9d
r25186: Fix a memory corruption in base-mangle
...
(This used to be commit 4822b3f0db11059281b33e896250f36e3b3448eb)
2007-10-10 15:06:47 -05:00