aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2016-02-02 23:22:34 +0100
committerAngelo Naselli <anaselli@linux.it>2016-02-02 23:22:34 +0100
commit72e8ffa7bc218e163d889812d7f00f738b7aefd2 (patch)
tree75304fd97888644f6f5b697182a99b33ae9b4301 /t
parent0afaaae36d05e2c9c275193636049a209a745faf (diff)
downloadmanatools-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.t4
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) {