summaryrefslogtreecommitdiffstats
path: root/tests/tinydns
blob: 7ae1df96470c15989945311384139877c66e7306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
	apk_add $@
	echo "=localhost:127.0.0.1" > /etc/tinydns/localdomain
	/etc/init.d/tinydns start
	pidof $@
	/etc/init.d/tinydns stop
	i=10; while pidof $@; do		\
		[ $i -eq 0 ] && exit 1;	\
		i=$((i - 1));		\
		sleep 1;			\
	done
	rm -f /etc/tinydns/localdomain
	apk_del $@