echo "This test only works if run as root. Skipping."
exit 0
fi
+if ! which sudo > /dev/null
+then
+ echo "This test requires sudo. Skipping."
+ exit 0
+fi
if [ ! -x `which sudo` ]
then
echo "This test requires sudo. Skipping."
exit 0
fi
+if ! which nslookup
+then
+ echo "This test requires nslookup. Skipping."
+ exit 0
+fi
if [ ! -x `which nslookup` ]
then
echo "This test requires nslookup. Skipping."