diff options
Diffstat (limited to 'tests/dropbear')
-rw-r--r-- | tests/dropbear | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/dropbear b/tests/dropbear new file mode 100644 index 0000000..e231a33 --- /dev/null +++ b/tests/dropbear @@ -0,0 +1,13 @@ + apk_add $@ + # listen to other port since openssh is using port 22 + echo 'DROPBEAR_OPTS="-p 10022"' >/etc/conf.d/dropbear + /etc/init.d/$@ start + pidof $@ + /etc/init.d/$@ stop + while pidof $@; do\ + echo -n "." >/dev/tty;\ + sleep 1;\ + done + # while we are here, just check the client as well + dbclient -h + apk_del $@ |