diff options
author | Kai Blin <kai@samba.org> | 2007-12-24 13:04:56 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-26 11:57:05 -0600 |
commit | 3c744ddd2c33a9a06013f357261b8ea86804e8e8 (patch) | |
tree | 431d069898a963280398c88b94f56498ac678aa8 /source4/lib/messaging | |
parent | 95b1f554b2c57a9f975a0cc27ca51bec6c7594d6 (diff) | |
download | samba-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/lib/messaging')
-rw-r--r-- | source4/lib/messaging/tests/irpc.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/lib/messaging/tests/irpc.c b/source4/lib/messaging/tests/irpc.c index ce3d1045e5..a2995fc983 100644 --- a/source4/lib/messaging/tests/irpc.c +++ b/source4/lib/messaging/tests/irpc.c @@ -260,11 +260,12 @@ struct torture_suite *torture_local_irpc(TALLOC_CTX *mem_ctx) tcase->setup = irpc_setup; for (i = 0; i < 5; i++) { - torture_tcase_add_test(tcase, "addone", test_addone, (void *)values[i]); + torture_tcase_add_test_const(tcase, "addone", test_addone, + (void *)values[i]); } - - torture_tcase_add_test(tcase, "echodata", test_echodata, NULL); - torture_tcase_add_test(tcase, "speed", test_speed, NULL); + + torture_tcase_add_test_const(tcase, "echodata", test_echodata, NULL); + torture_tcase_add_test_const(tcase, "speed", test_speed, NULL); return suite; } |