From patchwork Tue Nov 21 06:27:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Yang X-Patchwork-Id: 10067677 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 470C36022E for ; Tue, 21 Nov 2017 06:27:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A9AE28B5D for ; Tue, 21 Nov 2017 06:27:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2EB5928D96; Tue, 21 Nov 2017 06:27:34 +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=-6.9 required=2.0 tests=BAYES_00,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 A7D2F28B5D for ; Tue, 21 Nov 2017 06:27:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752814AbdKUG1d (ORCPT ); Tue, 21 Nov 2017 01:27:33 -0500 Received: from mail.cn.fujitsu.com ([183.91.158.132]:3946 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751899AbdKUG1d (ORCPT ); Tue, 21 Nov 2017 01:27:33 -0500 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="30335280" Received: from bogon (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 21 Nov 2017 14:27:27 +0800 Received: from G08CNEXCHPEKD01.g08.fujitsu.local (unknown [10.167.33.80]) by cn.fujitsu.com (Postfix) with ESMTP id A9D72487AFB0; Tue, 21 Nov 2017 14:27:22 +0800 (CST) Received: from localhost.localdomain (10.167.220.81) by G08CNEXCHPEKD01.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 21 Nov 2017 14:27:23 +0800 From: Xiao Yang To: CC: , Xiao Yang Subject: [PATCH v2] generic/459: add check for dm-snapshot target Date: Tue, 21 Nov 2017 14:27:20 +0800 Message-ID: <1511245640-12862-1-git-send-email-yangx.jy@cn.fujitsu.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <20171121060714.GM2749@eguan.usersys.redhat.com> References: <20171121060714.GM2749@eguan.usersys.redhat.com> MIME-Version: 1.0 X-Originating-IP: [10.167.220.81] X-yoursite-MailScanner-ID: A9D72487AFB0.A8B4A X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: yangx.jy@cn.fujitsu.com Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP generic/459 should be skipped when dm-snapshot is not supported. Signed-off-by: Xiao Yang --- tests/generic/459 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/generic/459 b/tests/generic/459 index d1ad372..eb05fb8 100755 --- a/tests/generic/459 +++ b/tests/generic/459 @@ -62,6 +62,7 @@ _supported_fs generic _supported_os Linux _require_scratch_nocheck _require_dm_target thin-pool +_require_dm_target snapshot _require_command $LVM_PROG lvm _require_command "$THIN_CHECK_PROG" thin_check _require_freeze