Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4965172rwl; Tue, 28 Mar 2023 14:02:34 -0700 (PDT) X-Google-Smtp-Source: AKy350aipIP2eCB7/0hxy8a5SlslrLJ231rS6HYUrvr5ISmdP3WJur6QGgFluY9Xjtzbd3UeMSK8 X-Received: by 2002:a17:906:a418:b0:878:7a0e:5730 with SMTP id l24-20020a170906a41800b008787a0e5730mr16869235ejz.56.1680037353833; Tue, 28 Mar 2023 14:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680037353; cv=none; d=google.com; s=arc-20160816; b=ZE1aNMZ/obYtDor8INGX/OXn58Dluwx3ZNuFNexHRiQYn0fnRtAIZxC/5TG5Ta/p6g VBtKTTQq1gw7wK8/IOOcheEILRLQD9gMgYRwsKGz+fQfJcPqpv1hPq8wV+xEqS2Bgtok G0CwAHKibh+8pjuaLVskQRSVuHTQVpmvc+FpqlyvHKNaEKUJjYPeXNQJQ+5OO926vdff QyqviWBU3PD68HLwDAVtQJ+BEiYS5QHdKSCDPIycggHA6kd2D90HhwXJzeidYj5C/cp7 SeC54ygxlIEgg770DAWHdO9sEYrfx4Ek28/+TgMtRV/KjXq9/ABr0/0S0bbx5iq4AZvf D/HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:dkim-signature:from; bh=FvrXzYY1fM1164UvqidxaaF82Ob635OSQrN6lMeUZ1w=; b=JRtXLVNSV7bvcJRIL905p+tx8WE42dsmEkGWw4Sbyld1+4+f0PJqBNCZ3fiKkEHUR0 NzlAFnz+lQcv+GImJgE4MPuA59zqXa90zowCbxBm+KjcqP/3lvlhNlAnz0OvweYcoFv7 +//ki/Bt2XAjaplHhyQN3jFIrK77JsFMQDMA3EQ2Wjjp2hXBh/Op08Oy2+E86ktMAXCX qSK2qeFmcxaTIqtb+H8IxhyMffK1xCZ/pZCeFD2wd1oLKl2D41/jYr363+mcrq57zPBL 73y44V6lSlBuwiMxAnxG+hMlI0TNs17+rAtYiVTYca1cF4/6eCQWtciHRr5uAgCAcYNW j4Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=VZzHrNZh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q7-20020a17090676c700b0092fb11f889bsi31551880ejn.265.2023.03.28.14.02.00; Tue, 28 Mar 2023 14:02:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=VZzHrNZh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229719AbjC1VBl (ORCPT + 99 others); Tue, 28 Mar 2023 17:01:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbjC1VBh (ORCPT ); Tue, 28 Mar 2023 17:01:37 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5522D95; Tue, 28 Mar 2023 14:01:36 -0700 (PDT) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1680037294; bh=d+fvmyfUSzhUgxwDSrwqWNNLmLsj3aO+oqVW6OGvk3A=; h=From:Subject:Date:To:Cc:From; b=VZzHrNZhomS1SMIyGCWppNfpbjA5Tw2fcNoI7rmmwASmFCXPhyTcND8rWH+4bd9PN h/Su9l+cv6/jgov/IgGNKGoFFX5N9OCxr62o7E8hVU+atFG9HBcDMIVipNAQUoMc9l vqA2K1fgS9OD+KxGiQSOYWl/f9b5e+2DohZQ5LGw= Subject: [PATCH 0/3] tools/nolibc: add testcases for vfprintf Date: Tue, 28 Mar 2023 21:01:28 +0000 Message-Id: <20230328-nolibc-printf-test-v1-0-d7290ec893dd@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAKhVI2QC/x2N0QqDMAwAf0XyvEAbEWS/MvbQ1jgDJUrSjYH47 yt7vIPjTnA2YYf7cILxR1x27RBvA5Qt6YtRls5AgcYw0oy6V8kFDxNtKzb2hmGiZUq5UIwz9DA nZ8yWtGw91XetXR7Gq3z/p8fzun53GLlPeQAAAA== To: Willy Tarreau , Shuah Khan Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680037292; l=802; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=d+fvmyfUSzhUgxwDSrwqWNNLmLsj3aO+oqVW6OGvk3A=; b=xId/1SWlZoHASHtUkpxicbQWrIqif4DMVhip6Pl9gZZa50xqQlGP4ejKE5Wq6wCn95fxgRV6c mUtgk3+MrCSBZIS02ajTsubXtI/RdO0zz7LCGtes2ouqTaQuent9lhu X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org vfprintf() is complex and so far did not have proper tests. This series is based on the "dev" branch of the RCU tree. Signed-off-by: Thomas Weißschuh --- Thomas Weißschuh (3): tools/nolibc: add wrapper for memfd_create tools/nolibc: let FILE streams contain an fd tools/nolibc: add testcases for vfprintf tools/include/nolibc/stdio.h | 36 +++---------- tools/include/nolibc/sys.h | 23 +++++++++ tools/testing/selftests/nolibc/nolibc-test.c | 77 ++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+), 29 deletions(-) --- base-commit: a5333c037de823912dd20e933785c63de7679e64 change-id: 20230328-nolibc-printf-test-052d5abc2118 Best regards, -- Thomas Weißschuh