| Message ID | 20260416023021.626949-30-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1776306688; bh=5Wg9fEwg6T7yTkHg+F6Vt83NMKX3zNXhj32ZKerO7lU=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=QYLwC2lhF/gMJxce0oKiI88ejbWRMHkwaHOWoDEaOJ4ZoNWmw+0VCUdenXrotrdX0 nTjk15AMg9048NKfVcxxg/exXbMivngatTAEEcXpYYkbB7IZZgdqaexf1ZvVrxjL6V J0/gW/sRwhInaZGWvzZvO99z8p1SAgAF/fH/ezGs= Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 87E626A4B8 for <u-boot-concept@u-boot.org>; Wed, 15 Apr 2026 20:31:28 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Zbv_JZHsUrao for <u-boot-concept@u-boot.org>; Wed, 15 Apr 2026 20:31:28 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1776306686; bh=5Wg9fEwg6T7yTkHg+F6Vt83NMKX3zNXhj32ZKerO7lU=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=fPLLmSaH0s9litKyXakv09j+U7IZIo5ASAzYllXCxjgym8ed9IT2IO9ZQGQwU9fVF FL8Fl7kzpa78sVkEVGPQzvGpb+F1ju0Tmp3rhoIibwg3PO6FcWiYBPl4yvTA9dgP6p ZzyXIeStRIkaJFa/SMjlVmFWDamtmN/a7anY7fpY= Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id B405A6A4A9 for <u-boot-concept@u-boot.org>; Wed, 15 Apr 2026 20:31:26 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1776306681; bh=FjDaFDnVJgtZbfIskRlARp9mgrYRpslNSBTFDHAOr1o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k1KUhzrQq8PkT1FjdyW4vrmrzMY0ydkoOmIvAvok869veTtYnR8yCPuBLRzKqhnCG ITGtTaKUxwIXJ42PWTOrgWZez30syObXGxNMrgRfi97vov50hgQ2bu8DsW0MByudvV Ays3r1phVG49jaf0roBYvCVrsC52f4C43/dt4rq0= Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C697C6A4C5; Wed, 15 Apr 2026 20:31:21 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id Ax-SMDtpartf; Wed, 15 Apr 2026 20:31:21 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1776306679; bh=9GMtN7amt9PLFCRKY0F3aWVff6O17iuYBJ0QbvYk7/Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZK1W6NjrFlWsp2w+rfx8Aq1Hi/OHctxwmD/cb35ipjMvHrXUMIkMaIMhqT3NTNjXD JBLbFpI5WqEF3E0URl349jjaQq3qASvOfeD0Ll0gxFkNu8UZgTcLfkV+ax/0GPKcZE DpxgHWOKqJw9Im14p9+oevfgmntkj3AK43OOYKBQ= Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 61DB66A48B; Wed, 15 Apr 2026 20:31:19 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Wed, 15 Apr 2026 20:29:54 -0600 Message-ID: <20260416023021.626949-30-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260416023021.626949-1-sjg@u-boot.org> References: <20260416023021.626949-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: ERX5T5BRI6POCYFBAEPFFPZAHLEEB65G X-Message-ID-Hash: ERX5T5BRI6POCYFBAEPFFPZAHLEEB65G X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 29/33] test: boot: Clean up DM state after bootflow_cmdline() List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/ERX5T5BRI6POCYFBAEPFFPZAHLEEB65G/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
Fix memory leaks and test pollution in sandbox tests
|
|
Commit Message
Simon Glass
April 16, 2026, 2:29 a.m. UTC
From: Simon Glass <sjg@chromium.org> This test uses driver model so should use the UTF_DM flag, to avoid leaking 1MB for the MMC backing-buffers. Signed-off-by: Simon Glass <sjg@chromium.org> --- test/boot/bootflow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/boot/bootflow.c b/test/boot/bootflow.c index 0a17f12b6a4..c4be33a63c2 100644 --- a/test/boot/bootflow.c +++ b/test/boot/bootflow.c @@ -1303,7 +1303,7 @@ static int bootflow_cmdline(struct unit_test_state *uts) return 0; } -BOOTSTD_TEST(bootflow_cmdline, UTF_CONSOLE); +BOOTSTD_TEST(bootflow_cmdline, UTF_DM | UTF_SCAN_FDT | UTF_CONSOLE); /* test a few special changes to a long command line */ static int bootflow_cmdline_special(struct unit_test_state *uts)