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 A2E7BC433EF for ; Wed, 19 Jan 2022 01:44:48 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B4C6A836E6; Wed, 19 Jan 2022 02:44:17 +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="E2qk6+VI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 41BCB801EA; Wed, 19 Jan 2022 02:43:53 +0100 (CET) Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (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 95C5283281 for ; Wed, 19 Jan 2022 02:43:46 +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@chromium.org Received: by mail-io1-xd2b.google.com with SMTP id a12so943445iod.9 for ; Tue, 18 Jan 2022 17:43:46 -0800 (PST) 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=EVjUHwY2iY87zs7vKphngWY6xkzZYwQbqw9YMse8+mQ=; b=E2qk6+VI0PD4Mnmp0W2dP3rQxmO88vG/pGaSOEPXtMv5TOFxdHL2h4CZ2e6Fs8IRnQ 58PWUh0sNykiu1dJvjWf2tqbaUpcFoAyZ8Hb8O0uSGXPfF6Jmj2nGneYOClYZoeqoCVd kWmYvfYYFAePegztjaZeSF77peIiQIljsnXOk= 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=EVjUHwY2iY87zs7vKphngWY6xkzZYwQbqw9YMse8+mQ=; b=MIB8UvxrKZZYBijjTLH0dpgpQd8E8pjFbbNQT0KUrYf98bi7cV3GZ+FX6suPtA3vDk NVIWhUNXlBVJsvHWLfZlWFCg3NnwrYq4jWNx8RW5WEkR1FzBachBjrxWiEWK/ZTpvdlJ Vdw6l5+3j4wQ4/L+LuI4A6vYXXw9NwYTbZ0W8ZnBPiXxYKbSC7+7U+Jmd99thFKiNvUd bb3D4isckg9gyJ4gHfDQYEtwHi8XOGXLh4BLp6qdIDJAk/u48vj4JUVpZbifyTs2HGlF /zJCp/Hp3HvlaDpIUU7Cvl/4XFoz6o5aeRJ+HhZYig4P4NYXQh/lvkPgYljcWyiHaPe/ y/sQ== X-Gm-Message-State: AOAM530BIUClYc7paEg470k4pPvmUR5uRGsxrzzwojRcT5AQVDxD5lHG IUcw618zWJOWbVlJBeiJHBpfI10EgUmPjA== X-Google-Smtp-Source: ABdhPJyEjbHZtzy3ZuiXCeu2QlolnQ+PeXHb2GZUTc5h+l0e/QUrVvMn5/5vdHwdRZTFC8sMVtHUFQ== X-Received: by 2002:a02:962d:: with SMTP id c42mr5329911jai.118.1642556625136; Tue, 18 Jan 2022 17:43:45 -0800 (PST) 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 j18sm10546314ila.86.2022.01.18.17.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jan 2022 17:43:44 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Ilias Apalodimas , Daniel Schwierzeck , Dennis Gilmore , Steffen Jaeckel , Lukas Auer , Michal Simek , Tom Rini , Heinrich Schuchardt , Simon Glass Subject: [PATCH v3 07/31] test: fastboot: Avoid using mmc1 Date: Tue, 18 Jan 2022 18:42:51 -0700 Message-Id: <20220119014315.1938157-8-sjg@chromium.org> X-Mailer: git-send-email 2.34.1.703.g22d0c6ccf7-goog In-Reply-To: <20220119014315.1938157-1-sjg@chromium.org> References: <20220119014315.1938157-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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.34.1.703.g22d0c6ccf7-goog