summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-09 15:36:24 +0100
committerGitHub <noreply@github.com>2018-12-09 15:36:24 +0100
commitdebaa48ba690cd65bcd6191eb870dd6c147a1dbf (patch)
tree05bc2187533dbd843d3b7e2512ad205594f3670e /tests/lib
parentMerge pull request #3442 from opensourcerouting/confirmed-commits (diff)
parentbuild: fix reproducibility re. -fdebug-prefix-map (diff)
downloadfrr-debaa48ba690cd65bcd6191eb870dd6c147a1dbf.tar.xz
frr-debaa48ba690cd65bcd6191eb870dd6c147a1dbf.zip
Merge pull request #3452 from opensourcerouting/reprobuild-master
[master] build reproducibility
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/cli/common_cli.c1
-rw-r--r--tests/lib/cli/test_cli.refout.in2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/cli/common_cli.c b/tests/lib/cli/common_cli.c
index 3cf30f00c..393b58874 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();
diff --git a/tests/lib/cli/test_cli.refout.in b/tests/lib/cli/test_cli.refout.in
index af8f9ce56..8f9959cc4 100644
--- a/tests/lib/cli/test_cli.refout.in
+++ b/tests/lib/cli/test_cli.refout.in
@@ -311,6 +311,7 @@ frr version @PACKAGE_VERSION@
frr defaults @DFLT_NAME@
!
hostname test
+domainname test.domain
!
!
!
@@ -327,6 +328,7 @@ frr version @PACKAGE_VERSION@
frr defaults @DFLT_NAME@
!
hostname foohost
+domainname test.domain
!
!
!