Skip to content

Commit 96132e5

Browse files
committed
kvs/test: rename test functions to be more clear
Problem: Some test functions in test/kvsroot.c are poorly name. Add more descriptive function names.
1 parent 6557fcf commit 96132e5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/modules/kvs/test/kvsroot.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
int global = 0;
2525

26-
void basic_api_tests (void)
26+
void basic_kvsroot_mgr_tests (void)
2727
{
2828
kvsroot_mgr_t *krm;
2929
struct cache *cache;
@@ -93,7 +93,7 @@ void basic_api_tests (void)
9393
cache_destroy (cache);
9494
}
9595

96-
void basic_api_tests_non_primary (void)
96+
void basic_kvsroot_mgr_tests_non_primary (void)
9797
{
9898
kvsroot_mgr_t *krm;
9999
struct cache *cache;
@@ -148,7 +148,7 @@ int roots_remove_cb (struct kvsroot *root, void *arg)
148148
return 1;
149149
}
150150

151-
void basic_iter_tests (void)
151+
void basic_kvsroot_mgr_iter_roots (void)
152152
{
153153
kvsroot_mgr_t *krm;
154154
struct cache *cache;
@@ -415,9 +415,9 @@ int main (int argc, char *argv[])
415415
{
416416
plan (NO_PLAN);
417417

418-
basic_api_tests ();
419-
basic_api_tests_non_primary ();
420-
basic_iter_tests ();
418+
basic_kvsroot_mgr_tests ();
419+
basic_kvsroot_mgr_tests_non_primary ();
420+
basic_kvsroot_mgr_iter_roots ();
421421
basic_kvstxn_mgr_tests ();
422422
basic_convenience_corner_case_tests ();
423423
basic_transaction_request_tests ();

0 commit comments

Comments
 (0)