tests/docker: check for an parameters not empty string

Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Message-Id: <20200701135652.1366-17-alex.bennee@linaro.org>
This commit is contained in:
Alex Bennée 2020-07-01 14:56:28 +01:00
parent b09539444a
commit 10c927dcc5

View file

@ -47,7 +47,7 @@ build_qemu()
check_qemu()
{
# default to make check unless the caller specifies
if test -z "$@"; then
if [ $# = 0 ]; then
INVOCATION="check"
else
INVOCATION="$@"