Add tests for every command

This commit is contained in:
Loïc Guitaut
2015-09-08 14:47:52 +02:00
parent cc5c7fee25
commit bd2bad8e1a
19 changed files with 416 additions and 31 deletions

View File

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