diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2010-12-11 23:31:39 +0000 |
---|---|---|
committer | Jeff Bilyk <jbilyk@gmail.com> | 2010-12-11 23:31:39 +0000 |
commit | ac42a045d4691a46c96153dc794471e1a7dcbc06 (patch) | |
tree | 23840619e0d051c33970bada94a17634bced73d2 /tests/mini_httpd | |
parent | efe777a86451495dcc9e4a898f9a380f8cb6c162 (diff) | |
download | apts-ac42a045d4691a46c96153dc794471e1a7dcbc06.tar.bz2 apts-ac42a045d4691a46c96153dc794471e1a7dcbc06.tar.xz |
apts: re-add tests from before previous commit
Re-add tests from before previous commit
Diffstat (limited to 'tests/mini_httpd')
-rw-r--r-- | tests/mini_httpd | 11 |
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 $@ |