[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 16/40] tests/docker: check for an parameters not empty string
From: |
Alex Bennée |
Subject: |
[PATCH v4 16/40] tests/docker: check for an parameters not empty string |
Date: |
Wed, 1 Jul 2020 14:56:28 +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>
---
v4
- if [ $# == 0 ]; then -> if [ $# = 0 ]; then
---
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..ebc5b97ecf9 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 v4 21/40] gitlab: build all container images during CI, (continued)
- [PATCH v4 21/40] gitlab: build all container images during CI, Alex Bennée, 2020/07/01
- [PATCH v4 20/40] gitlab: introduce explicit "container" and "build" stages, Alex Bennée, 2020/07/01
- [PATCH v4 19/40] gitlab-ci: Fix the change rules after moving the YML files, Alex Bennée, 2020/07/01
- [PATCH v4 22/40] gitlab: convert jobs to use custom built containers, Alex Bennée, 2020/07/01
- [PATCH v4 23/40] gitlab: build containers with buildkit and metadata, Alex Bennée, 2020/07/01
- [PATCH v4 37/40] gitlab: limit re-builds of the containers, Alex Bennée, 2020/07/01
- [PATCH v4 26/40] tests/acceptance: skip s390x_ccw_vrtio_tcg on GitLab, Alex Bennée, 2020/07/01
- [PATCH v4 34/40] gitlab: enable check-tcg for linux-user tests, Alex Bennée, 2020/07/01
- [PATCH v4 15/40] tests/vm: allow us to take advantage of MTTCG, Alex Bennée, 2020/07/01
- [PATCH v4 35/40] gitlab: add avocado asset caching, Alex Bennée, 2020/07/01
- [PATCH v4 16/40] tests/docker: check for an parameters not empty string,
Alex Bennée <=
- [PATCH v4 27/40] tests/acceptance: fix dtb path for machine_rx_gdbsim, Alex Bennée, 2020/07/01
- [PATCH v4 14/40] tests/vm: switch from optsparse to argparse, Alex Bennée, 2020/07/01
- [PATCH v4 33/40] linux-user/elfload: use MAP_FIXED_NOREPLACE in pgb_reserved_va, Alex Bennée, 2020/07/01
- [PATCH v4 31/40] tests/tcg: add more default compilers to configure.sh, Alex Bennée, 2020/07/01
- [PATCH v4 40/40] shippable: pull images from registry instead of building, Alex Bennée, 2020/07/01
- [PATCH v4 29/40] tests/acceptance: skip LinuxInitrd 2gib with v4.16 on GitLab, Alex Bennée, 2020/07/01
- [PATCH v4 38/40] containers.yml: build with docker.py tooling, Alex Bennée, 2020/07/01
- [PATCH v4 28/40] tests/acceptance: skip multicore mips_malta tests on GitLab, Alex Bennée, 2020/07/01