From patchwork Wed Jul 1 13:56:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 192154 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp529026ilg; Wed, 1 Jul 2020 07:09:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4wFbw49D5GwcMHCWYEZA/Hc26i/BIjrUkLe3Ctu1yxVlBetueNOVhwi2vzBzam3EadYQY X-Received: by 2002:a25:688:: with SMTP id 130mr43164922ybg.466.1593612574474; Wed, 01 Jul 2020 07:09:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593612574; cv=none; d=google.com; s=arc-20160816; b=VNDQ6J2sDm5/1IEOwqi62Zdr3OOFqIeeK000pe/SykYnpAvjKoghkSKslO1aPwBArz LXMozwdDt4KfiEFlMfjLZyQ2R6LpFilJV55cS0YWQiKbVKk648sebHLq9dE7pdm9Cctz yR5f9Z2AU/l2gYo5VnVjspJpFlBvpZFT8Mwfa9ewkESLdQFuCnGwal/9GnqFIPDdh1vK 9R6MO7AF/kIO5EN66uAuYy9tnnSKULcNWMefQF/1HECu7FgOm2jA/Akg2MaH9gZ5IsCB mCWu7YFUj3UKrFrlGgdGeDs5iGCOrYXmWtmiYO7vHz0TwfLiBK1JAbWwBm12lP/897q2 DSlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Hc/GcVPMTlu7EGTBmWJqWp3KNZYqt74iySDJhQWwxVM=; b=CJmfehodr3BQSTHP3yNhzLVBYWQroDAjYHSbNUrjAX/jdoUe/aMzSflnE4Txg0kWWA vifQ3C36iAc1KOP5a8XUW5v2FvNtg9tDKgz8c3nWOLCqWZefuxjH8jyu71o0vE+w+OyZ HzD6WG5Mx5T7ch7LV72SDikm1eVfe5umKwlWnsJfTdKsqLGHL6tdJWmwt/WuzYFCVu2/ wcvKU4gZmPKnjFnwcia1DBj3j1xntoWFzKi+buZKqZ7Cws+6s2eWBQUiW96CZ4HIgD/H b3DFgx0IgoD6nHl78EhiX/A1jOOAq6kUw1o3s71IuyUPZMxmJCV1CAzJdRkQXi2qqM0b WQ/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="doiSvS/A"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id y16si5604378ybe.197.2020.07.01.07.09.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Jul 2020 07:09:34 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="doiSvS/A"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:50028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqdQb-0007Ha-Sx for patch@linaro.org; Wed, 01 Jul 2020 10:09:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqdKq-0004kG-1O for qemu-devel@nongnu.org; Wed, 01 Jul 2020 10:03:36 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:38633) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqdKo-0006pA-6b for qemu-devel@nongnu.org; Wed, 01 Jul 2020 10:03:35 -0400 Received: by mail-wr1-x443.google.com with SMTP id z13so23991212wrw.5 for ; Wed, 01 Jul 2020 07:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Hc/GcVPMTlu7EGTBmWJqWp3KNZYqt74iySDJhQWwxVM=; b=doiSvS/AcGDxLuuGZbW4HrBh69t+uEpuunpn0adkYBYU3cuD9QSvswtVFIqEzZQzk8 Wc6dBgSZop6cCVG457kKNNSbKxNSqxM9elxj01O+pWq8RP4ytXRjPlKXxkJ+t3PK+eQs iKSx3Ns9Pr9LoSdJVVe6hg7tQvHiiMI4eIxRPNpADdJ72ZZUMDudyWSO1u0hbWUV46wi 26l0UFlRxpLV8m8aLsDWppbjU/ixyRpIIzdfWbhtmEn4y/JoFtoUmzX4LH/9+iCjVKLj EUhP/Il+urPHW/zZxtjx0AnwMiNprMS+hUNVHgCKTcH+sieORX97OVTOVRiTs8lkuj6i mNPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Hc/GcVPMTlu7EGTBmWJqWp3KNZYqt74iySDJhQWwxVM=; b=kUXCvvgTAuw6Bc8yo7/IQsIDZTH9giAojqCm3Bxbv8HHrEZ3NKgVk5MO4X76fIm64f pSS6ExEIyFafqPHd1e84VVwX0q8TlMwTBZZexlG50hWlEZaNddbDNa39+LnpRjaKMBh2 R6NMgPwPDnInp5klpq/rOaxYCkqraTBAkwSV0ZCRnqCSEtwYfp3q5oQ5+hVEpLe5Iv8g YJWzmt89TlcS2kGVoO4OSnBlQjQSoFvK3RjBaObHCEF6GyNTeyvilJ8dunXMQCYNiTZo C82emCySFFhI93Pn+lKJm6uOCArhFtaPxxwoXlMuu4DHGmwfBa+NPOFjFGVLyAckDvV6 RHRQ== X-Gm-Message-State: AOAM5320eK1mL8DaBLPvGKGnZOFAaKUK8AfAlwKNSU6N1d0yctaosxsT Pw65j409ykXQfO7kg+qau8JprA== X-Received: by 2002:adf:e484:: with SMTP id i4mr27695045wrm.246.1593612212715; Wed, 01 Jul 2020 07:03:32 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id x124sm2330081wmx.16.2020.07.01.07.03.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2020 07:03:26 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 6A18D1FF9F; Wed, 1 Jul 2020 14:56:54 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v4 16/40] tests/docker: check for an parameters not empty string Date: Wed, 1 Jul 2020 14:56:28 +0100 Message-Id: <20200701135652.1366-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200701135652.1366-1-alex.bennee@linaro.org> References: <20200701135652.1366-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Peter Maydell , berrange@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , cota@braap.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Reported-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Suggested-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé --- v4 - if [ $# == 0 ]; then -> if [ $# = 0 ]; then --- tests/docker/common.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 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="$@"