From db5c9b2dbd78e632c7571fdf807c622f1e64f715 Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Jul 10 2011 18:56:33 +0000 Subject: Added a test to check that ntp is using centos' server pool --- diff --git a/tests/p_ntp/ntp_centos_servers.sh b/tests/p_ntp/ntp_centos_servers.sh new file mode 100755 index 0000000..315c849 --- /dev/null +++ b/tests/p_ntp/ntp_centos_servers.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# Author: Athmane Madjoudj + +t_Log "Running $0 - NTP is using CentOS server pool test." + +grep ".centos.pool.ntp.org" /etc/ntp.conf > /dev/null 2>&1 + +t_CheckExitStatus $?