Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C9E03606A322 for ; Fri, 4 Dec 2026 18:14:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=YGhdaRnj; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=ogkdBlex Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 8B76C61175; Fri, 4 Dec 2026 18:14:14 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id C8ruXm6W3VqO; Fri, 4 Dec 2026 18:14:13 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org CD4A9610B7 Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796408053; b=G+w6PQSlncmbdb37tK+w8QG8tw/IFPPEiNBEo+7ccsYgHXbma7iG+7N6rWWFbUE7kf+k P9pnlz4wZktYQ+mEG6cOyXIPPmCeeSCjqRz0bgai+PhD9Ww36mj5YeLiCtyT5TrJecnXO SFrc2ttGkz++AEj0hsVTCILO5oxAR1ig1jUV3/EKxGllczQeWLJdE9cWBS7BErGS8c2cO IRRNYKb+YOcUuIjuAG4HqRhVRk+g9wcsyjuzIjBRhvt4FUMvVjm2olsBQETK4J3YIyGo6 ZCPiGpo1f7ZpQ909OWOvegcpvIcRdO63Hddn4ZqZKe87ESPfzNrwPtPCVmTHCZiXbSw== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796408053; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg: X-Received:Received:From:Date:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc: X-Mailer:X-BeenThere:X-Mailman-Version:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Errors-To; bh=Avxb48KubXYGpJcZ4ROl9DfW3cLYFq7amkowpJH+4so=; b=iYztVPOGVYveJay5Gxpy0VAmp4RavACueMYhxdNO8lBL4VIh5Xu6zlCM+h/L8dC2WNHs Gq7voDZeQzbxlmQa+j43wQ6RjHOeAUdtDztgzXlH7ueb6blhSs2ZpT1YJQNPR3dVhLD4F Jn4nPC9GtlitLVVMESrd/nhZB6Y4X+QjjhaGe8ZP7aKHSiO7QnJfM+a+4Rn4Ro///6SRv p+usZZQvE6nCqr9eHEfpOBE36DPCICewxGbmHCESTZStjNuduE3Uo0PUcCXpHWr9A1fxq t5jKq2A7TNwk7yaz+pSRLKaqJGseJ9AzEMALreoNVCY1054/AJ9e2IWXUlSpPWOva7w== ARC-Authentication-Results: i=1; smtp3.osuosl.org; dmarc=pass header.from=linaro.org; dkim=pass header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=ogkdBlex; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796408052; bh=Avxb48KubXYGpJcZ4ROl9DfW3cLYFq7amkowpJH+4so=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=YGhdaRnjFAqgKgP1fRtoIW0BHXOQgp8/FiruXluOGIKRo8f6+yl4QT9TncC0vjwy+ gOmbKaNIg2pm6ObTLDFErA8rqURdNCyLy4LQy/yeykqcR7JyJqH/SlmIMnBf6D1Gsr 7C11vJOzJObdn/MCrJw68D+chOwxkdTtwSVIV6ACUbN1q6AJF64687P5mnklxNWBF1 RV6HP7aQiW1hdaNm2JcOsxr6+b4/7B3RcnFB9UMXFewuLUOZIyzNiGGgLMrQexJ/l0 zcVERkOuIsCP89N/iyFyVhJ7cgaEms8xe2mjxCILtxFWLJcBE8ks42v9hZfo9vv/11 VOHWirgAukDhw== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id CD4A9610B7; Fri, 4 Dec 2026 18:14:12 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists1.osuosl.org (Postfix) with ESMTP id EDDC8BF4 for ; Fri, 4 Dec 2026 18:14:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id D4A12611B3 for ; Fri, 4 Dec 2026 18:14:01 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id RaXKYb8aQoBM for ; Fri, 4 Dec 2026 18:14:01 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org 7315961189 Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip="2a00:1450:4864:20::435" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::435; helo=mail-wr1-x435.google.com; envelope-from=andrew.goodbody@linaro.org; receiver= Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=ogkdBlex Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by smtp3.osuosl.org (Postfix) with ESMTPS id 7315961189 for ; Fri, 4 Dec 2026 18:13:59 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-4a34ffd3e39so787650f8f.0 for ; Fri, 04 Dec 2026 10:13:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796408037; x=1797012837; darn=lists.u-boot-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Avxb48KubXYGpJcZ4ROl9DfW3cLYFq7amkowpJH+4so=; b=ogkdBlexqiCxfBZ/zEfLcmjJh7k+ADs+AGZywunTBB0HIUPeMoZTXP40Oh5hDhRCx8 2u4hMm1roHKsbSoWSjyyRfZQDaamsGUTNHyD4Jf8wtNQi8wqnZBTPIFPS5HDa/+Cv9pl bbcnZHIYweU8tNM1ZNdXzPI4dBaSwn94/IrTL499Iw1nNcYB0iHurj0i2hIZ0WP+339u OuehZUvqj/wVkHGUd3aXkXZ3xsJYZKM6Td7cruCf7roFmFYKqYVLZBJqieJ0EPGEn0Vx OqWDSb5BPsQ4x/GUKlrkaKiA22+U8pe6NAl1blonKg2TPffNXEc7jY/QnxMgmopWycnr EWdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796408037; x=1797012837; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Avxb48KubXYGpJcZ4ROl9DfW3cLYFq7amkowpJH+4so=;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qB4P9WS4eCXnN+cFW 3WTvoFZIdZ2TnTvVmVwkhWG+wF78zKR7r3xxvmPvn8ng3HT7 X-Received: by 2002:a05:6000:22c6:b0:4ac:4592:19ab with SMTP id ffacd0b85a97d-4d1e9b20852mr5958143f8f.18.1796408037378; Fri, 04 Dec 2026 10:13:57 -0800 (PST) Received: from artemis3.elfringham ([2a0a:ef40:ee3:3401:7071:3a81:cc99:9c2c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d174452809sm6915361f8f.53.2026.12.04.10.13.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 10:13:56 -0800 (PST) From: Andrew Goodbody Date: Fri, 04 Dec 2026 18:13:48 +0000 Subject: [PATCH v4 13/14] test: Fix test_basic file system tests X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261204-qcheck_fix-v4-13-3cdf2e164297@linaro.org> References: <20261204-qcheck_fix-v4-0-3cdf2e164297@linaro.org> In-Reply-To: <20261204-qcheck_fix-v4-0-3cdf2e164297@linaro.org> To: u-boot@lists.u-boot-project.org, Kory Maincent , Linus Walleij , Ilias Apalodimas Cc: Andrew Goodbody , Tom Rini , Anshul Dalal , Alexey Charkov , Heinrich Schuchardt , Mattijs Korpershoek , Carlo Caione , Yao Zi , Michal Simek , Quentin Schulz , Marek Vasut X-Mailer: b4 0.16.0 X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Ensure that /sbin is on the path so that distributions that do not have it will still be able to successfully run these tests that need fsck. Reviewed-by: Quentin Schulz Signed-off-by: Andrew Goodbody --- test/py/tests/test_fs/fstest_helpers.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/test/py/tests/test_fs/fstest_helpers.py b/test/py/tests/test_fs/fstest_helpers.py index d25326ee993..c8fa0b006ae 100644 --- a/test/py/tests/test_fs/fstest_helpers.py +++ b/test/py/tests/test_fs/fstest_helpers.py @@ -3,15 +3,21 @@ # Author: JJ Hiblot # +import os from subprocess import check_call, CalledProcessError def assert_fs_integrity(fs_type, fs_img): + # Some distributions do not add /sbin to the default PATH, where fsck lives + local_env = os.environ.copy() + if '/sbin' not in local_env["PATH"].split(os.pathsep): + local_env["PATH"] += os.pathsep + '/sbin' + try: if fs_type == 'ext4': - check_call('fsck.ext4 -n -f %s' % fs_img, shell=True) + check_call('fsck.ext4 -n -f %s' % fs_img, shell=True, env=local_env) elif fs_type == 'exfat': - check_call('fsck.exfat -n %s' % fs_img, shell=True) + check_call('fsck.exfat -n %s' % fs_img, shell=True, env=local_env) elif fs_type in ['fat12', 'fat16', 'fat32']: - check_call('fsck.fat -n %s' % fs_img, shell=True) + check_call('fsck.fat -n %s' % fs_img, shell=True, env=local_env) except CalledProcessError: raise -- 2.47.3