bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone

Blame tests/p_ntp/ntp_centos_servers.sh

Athmane Madjoudj db5c9b
#!/bin/sh
Athmane Madjoudj db5c9b
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 0a4730
# Ref.: http://bugs.centos.org/view.php?id=4943
Athmane Madjoudj db5c9b
Pablo Greco c2d6da
if [ "$centos_ver" -ge 8 ] ; then
Pablo Greco c2d6da
  exit 0
Pablo Greco c2d6da
fi
Athmane Madjoudj db5c9b
t_Log "Running $0 - NTP is using CentOS server pool test."
Athmane Madjoudj db5c9b
Athmane Madjoudj db5c9b
grep ".centos.pool.ntp.org" /etc/ntp.conf > /dev/null 2>&1
Athmane Madjoudj db5c9b
Athmane Madjoudj db5c9b
t_CheckExitStatus $?