lib/util/charset Rename convert_string test to allow a 'non_handle' test
authorAndrew Bartlett <abartlet@samba.org>
Mon, 11 Apr 2011 11:37:01 +0000 (21:37 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 13 Apr 2011 04:47:08 +0000 (14:47 +1000)
A future commit will test (with a subset of tests) the varient of this
function without _handle.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
lib/util/charset/tests/convert_string.c
source4/torture/local/local.c

index 1da9f0a8ddd9b5498b41c11ece26327dab07e243..ac0985c5e852f43096f17726f586ca72fd0e6783 100644 (file)
@@ -834,15 +834,14 @@ static bool test_plato_case_utf8(struct torture_context *tctx)
        return true;
 }
 
-struct torture_suite *torture_local_convert_string(TALLOC_CTX *mem_ctx)
+struct torture_suite *torture_local_convert_string_handle(TALLOC_CTX *mem_ctx)
 {
-       struct torture_suite *suite = torture_suite_create(mem_ctx, "convert_string_talloc");
+       struct torture_suite *suite = torture_suite_create(mem_ctx, "convert_string_handle");
 
        torture_suite_add_simple_test(suite, "gd_iso8859_cp850", test_gd_iso8859_cp850);
        torture_suite_add_simple_test(suite, "plato_english_iso8859_cp850", test_plato_english_iso8859_cp850);
        torture_suite_add_simple_test(suite, "plato_cp850_utf8", test_plato_cp850_utf8);
        torture_suite_add_simple_test(suite, "plato_latin_cp850_utf8", test_plato_latin_cp850_utf8);
-       torture_suite_add_simple_test(suite, "plato_ascii_cp850_utf8", test_plato_latin_cp850_utf8);
        return suite;
 }
 
index 53fab6636c739308fe47ca2d83f820a762379706..e7014f477b824e4f3e66b76fbd013007660614bf 100644 (file)
@@ -60,7 +60,7 @@
        torture_local_share,
        torture_local_loadparm,
        torture_local_charset,
-       torture_local_convert_string,
+       torture_local_convert_string_handle,
        torture_local_string_case,
        torture_local_compression,
        torture_local_event,