From patchwork Thu Aug 15 20:25:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1972942 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=RpFbd+ez; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WlGwm5fTlz1yYl for ; Fri, 16 Aug 2024 06:31:04 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0D4D488BE4; Thu, 15 Aug 2024 22:26:14 +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="RpFbd+ez"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DA62F88AF2; Thu, 15 Aug 2024 22:26:07 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (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 CB5AA88B58 for ; Thu, 15 Aug 2024 22:26:03 +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-il1-x12c.google.com with SMTP id e9e14a558f8ab-39b32f258c8so8064135ab.1 for ; Thu, 15 Aug 2024 13:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1723753561; x=1724358361; darn=lists.denx.de; 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=HOc23348ToSBF/UJq2eLiXqptKVwBQqkzcGVbrDRT6I=; b=RpFbd+ezwrq57eGqYSAZAGNbDooEtjtqtsx0aGqmKD2aAFB5KM32XG9Rj70kQd10Pa 10lLa82wz2dUeT26KNggVfrTtDOxa3ibf+pii7k4AVeSMwGeknfk/tBciCYsSaiCVDC/ ugAjsO6nQ6tRpShTN5Fn39ZZJDX/m2ajzK7M8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723753561; x=1724358361; 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=HOc23348ToSBF/UJq2eLiXqptKVwBQqkzcGVbrDRT6I=; b=XnJ+9Q6UPEUzAxxgNv0TL8Z7Jg12E08Q1MbCHDx0nYF+GXyrW++0HwRI9qcBpOYflh piL3wQDlG5RjmFI3UEE6wtX7gOF1TAofFng6OOO5sCBsoOfms+C0QUYd3/GgMMv0nK12 1FsGCjshXarNq29BDoL94f5/1tyYYfoVpuGTNG2k2bm4rJF82AWB07JURtJbT1jrdqly zCwMnURpLzkhivNCvt/+Y+rVtuzT95EBan0ePcixuyiGUF2Fe16ULzQ59NciE2RWoWj7 jNxK8MeMvIgSfvUQFVDc9L8nsI8nYw5x/0xFGVhc5/3MRuzOiWR5OltWjrCaNkI6L9i4 bJRA== X-Gm-Message-State: AOJu0YzXuLfTdBZmILAHj9vgrd7nkyH3nahE4B5J8QaUf7f1z4yB231g vrhhzfGms0q5/1LGMNWv7OoOw2aUwFt0mtLT6ymSKGiW74Ahw5I3YInTkrgOHXB32tzYVQId41w yOw== X-Google-Smtp-Source: AGHT+IECFGZQZfdYokCLgC347eLWxxUOvE8+Z2H7fgiJoIA7OXauUxf4d28wyZPRxsBPhB2z6A8GUQ== X-Received: by 2002:a05:6e02:170a:b0:374:988e:5d01 with SMTP id e9e14a558f8ab-39d27a82d91mr7752025ab.2.1723753561025; Thu, 15 Aug 2024 13:26:01 -0700 (PDT) Received: from chromium.org (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-39d1ed5db5bsm8014235ab.64.2024.08.15.13.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Aug 2024 13:26:00 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v3 24/24] test: mbr: Drop a duplicate test Date: Thu, 15 Aug 2024 14:25:35 -0600 Message-Id: <20240815202535.767869-25-sjg@chromium.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240815202535.767869-1-sjg@chromium.org> References: <20240815202535.767869-1-sjg@chromium.org> MIME-Version: 1.0 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 The test currently runs twice as it is declared twice. Unwind this. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Add many new patches to resolve all the outstanding test issues test/cmd/mbr.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/cmd/mbr.c b/test/cmd/mbr.c index ec19cf3793c..2beaf9a75c5 100644 --- a/test/cmd/mbr.c +++ b/test/cmd/mbr.c @@ -484,10 +484,3 @@ int do_ut_mbr(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) return cmd_ut_category("mbr", "mbr_test_", tests, n_ents, argc, argv); } - -static int dm_test_cmd_mbr(struct unit_test_state *uts) -{ - return mbr_test_run(uts); -} - -DM_TEST(dm_test_cmd_mbr, UT_TESTF_SCAN_FDT | UT_TESTF_CONSOLE_REC);