summaryrefslogtreecommitdiffstats
path: root/tests/quagga
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2010-12-11 23:07:56 +0000
committerJeff Bilyk <jbilyk@gmail.com>2010-12-11 23:07:56 +0000
commitbe2dce01aaf55626d85932572a69316b5740a753 (patch)
tree7b82ea1b98f120cc1b604a8c9dde4f3294848cf0 /tests/quagga
parentc5263675dd5ebb31fe8dbb560ddf62bd6754455d (diff)
downloadapts-be2dce01aaf55626d85932572a69316b5740a753.tar.bz2
apts-be2dce01aaf55626d85932572a69316b5740a753.tar.xz
apts: more tests
more tests
Diffstat (limited to 'tests/quagga')
-rw-r--r--tests/quagga16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/quagga b/tests/quagga
new file mode 100644
index 0000000..1d65094
--- /dev/null
+++ b/tests/quagga
@@ -0,0 +1,16 @@
+INITD=zebra
+PROC=$INITD
+ apk_add $@
+ if ! [ test -e /etc/quagga ];
+ then mkdir -p /etc/quagga;
+ fi
+ touch /etc/quagga/zebra.conf
+ /etc/init.d/$INITD start
+ sleep 1
+ pidof $PROC
+ /etc/init.d/$INITD stop
+ while pidof $PROC; do\
+ echo -n "." >/dev/tty;\
+ sleep 1;\
+ done
+ apk_del $@