fix debian test_pihole_start_cmd

This commit is contained in:
diginc
2017-12-07 20:27:06 -06:00
parent 6ff1d21f7b
commit aab0b3f3cb
4 changed files with 15 additions and 12 deletions

View File

@@ -276,7 +276,7 @@ test_framework_stubbing() {
if [ -n "$PYTEST" ] ; then
echo ":::::: Tests are being ran - stub out ad list fetching and add a fake ad block"
sed -i 's/^gravity_spinup$/#gravity_spinup # DISABLED FOR PYTEST/g' "$(which gravity.sh)"
echo 'testblock.pi-hole.local' >> /etc/pihole/blacklist.txt
echo 'testblock.pi-hole.local' >> /etc/pihole/black.list
fi
}