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 A06FCEB64DC for ; Mon, 3 Jul 2023 13:40:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 65BB686683; Mon, 3 Jul 2023 15:40:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="WFGLg4Kl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B02358666C; Mon, 3 Jul 2023 15:40:12 +0200 (CEST) Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (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 86C7386658 for ; Mon, 3 Jul 2023 15:40:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jpewhacker@gmail.com Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-6b73741a632so3434804a34.3 for ; Mon, 03 Jul 2023 06:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688391607; x=1690983607; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=78CsVqoiN0gAICuF3ZV+67ugcfcXhxv+8VaF7bUa8q4=; b=WFGLg4Klu5xY+XFxJ23C8i+rmUX9OUp5FDLEH2gB0cgDVdhWEFi6YFeFdt1Pf1Eppz rmsGD0Rdut8u9zG6cPaktQUlLiLtZVtMj0p47CFkNZuralWcb7LdTvaHb8OcI5uHTPYD 1p7BbQsD1fzOnNCZh/QLM4rIg6G1v3I/brhr0Mb90j0SDq6Firuw2fSr8BH42VUCuE5F EZdn8fD96mrBa9zTmoLX4pCJSTVuat+qNerwzBQIXvP7Adwf25B2vIQku/ta/WUwWhmH PAI4Ht61V+HUNGqvZSVXWyGR3Uvx+Nsg4ZLGLrq+uHnqpI27XfGnf6s/L0qGW94XhrrI RBnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688391607; x=1690983607; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=78CsVqoiN0gAICuF3ZV+67ugcfcXhxv+8VaF7bUa8q4=; b=kWINTTpZbdsaBSKeMTLhh9nuAR1GeYDLc9yHGrFXu0WftTAkNtue3Jm7SHCoiNMuyY mBSN7+v25QxASXMLWz9cyBhHVg4RMEHOyUZzfFQeRqecOjGegtwGZw1jKYERf6TEWfwy UQpF8pSFj8f4zY8QiB+xapkvOdEzO0Llfyekp735YsEGlqc62jQj86icsaKiYleRSf5F 7f7gM2ApmlY/gbNQ5e+ZqU6RQPRDQxE3E7iO1lqbcui4wHbLOQKZgq5Ed/hP7OTF4h9F pntctBetLr85PnKOma1C+wPtmreWrv8Bn7ALH3oGaQMyotChxkO5i2YKGmWzD0thsK52 0GZg== X-Gm-Message-State: AC+VfDwjjY0AP2mPbSJFzmH/Xiy2qPhks8/CFi+8sohwIAiR2u9e+2Yf +01o5Axw7qy9Guw7oTmPz+q1XeqeHTw= X-Google-Smtp-Source: ACHHUZ7N/F0662fX6JWvaIcxCGFvJ8ZLrt4vEccvadluzTIqjsXKbc2pv78mcxOHgXlJynsHruz6aw== X-Received: by 2002:a9d:6b91:0:b0:6af:6de9:1c24 with SMTP id b17-20020a9d6b91000000b006af6de91c24mr9111505otq.18.1688391607221; Mon, 03 Jul 2023 06:40:07 -0700 (PDT) Received: from localhost.localdomain ([204.77.163.107]) by smtp.gmail.com with ESMTPSA id j2-20020a9d7382000000b006b8cf55a997sm535720otk.28.2023.07.03.06.40.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 06:40:06 -0700 (PDT) From: Joshua Watt X-Google-Original-From: Joshua Watt To: u-boot@lists.denx.de Cc: Joshua Watt , Simon Glass Subject: [PATCH v2 1/5] dm: test: Fix partition test to use mmc2 Date: Mon, 3 Jul 2023 08:39:52 -0500 Message-Id: <20230703133959.3880305-2-JPEWhacker@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230703133959.3880305-1-JPEWhacker@gmail.com> References: <20230623200031.2689749-1-JPEWhacker@gmail.com> <20230703133959.3880305-1-JPEWhacker@gmail.com> 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.8 at phobos.denx.de X-Virus-Status: Clean d94d9844bc ("dm: part: Update test to use mmc2") attempted to make the test use mmc2, but the change was incomplete in that it didn't also change the strings that reference a specific partition. Fix these so that the test passes again Signed-off-by: Joshua Watt --- test/dm/part.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/dm/part.c b/test/dm/part.c index 35e99eeb01..d5c58d6e3f 100644 --- a/test/dm/part.c +++ b/test/dm/part.c @@ -76,15 +76,15 @@ static int dm_test_part(struct unit_test_state *uts) test(-EINVAL, "#test1", true); test(1, "2", false); test(1, "2", true); - test(-ENOENT, "1:0", false); - test(0, "1:0", true); - test(1, "1:1", false); - test(2, "1:2", false); - test(1, "1.0", false); - test(0, "1.0:0", true); - test(1, "1.0:1", false); - test(2, "1.0:2", false); - test(-EINVAL, "1#bogus", false); + test(-ENOENT, "2:0", false); + test(0, "2:0", true); + test(1, "2:1", false); + test(2, "2:2", false); + test(1, "2.0", false); + test(0, "2.0:0", true); + test(1, "2.0:1", false); + test(2, "2.0:2", false); + test(-EINVAL, "2#bogus", false); test(1, "2#test1", false); test(2, "2#test2", false); ret = 0; -- 2.33.0