From: Sree Harsha Totakura Date: Tue, 20 Aug 2013 13:29:26 +0000 (+0000) Subject: - test with `.' in hostname X-Git-Tag: initial-import-from-subversion-38251~7743 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1fec619021693cd147a12f14e3427bb07eda2ad0;p=oweals%2Fgnunet.git - test with `.' in hostname --- diff --git a/src/testbed/sample_hosts.txt b/src/testbed/sample_hosts.txt index b38578cad..32b87e87e 100644 --- a/src/testbed/sample_hosts.txt +++ b/src/testbed/sample_hosts.txt @@ -2,6 +2,6 @@ totakura@192.168.0.1:22 totakura@192.168.0.2:22 totakura@opt01:22 totakura@i19-n015:2022 -totakura@asgard +totakura@asgard.realm rivendal rohan:561 diff --git a/src/testbed/test_testbed_api_hosts.c b/src/testbed/test_testbed_api_hosts.c index 593879188..0c3c17a6b 100644 --- a/src/testbed/test_testbed_api_hosts.c +++ b/src/testbed/test_testbed_api_hosts.c @@ -137,7 +137,7 @@ run (void *cls, char *const *args, const char *cfgfile, GNUNET_assert (0 == strcmp ("totakura", GNUNET_TESTBED_host_get_username_ (hosts[cnt]))); - GNUNET_assert (0 == strcmp ("asgard", + GNUNET_assert (0 == strcmp ("asgard.realm", GNUNET_TESTBED_host_get_hostname (hosts[cnt]))); GNUNET_assert (22 == GNUNET_TESTBED_host_get_ssh_port_ (hosts[cnt]));