summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-21 17:35:26 -0700
committerJelmer Vernooij <jelmer@samba.org>2010-09-21 22:54:33 -0700
commit4c681f760fbf0dc98627fdc94046df793c405ef1 (patch)
treed64c07e6d29846a8f4fea80156009e73dc5abd99 /lib/util
parent94f84da1f6ef5d05439e582012eb5349de618e41 (diff)
downloadsamba-4c681f760fbf0dc98627fdc94046df793c405ef1.tar.gz
samba-4c681f760fbf0dc98627fdc94046df793c405ef1.tar.bz2
samba-4c681f760fbf0dc98627fdc94046df793c405ef1.zip
strlist: Make test names unique.
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/tests/strlist.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/util/tests/strlist.c b/lib/util/tests/strlist.c
index ce7d1e4e9b..3a7f2a5cc5 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]);
}