summaryrefslogtreecommitdiffstats
path: root/tests/mini_httpd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mini_httpd')
-rw-r--r--tests/mini_httpd11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/mini_httpd b/tests/mini_httpd
new file mode 100644
index 0000000..61566cd
--- /dev/null
+++ b/tests/mini_httpd
@@ -0,0 +1,11 @@
+ apk_add $@
+ echo "MINI_HTTPD_DOCROOT=`pwd`" >> /etc/conf.d/mini_httpd
+ /etc/init.d/$@ start
+ sleep 1
+ pidof $@2
+ /etc/init.d/$@ stop
+ while pidof $@; do\
+ echo -n "." >/dev/tty;\
+ sleep 1;\
+ done
+ apk_del $@