From patchwork Mon Dec 15 15:47:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 5495231 Return-Path: X-Original-To: patchwork-fstests@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 886ADBEEA8 for ; Mon, 15 Dec 2014 15:47:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 92BC4209ED for ; Mon, 15 Dec 2014 15:47:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0FF7C209FD for ; Mon, 15 Dec 2014 15:47:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750971AbaLOPrb (ORCPT ); Mon, 15 Dec 2014 10:47:31 -0500 Received: from imap.thunk.org ([74.207.234.97]:56992 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750801AbaLOPra (ORCPT ); Mon, 15 Dec 2014 10:47:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=Message-Id:Date:Subject:Cc:To:From; bh=ujAgJjy5ZGqY28IsTxFOXjA1r++hYv85FoTPG9CvMBo=; b=ZeIIgYJmeohHB+qfSI0K3hJMTGyRtVy31qN/MpJLaIK2zKaym6OJAkaPZ1ODbJmCPQwuz6lG3OP+LYzzTv8yUX8doSg2aeSl8z20lFhfcD91Nk6dZaLZPer7pwaAQFUlEQLmskYAWkVtl8tVBO6rKgITtoAlzakEezpIdSyrtZc=; Received: from root (helo=closure.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.80) (envelope-from ) id 1Y0Xrt-0006pN-CE; Mon, 15 Dec 2014 15:47:29 +0000 Received: by closure.thunk.org (Postfix, from userid 15806) id C9BC558197C; Mon, 15 Dec 2014 10:47:28 -0500 (EST) From: Theodore Ts'o To: fstests@vger.kernel.org Cc: Theodore Ts'o Subject: [PATCH] ext4/308,generic/324: require fallocate support Date: Mon, 15 Dec 2014 10:47:23 -0500 Message-Id: <1418658443-31670-1-git-send-email-tytso@mit.edu> X-Mailer: git-send-email 2.1.0 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These tests use the falloc command in xfs_io, and there are some file systems (ext3) or file system configurations (ext4 in ext3 compatibility mode) which do not support fallocate. So add the explicit requirement to avoid false test failures. Signed-off-by: Theodore Ts'o Reviewed-by: Eryu Guan --- tests/ext4/308 | 1 + tests/generic/324 | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/ext4/308 b/tests/ext4/308 index 8df24ba..948ff3f 100755 --- a/tests/ext4/308 +++ b/tests/ext4/308 @@ -46,6 +46,7 @@ _supported_os Linux _need_to_be_root _require_scratch _require_defrag +_require_xfs_io_command "falloc" rm -f $seqres.full diff --git a/tests/generic/324 b/tests/generic/324 index 1868bbc..5e642dc 100755 --- a/tests/generic/324 +++ b/tests/generic/324 @@ -44,6 +44,7 @@ _supported_os Linux _need_to_be_root _require_scratch _require_defrag +_require_xfs_io_command "falloc" rm -f $seqres.full