[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 13/18] tests/docker: check for an parameters not empty string
From: |
Alex Bennée |
Subject: |
[PATCH v1 13/18] tests/docker: check for an parameters not empty string |
Date: |
Mon, 22 Jun 2020 15:31:59 +0100 |
Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/docker/common.rc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/docker/common.rc b/tests/docker/common.rc
index 02cd67a8c5e..b27ce17e333 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="$@"
--
2.20.1
- [PATCH v1 08/18] tests/vm: change scripts to use self._config, (continued)
- [PATCH v1 08/18] tests/vm: change scripts to use self._config, Alex Bennée, 2020/06/22
- [PATCH v1 04/18] tests/vm: Added configuration file support, Alex Bennée, 2020/06/22
- [PATCH v1 07/18] tests/vm: Added a new script for centos.aarch64., Alex Bennée, 2020/06/22
- [PATCH v1 10/18] tests/vm: Add workaround to consume console, Alex Bennée, 2020/06/22
- [PATCH v1 12/18] tests/vm: allow us to take advantage of MTTCG, Alex Bennée, 2020/06/22
- [PATCH v1 13/18] tests/docker: check for an parameters not empty string,
Alex Bennée <=
- [PATCH v1 14/18] .gitignore: un-ignore .gitlab-ci.d, Alex Bennée, 2020/06/22
- [PATCH v1 11/18] tests/vm: switch from optsparse to argparse, Alex Bennée, 2020/06/22
- [PATCH v1 09/18] python/qemu: Add ConsoleSocket for optional use in QEMUMachine, Alex Bennée, 2020/06/22
- [PATCH v1 16/18] .gitlab: split fedora-misc-disabled, Alex Bennée, 2020/06/22
- [PATCH v1 17/18] .gitlab: tag remaining jobs as builds, Alex Bennée, 2020/06/22