From 92bc91f21ea5f201526775cd67df755eb50a0a78 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Sun, 16 Sep 2012 12:33:41 +0000 Subject: [PATCH] rename --- src/testbed/Makefile.am | 10 +++++----- ...peers.c => test_testbed_api_2peers_1controller.c} | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) rename src/testbed/{test_testbed_api_2peers.c => test_testbed_api_2peers_1controller.c} (97%) diff --git a/src/testbed/Makefile.am b/src/testbed/Makefile.am index 5efaef97e..5f149d905 100644 --- a/src/testbed/Makefile.am +++ b/src/testbed/Makefile.am @@ -71,7 +71,7 @@ libgnunettestbed_la_LDFLAGS = \ check_PROGRAMS = \ test_testbed_api_hosts \ test_testbed_api_controllerlink \ - test_testbed_api_2peers \ + test_testbed_api_2peers_1controller \ test_testbed_api \ test_testbed_api_operations \ test_testbed_api_testbed_run \ @@ -82,7 +82,7 @@ if ENABLE_TEST_RUN TESTS = \ test_testbed_api \ test_testbed_api_hosts \ - test_testbed_api_2peers \ + test_testbed_api_2peers_1controller \ test_testbed_api_operations \ test_gnunet_helper_testbed \ test_testbed_api_controllerlink \ @@ -104,9 +104,9 @@ test_testbed_api_LDADD = \ $(top_builddir)/src/dht/libgnunetdht.la \ libgnunettestbed.la -test_testbed_api_2peers_SOURCES = \ - test_testbed_api_2peers.c -test_testbed_api_2peers_LDADD = \ +test_testbed_api_2peers_1controller_SOURCES = \ + test_testbed_api_2peers_1controller.c +test_testbed_api_2peers_1controller_LDADD = \ $(top_builddir)/src/util/libgnunetutil.la \ $(top_builddir)/src/testing/libgnunettesting.la \ libgnunettestbed.la diff --git a/src/testbed/test_testbed_api_2peers.c b/src/testbed/test_testbed_api_2peers_1controller.c similarity index 97% rename from src/testbed/test_testbed_api_2peers.c rename to src/testbed/test_testbed_api_2peers_1controller.c index 25ae251d9..0e1f83e98 100644 --- a/src/testbed/test_testbed_api_2peers.c +++ b/src/testbed/test_testbed_api_2peers_1controller.c @@ -19,9 +19,9 @@ */ /** - * @file testbed/test_testbed_api_2peers.c + * @file testbed/test_testbed_api_2peers_1controller.c * @brief testcases for the testbed api: 2 peers are configured, started and - * connected together + * connected together. The 2 peer reside on a single controller. * @author Sree Harsha Totakura */ @@ -491,7 +491,7 @@ main (int argc, char **argv) { int ret; - char *const argv2[] = { "test_testbed_api_2peers", + char *const argv2[] = { "test_testbed_api_2peers_1controller", "-c", "test_testbed_api.conf", NULL }; @@ -501,11 +501,11 @@ main (int argc, char **argv) result = INIT; ret = GNUNET_PROGRAM_run ((sizeof (argv2) / sizeof (char *)) - 1, argv2, - "test_testbed_api_2peers", "nohelp", options, &run, - NULL); + "test_testbed_api_2peers_1controller", "nohelp", + options, &run, NULL); if ((GNUNET_OK != ret) || (SUCCESS != result)) return 1; return 0; } -/* end of test_testbed_api_2peers.c */ +/* end of test_testbed_api_2peers_1controller.c */ -- 2.25.1