Add tests for every implemented command

This commit is contained in:
Loïc Guitaut
2015-09-10 11:57:24 +02:00
parent 860e5c7f9b
commit ca88f2bdce
21 changed files with 456 additions and 33 deletions

View File

@@ -7,7 +7,8 @@ export PLUGIN_COMMAND_PREFIX="postgres"
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 -