diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-09-21 17:35:26 -0700 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-09-21 22:54:33 -0700 |
commit | 4c681f760fbf0dc98627fdc94046df793c405ef1 (patch) | |
tree | d64c07e6d29846a8f4fea80156009e73dc5abd99 /lib | |
parent | 94f84da1f6ef5d05439e582012eb5349de618e41 (diff) | |
download | samba-4c681f760fbf0dc98627fdc94046df793c405ef1.tar.gz |
strlist: Make test names unique.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/tests/strlist.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/util/tests/strlist.c b/lib/util/tests/strlist.c index ce7d1e4e9bb..3a7f2a5cc56 100644 --- a/lib/util/tests/strlist.c +++ b/lib/util/tests/strlist.c @@ -473,12 +473,18 @@ struct torture_suite *torture_local_util_strlist(TALLOC_CTX *mem_ctx) int i; for (i = 0; i < ARRAY_SIZE(test_lists_shell_strings); i++) { - torture_suite_add_simple_tcase_const(suite, "lists_shell", + char *name; + name = talloc_asprintf(suite, "lists_shell(%s)", + test_lists_shell_strings[i].list_as_string); + torture_suite_add_simple_tcase_const(suite, name, test_lists_shell, &test_lists_shell_strings[i]); } for (i = 0; i < ARRAY_SIZE(test_lists_strings); i++) { - torture_suite_add_simple_tcase_const(suite, "list_make", + char *name; + name = talloc_asprintf(suite, "list_make(%s)", + test_lists_strings[i].list_as_string); + torture_suite_add_simple_tcase_const(suite, name, test_list_make, &test_lists_strings[i]); } |