summaryrefslogtreecommitdiffstats
path: root/tests/opennhrp
blob: e21eb36feccd9e7e2195b25bef324288d629f842 (plain)
1
2
3
4
5
6
7
8
9
10
	apk_add $@
	/etc/init.d/opennhrp start
	pidof opennhrp
	/etc/init.d/opennhrp stop
	i=10; while pidof $@; do		\
		[ $i -eq 0 ] && exit 1;	\
		i=$((i - 1));		\
		sleep 1;			\
	done
	apk_del $@