[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 14/30] tests/docker: check for an parameters not empty string
From: |
Alex Bennée |
Subject: |
[PATCH v3 14/30] tests/docker: check for an parameters not empty string |
Date: |
Fri, 26 Jun 2020 19:13:41 +0100 |
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>
---
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 v3 08/30] tests/vm: Added a new script for centos.aarch64., (continued)
- [PATCH v3 08/30] tests/vm: Added a new script for centos.aarch64., Alex Bennée, 2020/06/26
- [PATCH v3 10/30] python/qemu: Add ConsoleSocket for optional use in QEMUMachine, Alex Bennée, 2020/06/26
- [PATCH v3 11/30] tests/vm: Add workaround to consume console, Alex Bennée, 2020/06/26
- [PATCH v3 17/30] gitlab-ci: Fix the change rules after moving the YML files, Alex Bennée, 2020/06/26
- [PATCH v3 21/30] gitlab: build containers with buildkit and metadata, Alex Bennée, 2020/06/26
- [PATCH v3 13/30] tests/vm: allow us to take advantage of MTTCG, Alex Bennée, 2020/06/26
- [PATCH v3 30/30] containers.yml: build with docker.py tooling, Alex Bennée, 2020/06/26
- [PATCH v3 16/30] .gitignore: un-ignore .gitlab-ci.d, Alex Bennée, 2020/06/26
- [PATCH v3 14/30] tests/docker: check for an parameters not empty string,
Alex Bennée <=
- [PATCH v3 20/30] gitlab: convert jobs to use custom built containers, Alex Bennée, 2020/06/26
- [PATCH v3 26/30] gitlab: enable check-tcg for linux-user tests, Alex Bennée, 2020/06/26
- [PATCH v3 15/30] tests/docker: change tag naming scheme of our images, Alex Bennée, 2020/06/26