From patchwork Tue Apr 4 06:34:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Filipe Manana X-Patchwork-Id: 9663761 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 95BD7602B8 for ; Wed, 5 Apr 2017 10:54:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A0462853E for ; Wed, 5 Apr 2017 10:54:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8EE02285A8; Wed, 5 Apr 2017 10:54:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=2.0 tests=BAYES_00, DATE_IN_PAST_24_48, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B512B285A3 for ; Wed, 5 Apr 2017 10:54:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933654AbdDEKyD (ORCPT ); Wed, 5 Apr 2017 06:54:03 -0400 Received: from mail.kernel.org ([198.145.29.136]:41718 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933621AbdDEKw3 (ORCPT ); Wed, 5 Apr 2017 06:52:29 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3F2312021B; Wed, 5 Apr 2017 10:52:28 +0000 (UTC) Received: from debian3.lan (bl12-226-64.dsl.telepac.pt [85.245.226.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A6EF72021A; Wed, 5 Apr 2017 10:52:26 +0000 (UTC) From: fdmanana@kernel.org To: fstests@vger.kernel.org Cc: linux-btrfs@vger.kernel.org, Filipe Manana Subject: [PATCH 3/3] generic/071: check that the fs supports fallocate with the KEEP_SIZE flag Date: Tue, 4 Apr 2017 07:34:31 +0100 Message-Id: <1491287671-23097-3-git-send-email-fdmanana@kernel.org> X-Mailer: git-send-email 2.7.0.rc3 In-Reply-To: <1491287671-23097-1-git-send-email-fdmanana@kernel.org> References: <1491287671-23097-1-git-send-email-fdmanana@kernel.org> X-Virus-Scanned: ClamAV using ClamSMTP Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Filipe Manana So that the test is skipped for filesystems that don't support it instead of failing (like NFS 4.2 for example). Signed-off-by: Filipe Manana --- tests/generic/071 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/071 b/tests/generic/071 index 65ed0c7..c1f90c6 100755 --- a/tests/generic/071 +++ b/tests/generic/071 @@ -46,7 +46,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _supported_fs generic _supported_os Linux _require_scratch -_require_xfs_io_command "falloc" +_require_xfs_io_command "falloc -k" rm -f $seqres.full