Received: by 2002:a6b:7707:0:0:0:0:0 with SMTP id n7csp971386iom; Thu, 9 Jun 2022 15:04:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzelg684uCCyPa1zanEdURD5JSVO305WltUEU+Vmf+dzdcKHCKKYHQCqeETUEoeCx1hVLN1 X-Received: by 2002:aa7:c846:0:b0:431:6c7b:26af with SMTP id g6-20020aa7c846000000b004316c7b26afmr23428854edt.123.1654812277154; Thu, 09 Jun 2022 15:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654812277; cv=none; d=google.com; s=arc-20160816; b=zJyPI5ot+uf5ydQ7ur/6eXbtz27Nr3rPDwTCTDTJNDB1K6btGa6PrrqGNJeK9y+xnL 6CaNxaHEW0EqvubUC2k83j1zQh1e/duI9TkEH+D5EofYGnZHV9/o/fKuU/9BbBvEBDbK RMilKUgiukBd2pXtTL/7eisFAg+FSbulneW1dQAzjAPB2GHreniljwoFYdw/MgHg4AOx LMMZfckWPgdVtDbqnvymMERYhIe826+8JBAM8yDmkCxQRJyqCfle/KvR5RYSktK9evkF +kZt2FAp+ERHopde7okb9x/C0hRlqk+1S6dO2BzGQJUa9yPRkLHCRBZO0/DbtXBlRHRZ ohjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=6HrRVZFTBvoOPs9/0Zi/jcFYEykhb5yK/tjBbBcJcPk=; b=pUXL/3vHkCqr5T9m1kAvNQvrBzkILIGCdG8s1MHPQHPsgdUpyna4SS+FwT4VxYzKiC bKNb8LS12lakeQ9/E4BMRfnfWLAWsH/Tngox7B0pSzOIQ71hFFaVowB4IEbPAXOsfxS9 TE+YQEu8x//Qh423LQqIeWYDOiCKmzWHuWwOF+uSzgjcJ9L0sQkbFEX4zBsyLYzOzPfY Z45S37ARThmEnZRWvYmemERBJyrrH4QtgdAnxp2aKC4A51XyGzmF4HxanTVYlBUwLOsp au3oT6BiVQo2RF13OoS7OuxeSvp681fmhrVCDgVgZ7SO1xyaYp0ZGWdnJn3oOpJCoCzy YonQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=xcPukXRp; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-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 ga30-20020a1709070c1e00b006f3dae85820si8052892ejc.472.2022.06.09.15.04.10; Thu, 09 Jun 2022 15:04:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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=@suse.cz header.s=susede2_rsa header.b=xcPukXRp; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233542AbiFIVmj (ORCPT + 99 others); Thu, 9 Jun 2022 17:42:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233619AbiFIVmi (ORCPT ); Thu, 9 Jun 2022 17:42:38 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1F9F663DE for ; Thu, 9 Jun 2022 14:42:33 -0700 (PDT) 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 32E5A1FEAC; Thu, 9 Jun 2022 21:42:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1654810952; 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: in-reply-to:in-reply-to:references:references; bh=6HrRVZFTBvoOPs9/0Zi/jcFYEykhb5yK/tjBbBcJcPk=; b=xcPukXRpHO7MLo8W7PQU30ZvNtcPgk6y5CgRWB5X747ZaeTaTl68F4t9rGoii06N/tHEz2 2rz7nOlpFIz6yfTFXWqwBjZAzn6MPO7i5rmXd1Bhc/hk4pP1VlNB2WRma9aNBvYXfWBBXi bo8P4PT+0GJ9nIYKlT1QMWOXnBwqcjY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1654810952; 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: in-reply-to:in-reply-to:references:references; bh=6HrRVZFTBvoOPs9/0Zi/jcFYEykhb5yK/tjBbBcJcPk=; b=RjREvChVpKmQ1kHl/DLH+n1pGaxTuyaLj+nvPVKikeyWDEkqmzLDt9HdBCTn46o70abbpE cBz87A1YJSx+RaAQ== 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 9405C13A8C; Thu, 9 Jun 2022 21:42:31 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id cNU+IUdpomIQDgAAMHmgww (envelope-from ); Thu, 09 Jun 2022 21:42:31 +0000 From: Petr Vorel To: ltp@lists.linux.it Cc: Petr Vorel , linux-nfs@vger.kernel.org, Cyril Hrubis Subject: [PATCH v2 2/9] df01.sh: Use TST_MOUNT_DEVICE=1 Date: Thu, 9 Jun 2022 23:42:16 +0200 Message-Id: <20220609214223.4608-3-pvorel@suse.cz> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220609214223.4608-1-pvorel@suse.cz> References: <20220609214223.4608-1-pvorel@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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-nfs@vger.kernel.org Reviewed-by: Cyril Hrubis Signed-off-by: Petr Vorel --- testcases/commands/df/df01.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/testcases/commands/df/df01.sh b/testcases/commands/df/df01.sh index f74032c96..976e205bf 100755 --- a/testcases/commands/df/df01.sh +++ b/testcases/commands/df/df01.sh @@ -1,19 +1,19 @@ #!/bin/sh # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2015 Fujitsu Ltd. +# Copyright (c) 2018-2022 Petr Vorel # Author: Zhang Jin # # Test df command with some basic options. TST_CNT=12 TST_SETUP=setup -TST_CLEANUP=tst_umount TST_TESTFUNC=test TST_OPTS="f:" TST_USAGE=usage TST_PARSE_ARGS=parse_args TST_NEEDS_ROOT=1 -TST_FORMAT_DEVICE=1 +TST_MOUNT_DEVICE=1 usage() { @@ -34,7 +34,6 @@ parse_args() setup() { - tst_mount DF_FS_TYPE=$(mount | grep "$TST_DEVICE" | awk 'NR==1{print $5}') } -- 2.36.1