From patchwork Thu Mar 10 10:59:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Cervesato X-Patchwork-Id: 1603716 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=U6GKUd0j; dkim=fail reason="signature verification failed" header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=FnvjxXPR; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KDmKV1p0cz9sGY for ; Thu, 10 Mar 2022 21:59:26 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 4833D3C0FD6 for ; Thu, 10 Mar 2022 11:59:24 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [IPv6:2001:4b78:1:20::5]) (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 B07C63C0CA6 for ; Thu, 10 Mar 2022 11:59:22 +0100 (CET) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (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-5.smtp.seeweb.it (Postfix) with ESMTPS id 0A312600E59 for ; Thu, 10 Mar 2022 11:59:21 +0100 (CET) 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-out1.suse.de (Postfix) with ESMTPS id 56339210EE; Thu, 10 Mar 2022 10:59:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1646909961; 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=RufOH0q2Sa8fxT6JWG2XOpaafrT5KUJEy05rYIap51U=; b=U6GKUd0jliHWDVoeeaCYudKQ+O6FiRABeJm7cb+8d2/MB8SBiSL+5lcB8LtLOJdNM8z1bv 5D8kYtN9i9vP/arc4I8wTHP1eUNT1zNujClReKrEnjHihRx7Gntyyn5qzFscSKEzVzdVux 2a7+vwC7j2YW5/UCYeWsveAMECmwyzs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1646909961; 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=RufOH0q2Sa8fxT6JWG2XOpaafrT5KUJEy05rYIap51U=; b=FnvjxXPRZJixJh14FK2p9GmYRIHsXdN5gcLS2LxBDsGvMiCzQruq4bBPIqt6WgWsiX+oJ0 8qgiGshOs++/xVAg== 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 308C213A3D; Thu, 10 Mar 2022 10:59:21 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id xmLgCQnaKWK8fgAAMHmgww (envelope-from ); Thu, 10 Mar 2022 10:59:21 +0000 From: Andrea Cervesato To: ltp@lists.linux.it Date: Thu, 10 Mar 2022 11:59:06 +0100 Message-Id: <20220310105916.7960-1-andrea.cervesato@suse.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-5.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-5.smtp.seeweb.it Subject: [LTP] [PATCH v2 00/10] Rewrite sysvipc testing suite using new LTP API 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: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Rewritten all sysvipc tests and removed libclone dependency. Removed TST_CHECKPOINT_INIT from all tests and replaced it with the .checkpoints support. Andrea Cervesato (10): Rewrite mesgq_nstest.c using new LTP API Rewrite msg_comm.c using new LTP API Rewrite sem_comm.c using new LTP API Rewrite sem_nstest.c using new LTP API Rewrite semtest_2ns.c using new LTP API Rewrite shm_comm.c using new LTP API Rewrite shmem_2nstest.c using new LTP API Rewrite shmnstest.c using new LTP API Remove libclone dependency from sysvipc Delete obsolete ipcns_helper.h in sysvipc suite testcases/kernel/containers/sysvipc/Makefile | 26 +- testcases/kernel/containers/sysvipc/common.h | 157 ++++++++++ .../kernel/containers/sysvipc/ipcns_helper.h | 41 --- .../kernel/containers/sysvipc/mesgq_nstest.c | 247 ++++++--------- .../kernel/containers/sysvipc/msg_comm.c | 180 ++++------- .../kernel/containers/sysvipc/sem_comm.c | 180 ++++------- .../kernel/containers/sysvipc/sem_nstest.c | 212 +++++-------- .../kernel/containers/sysvipc/semtest_2ns.c | 295 +++++++----------- .../kernel/containers/sysvipc/shm_comm.c | 167 +++------- .../kernel/containers/sysvipc/shmem_2nstest.c | 239 +++++--------- .../kernel/containers/sysvipc/shmnstest.c | 182 ++++------- 11 files changed, 746 insertions(+), 1180 deletions(-) create mode 100644 testcases/kernel/containers/sysvipc/common.h delete mode 100644 testcases/kernel/containers/sysvipc/ipcns_helper.h