From e4cdd7ccc584b1e7adb9909028d35936f69114de Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 30 Oct 2018 01:43:31 +0100 Subject: tests: fix domainname dependency These are causing random test failures when the host's domainname is actually set to something (as opposed to empty/unset, which it is 99% of times.) Signed-off-by: David Lamparter --- tests/lib/cli/common_cli.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/lib/cli/common_cli.c') diff --git a/tests/lib/cli/common_cli.c b/tests/lib/cli/common_cli.c index 04f1e3253d..7b2db0162b 100644 --- a/tests/lib/cli/common_cli.c +++ b/tests/lib/cli/common_cli.c @@ -80,6 +80,7 @@ int main(int argc, char **argv) /* Library inits. */ cmd_init(1); cmd_hostname_set("test"); + cmd_domainname_set("test.domain"); vty_init(master); memory_init(); -- cgit v1.2.3