summaryrefslogtreecommitdiff
path: root/source4/param/tests
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2007-12-24 13:04:56 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-26 11:57:05 -0600
commit3c744ddd2c33a9a06013f357261b8ea86804e8e8 (patch)
tree431d069898a963280398c88b94f56498ac678aa8 /source4/param/tests
parent95b1f554b2c57a9f975a0cc27ca51bec6c7594d6 (diff)
downloadsamba-3c744ddd2c33a9a06013f357261b8ea86804e8e8.tar.gz
samba-3c744ddd2c33a9a06013f357261b8ea86804e8e8.tar.bz2
samba-3c744ddd2c33a9a06013f357261b8ea86804e8e8.zip
r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
Diffstat (limited to 'source4/param/tests')
-rw-r--r--source4/param/tests/share.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/source4/param/tests/share.c b/source4/param/tests/share.c
index 390da9dede..6d03b4e049 100644
--- a/source4/param/tests/share.c
+++ b/source4/param/tests/share.c
@@ -168,12 +168,16 @@ static bool test_double_create(struct torture_context *tctx,
static void tcase_add_share_tests(struct torture_tcase *tcase)
{
- torture_tcase_add_test(tcase, "list_empty", test_list_empty, NULL);
- torture_tcase_add_test(tcase, "share_create", test_create, NULL);
- torture_tcase_add_test(tcase, "share_remove", test_share_remove, NULL);
- torture_tcase_add_test(tcase, "share_remove_invalid", test_share_remove_invalid, NULL);
- torture_tcase_add_test(tcase, "share_create_invalid", test_create_invalid, NULL);
- torture_tcase_add_test(tcase, "share_double_create", test_double_create, NULL);
+ torture_tcase_add_test_const(tcase, "list_empty", test_list_empty,NULL);
+ torture_tcase_add_test_const(tcase, "share_create", test_create, NULL);
+ torture_tcase_add_test_const(tcase, "share_remove", test_share_remove,
+ NULL);
+ torture_tcase_add_test_const(tcase, "share_remove_invalid",
+ test_share_remove_invalid, NULL);
+ torture_tcase_add_test_const(tcase, "share_create_invalid",
+ test_create_invalid, NULL);
+ torture_tcase_add_test_const(tcase, "share_double_create",
+ test_double_create, NULL);
}
static bool setup_ldb(struct torture_context *tctx, void **data)