From 1fec619021693cd147a12f14e3427bb07eda2ad0 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Tue, 20 Aug 2013 13:29:26 +0000 Subject: [PATCH] - test with `.' in hostname --- src/testbed/sample_hosts.txt | 2 +- src/testbed/test_testbed_api_hosts.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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])); -- 2.25.1