summaryrefslogtreecommitdiffstats
path: root/tests/openntpd
blob: 2a6b2c84e6f7a03fa923823d60b8620d554c56f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
	apk_add $@
	sed -i -e '/^NTPD_OPTS=.*/d' /etc/conf.d/ntpd
	echo 'NTPD_OPTS="-s"' >> /etc/conf.d/ntpd
	/etc/init.d/ntpd start
	sleep 2
	pidof ntpd
	/etc/init.d/ntpd stop
	# verify that it really dies
	sleep 2
	! pidof ntpd
	apk_del $@