From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CE8A7C433F5 for ; Wed, 12 Jan 2022 20:03:59 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 05AF183300; Wed, 12 Jan 2022 21:03:49 +0100 (CET) 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="AT9UyDy4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B4167832FD; Wed, 12 Jan 2022 21:03:44 +0100 (CET) Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (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 45C9C832CF for ; Wed, 12 Jan 2022 21:03:41 +0100 (CET) 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@google.com Received: by mail-ot1-x32a.google.com with SMTP id 35-20020a9d08a6000000b00579cd5e605eso3878712otf.0 for ; Wed, 12 Jan 2022 12:03:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HHOGCE20U/WabCUiTL9PNTPTYeyvDQrRigUIKa6WI/E=; b=AT9UyDy45ara6V0EdVAzj2vEuCzyrw/e0YjBDxlE4MuxgAHoBO9LyOAmYgrF+Lq98c BrXdsuSx6zUwAhJTNBrwwH+v0SvRVWGrxf7fFly44dwRm9edipLiG7EdBn5dWf6Qq6Wx llUQpif5eDPPmBeZr5//eyPewGJberiLtAKJc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HHOGCE20U/WabCUiTL9PNTPTYeyvDQrRigUIKa6WI/E=; b=IlI/JIMWRk8oTZHCsYLgyCVENWy1oBVCflMBwsYH1wvq1MXhdmSNmwOdL2+Bkn9559 Qzym62IjlierTvVJI73eVGzqwtq9GfQZUa/Fj1W46KhAbaVtv8z/pYCzTsSbZQ0ZEoQB Xh7DUkv2ECC9ufv0MlrQaWYVPtj90N0K2Ru9oPEvQg5XeR2GtKmq0+LY5O2eMxili+7H msrBUcauw1nSa0ALvjfzQFpfSWPp1Lzi6nkLuE9DmWAdDH6waybjrQHW84QSAo0oZcA4 hn+dFEojNDqxTbIddnwKAKUy8shAyDYjAspnM160cJHgrkV4S3uY2tS0RXH9jaKk/u8z vHHQ== X-Gm-Message-State: AOAM533j4jyCEwKwE/xULbjvNjqVGkxnDdSbO6stvxquiPfAr1+hTpSU mUAPc9e5YWarw3dfXDC01/hNrFxv0bb01kn3fKrc5FLT3PU= X-Google-Smtp-Source: ABdhPJwEJEDc98vJ6/4Xmdm8p8sBWGLgLWOUSrTCv0o6ZQ+JyYyInL6eyV5hMggN4lRdDPjklQgFxh366SmlZVzsc6w= X-Received: by 2002:a9d:6012:: with SMTP id h18mr1035229otj.203.1642017819734; Wed, 12 Jan 2022 12:03:39 -0800 (PST) MIME-Version: 1.0 References: <20211231161327.24918-1-francis.laniel@amarulasolutions.com> <20211231161327.24918-7-francis.laniel@amarulasolutions.com> In-Reply-To: <20211231161327.24918-7-francis.laniel@amarulasolutions.com> From: Simon Glass Date: Wed, 12 Jan 2022 13:03:26 -0700 Message-ID: Subject: Re: [RFC PATCH v1 06/21] test: hush: Test hush loops. To: Francis Laniel Cc: U-Boot Mailing List , Marek Behun , Michael Nazzareno Trimarchi , Wolfgang Denk , Harald Seiler Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.2 at phobos.denx.de X-Virus-Status: Clean On Fri, 31 Dec 2021 at 09:14, Francis Laniel wrote: > > The added tests ensure correct behavior of for, while and until loops. > > Signed-off-by: Francis Laniel > --- > test/hush/Makefile | 1 + > test/hush/loop.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 65 insertions(+) > create mode 100644 test/hush/loop.c Reviewed-by: Simon Glass