diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2020-07-01 14:56:28 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2020-07-11 15:53:00 +0100 |
commit | 10c927dcc5075c317187fa525021af5d6a1f511e (patch) | |
tree | dee8b646516bc9396cd5e42985b28ed1eec15896 /tests/docker | |
parent | b09539444a4b319b02043638682867ad02b1f47e (diff) |
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>
Diffstat (limited to 'tests/docker')
-rwxr-xr-x | tests/docker/common.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/common.rc b/tests/docker/common.rc index 02cd67a8c5..ebc5b97ecf 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -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="$@" |