Commit 3b1b1e1d authored by Pekka Pessi's avatar Pekka Pessi

run_test_sresolv: checking for bind9

darcs-hash:20070209150846-55b16-74d4f992b642319ea806f5129a50cabc482826e9.gz
parent 8d85c5c8
......@@ -55,9 +55,11 @@ if netstat --ip >/dev/null 2>&1 ; then
done
fi
# No named, no fun
type -p named >/dev/null || {
echo test_sresolv: there is no BIND named installed, skipping
# No BIND 9, no fun
{ type -p named >/dev/null &&
named -v | grep -q BIND.*9
} || {
echo test_sresolv: there is no BIND 9 named in you path, skipping
exit 77
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment