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 X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0EE6C07E99 for ; Tue, 6 Jul 2021 01:00:04 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 253236195E for ; Tue, 6 Jul 2021 01:00:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 253236195E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D5C2882C54; Tue, 6 Jul 2021 02:59:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="PZQIwPnY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3F03A82C50; Tue, 6 Jul 2021 02:59:24 +0200 (CEST) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (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 8B57B82C1B for ; Tue, 6 Jul 2021 02:59:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x833.google.com with SMTP id w22so7434438qtj.8 for ; Mon, 05 Jul 2021 17:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=dYxD7dRwSrC3J6qe/DqhfnnfumauC/UtUJRxOh1HaYw=; b=PZQIwPnYEqdOcTKLs7JHny223ochuiBc45kwiMnUZN71HHLaYZjWXgxRNO9NTky0rA kOJgFOldsoTZfQPPzbm6qVe8Qiqobe6FzV8dKell9ZpgtYlrI4WZB5mxiZz+K3lcb4WK aY7M9FvX34x3ls71NXeYp9JPM9m/M4bta49ws= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=dYxD7dRwSrC3J6qe/DqhfnnfumauC/UtUJRxOh1HaYw=; b=MpGtSajNmnP02BnUFAdE6G2IcWcbpbasUb2m/xleZkCDMjnoIK5UvX51FzEVj6jtv9 cI4VUgKVlsu3w/HScecjhbxRNdqLRh7PR0/4219UZ6w8EtRdZzr2XRu8Tq/7JS9ahAui sHjassxIznynuLV7RJxFH+/COHWCtTKZ5wYQsI/9vyE0e4Lem5N4iS69q9CBlCLdzldn gXHMAQnxg6VPlGubD6JZhVAh4D0gnMYD3bNwfpV2yis2FlJBstFWy8inQQatafWPNkYp tc3WMqNr17b0WCZIKD9OabePVk7hAzcFY7SlfC0e7mxumhdsj6FskW51+90dKkkUJqLZ ljhA== X-Gm-Message-State: AOAM530Fz6Q4O8c+lxtOQxaT80BJgDjvMXb2GvYsg4smGzE5HfUA2cQv RrX8L7SegIwD/AaFGaf6K25+0w== X-Google-Smtp-Source: ABdhPJzq+0WpTj3ta3MRp3E+yjh9c3QAfzPYKb4Nb5gtaF1/LF1b5ub8PWuIwoTBCR6ug1MFLCg6YA== X-Received: by 2002:ac8:60d:: with SMTP id d13mr15083971qth.223.1625533160415; Mon, 05 Jul 2021 17:59:20 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-5170-f33c-21eb-73eb.res6.spectrum.com. [2603:6081:7b01:cbda:5170:f33c:21eb:73eb]) by smtp.gmail.com with ESMTPSA id j141sm1154108qke.33.2021.07.05.17.59.19 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Jul 2021 17:59:19 -0700 (PDT) Date: Mon, 5 Jul 2021 20:59:17 -0400 From: Tom Rini To: Joao Marcos Costa Cc: u-boot@lists.denx.de, thomas.petazzoni@bootlin.com, miquel.raynal@bootlin.com, richard.genoud@posteo.net, sjg@chromium.org Subject: Re: [PATCH v3 2/3] test/py: rewrite sqfsload command test suite Message-ID: <20210706005917.GM9516@bill-the-cat> References: <20210630224505.104648-1-jmcosta944@gmail.com> <20210630224505.104648-3-jmcosta944@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8pQXFPSJWzkhba+K" Content-Disposition: inline In-Reply-To: <20210630224505.104648-3-jmcosta944@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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.103.2 at phobos.denx.de X-Virus-Status: Clean --8pQXFPSJWzkhba+K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 30, 2021 at 07:45:04PM -0300, Joao Marcos Costa wrote: > The previous strategy to know if a file was correctly loaded was to > check for how many bytes were read and compare it against the file's > original size. Since this is not a good solution, replace it by > comparing the checksum of the loaded bytes against the original file's > checksum. Add more test cases: files at a sub-directory and non-existent > file. >=20 > Signed-off-by: Joao Marcos Costa Applied to u-boot/master, thanks! --=20 Tom --8pQXFPSJWzkhba+K Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmDjquUACgkQFHw5/5Y0 tyybTAv/baTsh1cnlPxR9V3WrS4im1qHnEAGWuyzQYW7AKuFV53Soe958+j9QvZa Fg/ulaDNFiMr4bJsSr/XNjMhvHtRnI38zfcssCA+nwp3S+xY1dE2VaHkoXjZm9c/ 9NSvqJ4rEmd3qivC06cTBSSGAQbYPzNmVEWWnlWXbtfVbJib19jug/Obsc30JB+u bvHqgVTSaBSTv/aAGccoZeYnL5DPohi+HPm0nnCQkWCiTv8huF92DpLdwo/Zndns B1mV9zjk7bMDONLGxe5e4NEab7LewF51i+RMClWDj4Kt9pRC8+mseA5OpviEnW6X pCdDEJbPOh4QolsbWxkl8ig1miy0L9IAnrsOXyOJjj9+n0o+1N8orWL+W0NdrdZE L0MnTyjf+HxcEQEh7DK4aJGHWp9b+rRrUel5WabXPbFxUjZBNeJJ9MJvV+ipOdfk +Yut6IkEQdvSK7OCW3yFB7mQwbwu9sKchYORnZRn1dpwSZpGTpbXrIYS0jqgzEFK CKvuT875 =TO0B -----END PGP SIGNATURE----- --8pQXFPSJWzkhba+K--