tests: Add --config setting

This commit is contained in:
Matthias Beyer 2016-07-25 18:23:16 +02:00
parent bcab7f807d
commit f999c91283

View file

@ -37,7 +37,7 @@ imag-call-binary() {
local binary=$1; shift local binary=$1; shift
[[ -d $searchdir ]] || { err "FATAL: No directory $searchdir"; exit 1; } [[ -d $searchdir ]] || { err "FATAL: No directory $searchdir"; exit 1; }
local bin=$(find $searchdir -iname $binary -type f -executable) local bin=$(find $searchdir -iname $binary -type f -executable)
local flags="--override-config store.implicit-create=true --debug --rtp $RUNTIME" local flags="--config ./imagrc.toml --override-config store.implicit-create=true --debug --rtp $RUNTIME"
out "Calling '$bin $flags $*'" out "Calling '$bin $flags $*'"
$bin $flags $* $bin $flags $*
} }