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
40b4c8
if [ "$CONTAINERTEST" -eq "1" ]; then
40b4c8
    t_Log "Running in container -> SKIP"
40b4c8
    exit 0
40b4c8
fi
40b4c8
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 $?