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 2F650C433FE for ; Fri, 21 Jan 2022 15:22:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ED18A837E5; Fri, 21 Jan 2022 16:21:25 +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="mIE8A6jd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 54F8D83595; Fri, 21 Jan 2022 16:21:03 +0100 (CET) Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) (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 B2B03830A0 for ; Fri, 21 Jan 2022 16:20:59 +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@google.com Received: by mail-ot1-x331.google.com with SMTP id a12-20020a0568301dcc00b005919e149b4cso12155321otj.8 for ; Fri, 21 Jan 2022 07:20:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=k7RLKMfuK4vglD4W122UXtjdGYnLtkjvrsq60N1lNe0=; b=mIE8A6jdQC9KryZL6ZJYTj1WU3aaDHiYYwiAlunGymPTeuleCihCrgIyNm+SE2VNm0 lee4GY7aNwe3XKJvuIBBrAUNkIeaL9xZxgfVInx43cBPRD06Q/qdMIa0j5fdQmpjRJjh olgrlxxdtMHZ2wOaFXnxXs7pH1CWA3TCid138= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=k7RLKMfuK4vglD4W122UXtjdGYnLtkjvrsq60N1lNe0=; b=e/ymQ9CKApQnsQpRUs0uzy+v30WVAXiiz8FGlWZubJldwd+HbBeqfHv8LkYgfMe6Ab mhSjRD9U7atNbeHBQLwmL4RP0IaAdZZUxJX75zXLZpwrW163RwZBHKBysADAfW0D9OLO AlvGuRuo3Z3EssU13O7Xootni9Zx76Okm1NxjQTvxNutNG5vjO3yf4nfcFmjhhkaoL3f a5LOaQoXT/9DD27iNK6/V0jIxUQvw4rVqcu78w92gVT8HYtYbQUTQ7r+Ix7y3mLg9V43 pYrA7cojWFACOS334EhIUnrVtLbMzNifyxp64ttXrAsx7wm0lqalVbpL/SrFqCH+jooe W5Gg== X-Gm-Message-State: AOAM530HU5bu3LZtgDRdpkKL1NjZIOJKQzBfh9DKFn6XHUUTfWDnC5F2 KJqISM2FAXvlWwBB5RlpsUPboBt3VzcRinvycZgQuQ== X-Google-Smtp-Source: ABdhPJzL3EdXCr+3/XCXlcICNvWFtDWD22W1zcogUcd+zUKka7gnFzUcTSI0i0Mr75ApdxDecooeDPoiQ59/RX4wzRQ= X-Received: by 2002:a05:6830:2683:: with SMTP id l3mr3156835otu.203.1642778458106; Fri, 21 Jan 2022 07:20:58 -0800 (PST) MIME-Version: 1.0 References: <20220116151441.219566-1-heinrich.schuchardt@canonical.com> <20220116151441.219566-6-heinrich.schuchardt@canonical.com> In-Reply-To: <20220116151441.219566-6-heinrich.schuchardt@canonical.com> From: Simon Glass Date: Fri, 21 Jan 2022 08:20:43 -0700 Message-ID: Subject: Re: [PATCH 5/8] test: add test for %pUs To: Heinrich Schuchardt Cc: Tom Rini , Rasmus Villemoes , Patrick Delaunay , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" 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.5 at phobos.denx.de X-Virus-Status: Clean On Sun, 16 Jan 2022 at 08:14, Heinrich Schuchardt wrote: > > Add a unit test for the %pUs printf code. > > Use ut_asserteq_str() for checking string results. > > Signed-off-by: Heinrich Schuchardt > --- > test/print_ut.c | 20 ++++++++++++++++---- > 1 file changed, 16 insertions(+), 4 deletions(-) > Reviewed-by: Simon Glass