diff options
author | Angelo Naselli <anaselli@linux.it> | 2016-02-02 23:22:34 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2016-02-02 23:22:34 +0100 |
commit | 72e8ffa7bc218e163d889812d7f00f738b7aefd2 (patch) | |
tree | 75304fd97888644f6f5b697182a99b33ae9b4301 /t | |
parent | 0afaaae36d05e2c9c275193636049a209a745faf (diff) | |
download | manatools-72e8ffa7bc218e163d889812d7f00f738b7aefd2.tar manatools-72e8ffa7bc218e163d889812d7f00f738b7aefd2.tar.gz manatools-72e8ffa7bc218e163d889812d7f00f738b7aefd2.tar.bz2 manatools-72e8ffa7bc218e163d889812d7f00f738b7aefd2.tar.xz manatools-72e8ffa7bc218e163d889812d7f00f738b7aefd2.zip |
manaclock - Added local NTP server setup mga#17569
Diffstat (limited to 't')
-rw-r--r-- | t/04-Shared_TimeZone.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/04-Shared_TimeZone.t b/t/04-Shared_TimeZone.t index c96165a4..8a3578f7 100644 --- a/t/04-Shared_TimeZone.t +++ b/t/04-Shared_TimeZone.t @@ -23,8 +23,8 @@ BEGIN { diag "ntp_program got: < " . $currService . " >"; ok (my $a = ($tz->isNTPRunning() ? "running" : "not running"), 'isNTPRunning'); diag "Check if " . $currService . " is running got: < " . $a . " >"; - ok (my $s = $tz->ntpCurrentServer(), 'currentNTPServer'); - diag "ntpCurrentServer got: < " . ($s ? $s : "none") . " >"; + ok (my @s = $tz->ntpCurrentServers(), 'currentNTPServers'); + diag "ntpCurrentServers got: < " . join(',', @s) . " >"; ok (my @pairs = $tz->ntpServiceConfigPairs(), 'ntpServiceConfigPairs'); diag Dumper(@pairs); for my $pair (@pairs) { |