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 picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 147A2C83F33 for ; Tue, 5 Sep 2023 11:42:24 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 1232A3CEB5F for ; Tue, 5 Sep 2023 13:42:22 +0200 (CEST) Received: from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [217.194.8.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id E722D3CB1B7 for ; Tue, 5 Sep 2023 13:41:59 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-6.smtp.seeweb.it (Postfix) with ESMTPS id 2ECBD1400077 for ; Tue, 5 Sep 2023 13:41:58 +0200 (CEST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 7CE391F8C4; Tue, 5 Sep 2023 11:41:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1693914118; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=zoGTWVorYdarql7OoAWMmthJGt4vWAhtyWfe7w+do6A=; b=0biwyilYSFMtR3Q+zKNNIVb2FfJ2Zj7TubGDefmmyg5QZL9zi1viLNNoZBrBPrNfgbHPEU TpVXxvjn8iWQHmhgyNCmZdqv1MQE1HJ4MSH8LTelTFhAh8Q40Wi+FjjuskFSMSU46RYdb1 nXwmN86qqhp7cwOZQbS3CQLten96Wf4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1693914118; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=zoGTWVorYdarql7OoAWMmthJGt4vWAhtyWfe7w+do6A=; b=lAP3FhGDpj/MGsrpg6J+mhtLXu4pqjcpVJ8pF0SNld/cU1rWAYZoe8BI1eU9YoNCgykm7C YFD7c39nQ065cwAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 546C813911; Tue, 5 Sep 2023 11:41:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id WtEMEwYU92TGeQAAMHmgww (envelope-from ); Tue, 05 Sep 2023 11:41:58 +0000 From: Andrea Cervesato To: ltp@lists.linux.it Date: Tue, 5 Sep 2023 13:41:55 +0200 Message-Id: <20230905114157.4190-1-andrea.cervesato@suse.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 1.0.1 at in-6.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH v1 0/2] Rewrite the gettid() testing suite X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" From: Andrea Cervesato Rewrite gettid01 and create a new gettid02 test in order to check all gettid() basic functionalities, according with its manual. Andrea Cervesato (2): Rewrite gettid01 test Add gettid02 test runtest/syscalls | 1 + testcases/kernel/syscalls/gettid/.gitignore | 1 + testcases/kernel/syscalls/gettid/Makefile | 4 +- testcases/kernel/syscalls/gettid/gettid01.c | 102 +++----------------- testcases/kernel/syscalls/gettid/gettid02.c | 68 +++++++++++++ 5 files changed, 87 insertions(+), 89 deletions(-) create mode 100644 testcases/kernel/syscalls/gettid/gettid02.c -- 2.35.3 -- Mailing list info: https://lists.linux.it/listinfo/ltp