mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
31c1c7846f
I had previously thought this was unnecessary, as windows doesn't use
standards compliant UTF-16, and for filesystem operations treats bytes
as UCS-2, but Bjoern Jacke has pointed out to me that this means we
don't correctly store extended UTF-16 characters as UTF-8 on
disk. This can be seen with (for example) the gothic characters with
codepoints above 64k.
This commit also adds a LOCAL-ICONV torture test that tests the first
1 million codepoints against the system iconv library, and tests 5
million random UTF-16LE buffers for identical error handling to the
system iconv library.
the lib/iconv.c changes need backporting to samba3
(This used to be commit 756f28ac95
)
23 lines
595 B
Plaintext
23 lines
595 B
Plaintext
dnl # TORTURE subsystem
|
|
|
|
SMB_SUBSYSTEM_MK(TORTURE_BASIC,torture/config.mk)
|
|
|
|
SMB_SUBSYSTEM_MK(TORTURE_RAW,torture/config.mk)
|
|
|
|
SMB_SUBSYSTEM_MK(TORTURE_RPC,torture/config.mk)
|
|
|
|
SMB_SUBSYSTEM_MK(TORTURE_RAP,torture/config.mk)
|
|
|
|
SMB_SUBSYSTEM_MK(TORTURE_AUTH,torture/config.mk)
|
|
|
|
SMB_SUBSYSTEM_MK(TORTURE_LOCAL,torture/config.mk)
|
|
|
|
SMB_SUBSYSTEM_MK(TORTURE_NBENCH,torture/config.mk)
|
|
|
|
SMB_SUBSYSTEM_MK(TORTURE_LDAP,torture/config.mk)
|
|
|
|
SMB_BINARY_MK(smbtorture,torture/config.mk)
|
|
SMB_BINARY_MK(gentest,torture/config.mk)
|
|
SMB_BINARY_MK(masktest,torture/config.mk)
|
|
SMB_BINARY_MK(locktest,torture/config.mk)
|