From 3c744ddd2c33a9a06013f357261b8ea86804e8e8 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Mon, 24 Dec 2007 13:04:56 -0600 Subject: r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const. Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96) --- source4/param/tests/share.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'source4/param/tests/share.c') 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) -- cgit