mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
lib/util/charset: the comparsion must be against our charset modules
There is little point testing this against the system iconv. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Sep 10 15:45:42 CEST 2011 on sn-devel-104
This commit is contained in:
parent
142f871cef
commit
86b1f45a5e
@ -158,14 +158,14 @@ static bool test_buffer(struct torture_context *test,
|
||||
"failed to open %s to UTF-16LE",
|
||||
charset));
|
||||
}
|
||||
cd2 = smb_iconv_open_ex(test, charset, "UTF-16LE", lpcfg_parm_bool(test->lp_ctx, NULL, "iconv", "native", true));
|
||||
cd2 = smb_iconv_open_ex(test, charset, "UTF-16LE", false);
|
||||
if (cd2 == (iconv_t)-1) {
|
||||
torture_fail(test,
|
||||
talloc_asprintf(test,
|
||||
"failed to open %s to UTF-16LE via smb_iconv_open_ex",
|
||||
charset));
|
||||
}
|
||||
cd3 = smb_iconv_open_ex(test, "UTF-16LE", charset, lpcfg_parm_bool(test->lp_ctx, NULL, "iconv", "native", true));
|
||||
cd3 = smb_iconv_open_ex(test, "UTF-16LE", charset, false);
|
||||
if (cd3 == (iconv_t)-1) {
|
||||
torture_fail(test,
|
||||
talloc_asprintf(test,
|
||||
|
Loading…
x
Reference in New Issue
Block a user