summaryrefslogtreecommitdiffstats
path: root/tests/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sysklogd')
-rw-r--r--tests/sysklogd17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/sysklogd b/tests/sysklogd
new file mode 100644
index 0000000..061e37d
--- /dev/null
+++ b/tests/sysklogd
@@ -0,0 +1,17 @@
+ INITD=$@
+ /etc/init.d/syslog stop
+ apk_add $@
+ /etc/init.d/$INITD start
+ sleep 1
+ pidof syslogd
+ /etc/periodic/daily/sysklogd
+ test -f /var/log/kern.log.0
+ /etc/periodic/daily/sysklogd
+ test -f /var/log/kern.log.1.gz
+ /etc/init.d/$INITD stop
+ while pidof $INITD; do\
+ echo -n "." >/dev/tty;\
+ sleep 1;\
+ done
+ apk_del $@
+ /etc/init.d/syslog start