If --noignored option is used in security-tests-all.sh an empty argument is
passed to security-tests.sh which causes an error.
Refactor security test scripts to avoid empty arguments.
Change-Id: Iedfe0d35a096334ec070167c870de2db01d64607
{
# 'text' - console output
# 'summary' - used for summary view
- security-tests.sh "$1" --output=text --output=summary "$ign"
+ security-tests.sh "$1" --output=text --output=summary $ign
addSummary
}
echo "========================================================================="
echo "KEY MANAGER UNPRIVILEGED TESTS"
echo
- ARGS="${@:2}"
- su - owner -c "ckm-tests $ARGS"
+ su - owner -c "ckm-tests ${@:2}"
echo "========================================================================="
echo "KEY MANAGER PRIVILEGED TESTS"
echo
- ckm-privileged-tests $ARGS
+ ckm-privileged-tests "${@:2}"
;;
"yaca")
echo "========================================================================="