From patchwork Sat May 8 22:00:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1475922 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=C9t4CUpq; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fd1W86Mydz9tlc for ; Sun, 9 May 2021 08:01:56 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0C9A382E9C; Sun, 9 May 2021 00:01:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="C9t4CUpq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DD6BE82E87; Sun, 9 May 2021 00:01:00 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F111682E93 for ; Sun, 9 May 2021 00:00:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x12f.google.com with SMTP id z1so2953281ils.0 for ; Sat, 08 May 2021 15:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sjr44rKzpM+l0tswSwncXa/U+ZVo8X+m/vDErLUU7QY=; b=C9t4CUpqQlrSHR1P/SeOEir8qMnlHmhS8pWOD71fAuA659wV7rI2GmUE6Zg4fRp14T c5yw6J9J9iyMd/FIo1l9+q6N8BB6cWGsFfKtCYCP+APd3bxx1vw+SMgSX0YAHu9P3WRK lxH7jcF+qv5sYJwFTuogrvpePYZegz1HBjF7I= 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=sjr44rKzpM+l0tswSwncXa/U+ZVo8X+m/vDErLUU7QY=; b=TrjEYbucuAUUgVC13r/kwKsTRQGEuCtAMjr6Bfe7rkHBd7QW3yAwoUZ6SWcW1ElK/P SU9XgvT7LggAN23pOPnsMgfDL5l1Qe/8fOuzLEB3M2ng0xhpcVyRAZ2TE8/Sv66EV/Oo BNQQcdc9AM38EPy9wu7lt4d9jp7SrMdcmDirL4ZZyyRPh8lsTTThojQboB5D1IRWAkkT ZVQOIVOznj6JiH0+VnZ1lbWFPzAaR9vi5hT6avdKZ3L2mt4sSjUq+JTtunI3nflFsJbJ NbQl5JHEwMzcMYw4q7QhZpbAmEKEX98cJH6iUqfZ24on11Edjc4MpZ0C+6FtjWmFucLL l05g== X-Gm-Message-State: AOAM533WlQsLLGExCKtHZnEbOJEJ+CFNYdlbcA+fzkLBmz2bV9YrbmGD PtOwP637zFjLWoZuVIln+JQKsJFjtQMsrXmf X-Google-Smtp-Source: ABdhPJyamtFsi3l9+biF7WOxciRLEeWtvwTK0O2tzRtKYz/KjIDE8nAVRhhRkgsUMpYuVbwRGazjWg== X-Received: by 2002:a92:d287:: with SMTP id p7mr9145686ilp.165.1620511230433; Sat, 08 May 2021 15:00:30 -0700 (PDT) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id t7sm5195196ile.87.2021.05.08.15.00.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 May 2021 15:00:30 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass , Bin Meng , =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH 04/17] test: Rename final check in setexpr_test_backref() Date: Sat, 8 May 2021 16:00:08 -0600 Message-Id: <20210508220021.1778080-5-sjg@chromium.org> X-Mailer: git-send-email 2.31.1.607.g51e8a6a459-goog In-Reply-To: <20210508220021.1778080-1-sjg@chromium.org> References: <20210508220021.1778080-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean The bug in setexpr is fixed now, so this test can be enabled. Reported-by: Coverity (CID: 316346) Signed-off-by: Simon Glass --- test/cmd/setexpr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/cmd/setexpr.c b/test/cmd/setexpr.c index c537e893538..08b6e6e7243 100644 --- a/test/cmd/setexpr.c +++ b/test/cmd/setexpr.c @@ -270,8 +270,6 @@ static int setexpr_test_backref(struct unit_test_state *uts) ut_asserteq_str("us this is surely! a test is it? yes us this is indeed! a test", buf); - /* The following checks fail at present due to a bug in setexpr */ - return 0; for (i = BUF_SIZE; i < 0x1000; i++) { ut_assertf(buf[i] == (char)i, "buf byte at %x should be %02x, got %02x)\n",