Add tests for every implemented command

This commit is contained in:
Loïc Guitaut
2015-09-10 16:21:35 +02:00
parent 5ffe614ad0
commit 12557fbaa1
18 changed files with 425 additions and 29 deletions

View File

@@ -7,7 +7,8 @@ export PLUGIN_COMMAND_PREFIX="mongo"
export PLUGIN_PATH="$DOKKU_ROOT/plugins"
export PLUGIN_DATA_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/fixtures"
mkdir -p $PLUGIN_DATA_ROOT
mkdir -p "$PLUGIN_DATA_ROOT"
rm -rf "${PLUGIN_DATA_ROOT:?}"/*
flunk() {
{ if [ "$#" -eq 0 ]; then cat -