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 1A64DC2BA4C for ; Wed, 26 Jan 2022 18:13:23 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 910263C96FA for ; Wed, 26 Jan 2022 19:13:21 +0100 (CET) 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 03A8A3C9714 for ; Wed, 26 Jan 2022 19:12:17 +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-6.smtp.seeweb.it (Postfix) with ESMTPS id D995E140009D for ; Wed, 26 Jan 2022 19:12:16 +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 C5C4C218F3; Wed, 26 Jan 2022 18:12:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1643220735; 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=pMJJHWFTKC7tKn3xchFnB//WUiScnWWc4fhw8PXBJm4=; b=QOVKQkK4qKCNBvEjyFoq3sNMUy9XZD8qbtT2T2Sf7AUNToroSJ17jHUFMMOuxU/CQ/Hoc1 e1+nLi/eS7viQx6Wr+pmiJlXoVQsu2S11AAnizAFJIk1Ff2JvScae+QVSnzN5hh27JvFHg 5PnNQvGbVtBF0fLhC+KNVz8rttxJ8dw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1643220735; 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=pMJJHWFTKC7tKn3xchFnB//WUiScnWWc4fhw8PXBJm4=; b=pyq/Y0kUp2y6osrmXLyaybxPdgqShItRYbydPYff0ITxJjl1iL6MQmK5wxG2an8X0JJ9+x aOfMC06I3KBw2EDA== 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 9BA6D13E30; Wed, 26 Jan 2022 18:12:15 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id LREWI/+O8WGbcQAAMHmgww (envelope-from ); Wed, 26 Jan 2022 18:12:15 +0000 From: Petr Vorel To: ltp@lists.linux.it Date: Wed, 26 Jan 2022 19:12:05 +0100 Message-Id: <20220126181210.24897-1-pvorel@suse.cz> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-6.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH 0/5] shell: Add TST_FORMAT_DEVICE support 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" Hi, it's nice to sync with C API, but I don't expect that many tests would need formatting device. The main reason is to preparation for TST_ALL_FILESYSTEMS support (useful for NFS tests). Kind regards, Petr Petr Vorel (5): tst_test.sh: Add $TST_DEFAULT_FS_TYPE tst_test.sh: tst_mkfs(): Add support for extra opts tst_test.sh: Add $TST_FORMAT_DEVICE and related vars df01.sh: Use TST_FORMAT_DEVICE=1 shell: Add test for TST_FORMAT_DEVICE=1 doc/shell-test-api.txt | 9 +++++++- lib/newlib_tests/shell/tst_format_device.sh | 24 ++++++++++++++++++++ testcases/commands/df/df01.sh | 7 ++---- testcases/commands/mkfs/mkfs01.sh | 4 ++-- testcases/lib/tst_test.sh | 25 ++++++++++++--------- 5 files changed, 51 insertions(+), 18 deletions(-) create mode 100755 lib/newlib_tests/shell/tst_format_device.sh -- 2.34.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp