bstinson / centos / t_functional

Forked from centos/t_functional 3 years ago
Clone

Blame tests/p_bind/bind_test.sh

Athmane Madjoudj 6417b7
#!/bin/sh
Athmane Madjoudj 6417b7
# Author: Athmane Madjoudj <athmanem@gmail.com>
Athmane Madjoudj 6417b7
Karanbir Singh 106bcf
t_Log "Running $0 - bind: local resolver can qualify 127.0.0.1"
Athmane Madjoudj 6417b7
Athmane Madjoudj 6417b7
dig +timeout=1 +short @127.0.0.1 localhost | grep -q '127.0.0.1'
Athmane Madjoudj 6417b7
Athmane Madjoudj 6417b7
t_CheckExitStatus $?