Andrew Tridgell
15e84a9a09
charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
...
we shouldn't accept bad multi-byte strings, it just hides problems
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-24 01:47:26 +01:00
Jelmer Vernooij
35fbc7bbda
s4-smbtorture: Make test names lowercase and dot-separated.
...
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-12-11 04:16:13 +01:00
Matthias Dieter Wallnöfer
55598c4746
s4:torture/rpc/winreg.c - hopefully this attempt fixes Solaris "cc" on the buildfarm
...
The Solaris "cc" incompatiblity on this codepart seems to be harder to fix than
it looks like.
2010-09-10 20:20:26 +02:00
Matthias Dieter Wallnöfer
ad25264dd7
s4:torture/rpc/winreg.c - restore Solaris cc compatibility
...
"static const struct"s need to be global in order to work with Solaris cc.
2010-09-09 21:26:43 +02:00
Matthias Dieter Wallnöfer
ef334b95fa
s4:torture/rpc/winreg.c - set "error_message" to NULL in "test_HKLM_wellknown"
...
Hopefully this fixes the build on Solaris 8.
2010-08-27 19:20:21 +02:00
Andreas Schneider
91a8d9bc9b
s3-torture: Improve the winreg deletekey torture comments.
2010-08-05 16:11:28 +02:00
Andreas Schneider
2a15f7008c
s3-torture: Correctly cleanup the winreg volatile key test.
...
Günther please check!
2010-08-05 16:11:19 +02:00
Andreas Schneider
0a8e382d73
s4-torture: Fixed the winreg EnumValue test against Windows.
...
Günther please check!
2010-08-05 16:11:01 +02:00
Stefan Metzmacher
b99a02a7d4
s4:torture/rpc/winreg: fix "strict aliasing" compiler warnings
...
metze
2010-08-01 11:18:05 +02:00
Stefan Metzmacher
c7ba3c4dcf
s4:torture/rpc/winreg: fix the build with non gcc compilers (e.g. on solaris)
...
metze
2010-08-01 11:17:14 +02:00
Matthias Dieter Wallnöfer
1b7029b47b
s4:torture/winreg.c - fix warnings of Solaris 10 cc through the appropriate casts
2010-07-31 20:59:02 +02:00
Matthias Dieter Wallnöfer
380b2cb4b0
s4:torture/winreg.c - remove unreachable code
2010-07-31 20:58:47 +02:00
Matthias Dieter Wallnöfer
f0c4a1aff4
s4:torture/winreg.c - add a FIXME comment on a codepart which isn't standard C-compatible
...
It seems to be GCC specific since it doesn't compile on Solaris 10 cc:
http://build.samba.org/?function=View+Build;host=sunX;tree=samba_4_0_waf;compiler=cc
2010-07-31 20:57:18 +02:00
Günther Deschner
6da040261d
s4-smbtorture: enable extended SetValue test against Samba3.
...
Guenther
2010-07-02 10:50:21 +02:00
Günther Deschner
6961048487
s4-smbtorture: in extended setvalue winreg test, reduce max random buffer length to 16 bytes.
...
Guenther
2010-06-30 21:46:09 +02:00
Günther Deschner
e1c185d07d
s4-smbtorture: enable QueryMultipleValues{2} torture tests against samba3.
...
Guenther
2010-06-30 21:46:08 +02:00
Günther Deschner
a329dd0267
s4-smbtorture: add some more multiple_values_tests to RPC-WINREG.
...
Guenther
2010-06-30 21:46:07 +02:00
Günther Deschner
1fb8e192ca
s4-smbtorture: add more sophisticated tests for winreg_QueryMultipleValues{2}.
...
Guenther
2010-06-29 23:10:16 +02:00
Günther Deschner
7ae7750c40
s4-smbtorture: add RPC torture test for winreg_QueryMultipleValues2.
...
Guenther
2010-06-29 12:27:02 +02:00
Günther Deschner
bf07bf2857
winreg: fix winreg_QueryMultipleValues() IDL and torture tests.
...
Guenther
2010-06-29 11:48:53 +02:00
Günther Deschner
ba40f38281
s4-smbtorture: test more valid key names in RPC-WINREG.
...
Guenther
2010-06-23 15:35:41 +02:00
Günther Deschner
2dc50ec44c
s4-smbtorture: more work on test values WINREG test.
...
Guenther
2010-06-23 15:35:41 +02:00
Günther Deschner
714c926cf0
s4-smbtorture: add test for different winreg SetValue value names.
...
Guenther
2010-06-23 12:16:12 +02:00
Andreas Schneider
b6b3822289
s4-torture: Improved the winreg symlink test.
...
This test is still disabled as we don't know how to remove a symbolic
link. It looks like there only DeleteKey functions which can work on a
handle are able to delete a symbolic link.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
2010-05-21 15:59:23 +02:00
Andreas Schneider
74d0fc10fd
s4-torture: Disable the security descriptor tests.
2010-05-21 15:59:10 +02:00
Andreas Schneider
225bd02dab
s4-torture: Try to fix the winreg tests.
2010-05-21 15:59:00 +02:00
Michael Adam
124047877d
s4:torture:winreg: improve error messages in test_HKLM_wellknown
2010-05-21 11:24:27 +02:00
Michael Adam
67439d4297
s4:torture:winreg: improve error messages in test_QueryValue_full
...
So that one has a chance to tell what part of the test failed. And why.
2010-05-21 11:24:15 +02:00
Günther Deschner
783cd32a75
s4-smbtorture: add kernel_mode_registry_path().
...
Guenther
2010-05-21 01:31:26 +02:00
Günther Deschner
e6047c1634
s4-smbtorture: Fix volatile test in RPC-WINREG.
...
Guenther
2010-05-21 01:31:22 +02:00
Günther Deschner
393e1495af
s4-smbtorture: pass down hkey to main keytest in RPC-WINREG.
...
Guenther
2010-05-20 22:49:50 +02:00
Günther Deschner
7370d03627
s4-smbtorture: use push_reg_sz()/push_reg_multi_sz() in RPC-WINREG.
...
Guenther
2010-05-20 22:49:50 +02:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Stefan Metzmacher
e1e2195a4a
s4:torture/rpc: rename rpc.h => torture_rpc.h
...
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-14 20:27:11 +02:00
Stefan Metzmacher
bc6a43aeb4
s4:torture/rpc/winreg: fix compiler warnings
...
metze
2010-04-14 12:01:30 +02:00
Günther Deschner
1cec3029e5
s4-smbtorture: display helpful error message when winreg_QueryMultipleValues fails.
...
Guenther
2010-04-09 18:33:45 +02:00
Günther Deschner
5d04aadcb9
s4-smbtorture: Fix winreg test after keytype renameing.
...
Guenther
2010-04-09 13:57:18 +02:00
Günther Deschner
8c593f6355
s4-smbtorture: when creating winreg-symlinks during a test, it is very wise to make them volatile.
...
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
299a6ffe9e
s4-smbtorture: winreg keytype options is a bitmask.
...
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
bc9289995a
s4-smbtorture: more work on registry REG_LINK (in-registry symlinks) test.
...
Guenther
2010-04-09 13:57:17 +02:00
Matthias Dieter Wallnöfer
bebb17ad0e
s4:WINREG torture - fix an error (missing "break" in a "switch")
...
Sorry my fault - I didn't discover that earlier since we had binary data types
support activated in s4.
2010-03-23 16:46:17 +01:00
Matthias Dieter Wallnöfer
f39ef98668
Revert "s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4"
...
This reverts commit 0f2cf82e5e
.
Naturally we have to revert this for s4 until a new storage mechanism for binary
REG_SZ and REG_*WORD values has been found.
2010-03-23 00:16:19 +01:00
Matthias Dieter Wallnöfer
0f2cf82e5e
s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4
...
Should be definitely fixed now.
2010-03-21 14:30:53 +01:00
Matthias Dieter Wallnöfer
d82b325bc3
s4:torture WINREG - enhance test for "QWORD" type
...
We need to know how this behaves.
2010-03-21 14:03:56 +01:00
Matthias Dieter Wallnöfer
66f94ca3ec
s4:torture WINREG - enhance test for "DWORD_BIG_ENDIAN" type
...
We need to know how this behaves.
2010-03-21 14:03:56 +01:00
Günther Deschner
d41b8c3053
s4-smbtorture: skip security descriptor tests against Samba in RPC-WINREG.
...
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
3db9729240
s4-smbtorture: re-arrange tests in RPC-WINREG.
...
Mostly choping test_Open() into smaller parts.
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
75a4dffac1
s4-smbtorture: add test to check different keytypes.
...
This test will be skipped for samba.
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
89eaa9ed8e
s4-smbtorture: add test_DeleteKey_opts to RPC-WINREG.
...
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
80ba1295ec
s4-smbtorture: add test_OpenKey_opts() to RPC-WINREG.
...
Guenther
2010-03-17 11:48:52 +01:00