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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F358BC433F5 for ; Sat, 23 Oct 2021 23:32:30 +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 74F5060E9C for ; Sat, 23 Oct 2021 23:32:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 74F5060E9C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0A62D835DD; Sun, 24 Oct 2021 01:31:15 +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="iX0CR4Ad"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5A1378331C; Sun, 24 Oct 2021 01:28:15 +0200 (CEST) Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) (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 2DA5683566 for ; Sun, 24 Oct 2021 01:27:26 +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-oi1-x229.google.com with SMTP id n63so10032753oif.7 for ; Sat, 23 Oct 2021 16:27:26 -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=6ujwbpTY1iwhZlcW+QkywAGd+31Vd9//DZU4lRQV2H0=; b=iX0CR4AdFwt+907gCi1k0MiD3dYanlz7YRPjEy5d+gElv//Cp8rRVkR3+EIighEw0U 2uV4l9MS0C8Bx6MpjIlX/x0CCHkIOfb0KPs4efnUvtxKPN3uz+Y4TtwcZCOL010EKwEP hRLPIkVVMre2luGZB7xwc80++oTPNDhThhdvo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6ujwbpTY1iwhZlcW+QkywAGd+31Vd9//DZU4lRQV2H0=; b=JdNm8kFoYoaTviZ562s6SbfeEvrl7GnzSejHeaCedH4dN/J3a9yjtVvvzSjCUpRd/d 1BtXMyLy16scT8102TdYQSIKsrqt6H82l9JbsmDfL3VKs+lVkjH8QZ9mKw4dNhUU07lk BInuLbktg5/BBNyc6CXj+tSksxNyZDj8RwSoiWP/ZCWFe44rNSAsB2Clf3iLx5Fj8dpF x6v+fnwO3/rCb98k4euPB2rpH46qn3NKn/1jHH1VBSWMPoiesYWaSM8KAztvZJLFLfDF IH34SVq2lULlAkI1QIHzygE0n1uvGN5JnNv6MdDiSvhdM0hr/ZlseDZMc6MZBR3BQTJM WIFA== X-Gm-Message-State: AOAM531NtCobFIhDMVfAJyFZGuFzgYEQUsHCv6k/3o5NB/wcD/ZptEtg 6PFRSkQ9d5yDfaTAsdHbhoN8Ti7cgMuQkw== X-Google-Smtp-Source: ABdhPJwlxLxL+LQhNqnfvLRF1XYnctkf6gEapwKdNGK6MoUI7r53wEaIB77+GXxwjWFtkB40k+yayQ== X-Received: by 2002:a05:6808:1491:: with SMTP id e17mr16018252oiw.104.1635031644677; Sat, 23 Oct 2021 16:27:24 -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 l24sm2253885oop.4.2021.10.23.16.27.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Oct 2021 16:27:24 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Michal Simek , Heinrich Schuchardt , Tom Rini , Ilias Apalodimas , Daniel Schwierzeck , Steffen Jaeckel , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Lukas Auer , Dennis Gilmore , Simon Glass Subject: [PATCH v2 36/41] test: fastboot: Avoid using mmc1 Date: Sat, 23 Oct 2021 17:26:30 -0600 Message-Id: <20211023232635.9195-26-sjg@chromium.org> X-Mailer: git-send-email 2.33.0.1079.g6e70778dc9-goog In-Reply-To: <20211023232635.9195-1-sjg@chromium.org> References: <20211023232635.9195-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The bootflow tests need to use an MMC with an associated backing file containing a filesystem. Update the fastboot tests to cope with this. Signed-off-by: Simon Glass --- (no changes since v1) test/dm/fastboot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dm/fastboot.c b/test/dm/fastboot.c index e7f8c362b85..758538d0e85 100644 --- a/test/dm/fastboot.c +++ b/test/dm/fastboot.c @@ -81,9 +81,9 @@ static int dm_test_fastboot_mmc_part(struct unit_test_state *uts) &part_info, response)); ut_asserteq(0, fastboot_mmc_get_part_info("0.0:0", &fb_dev_desc, &part_info, response)); - ut_asserteq(0, fastboot_mmc_get_part_info("1", &fb_dev_desc, + ut_asserteq(0, fastboot_mmc_get_part_info("2", &fb_dev_desc, &part_info, response)); - ut_asserteq(0, fastboot_mmc_get_part_info("1.0", &fb_dev_desc, + ut_asserteq(0, fastboot_mmc_get_part_info("2.0", &fb_dev_desc, &part_info, response)); ut_asserteq(1, fastboot_mmc_get_part_info(":1", &fb_dev_desc, &part_info, response)); -- 2.33.0.1079.g6e70778dc9-goog