From patchwork Mon May 4 22:01:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Chinner X-Patchwork-Id: 6330411 Return-Path: X-Original-To: patchwork-fstests@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F1D979F1C2 for ; Mon, 4 May 2015 22:01:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3229F202BE for ; Mon, 4 May 2015 22:01:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4B988202B8 for ; Mon, 4 May 2015 22:01:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751403AbbEDWBw (ORCPT ); Mon, 4 May 2015 18:01:52 -0400 Received: from ipmail07.adl2.internode.on.net ([150.101.137.131]:2516 "EHLO ipmail07.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751232AbbEDWBw (ORCPT ); Mon, 4 May 2015 18:01:52 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2BdBgAp60dV/38+LHlcgwyBL7N/Bpp6TQEBAQEBAYELhCEBBVYzCBgxOQMbGYgqxwuGF4lCgQKEFwWyfSNgZgELNRyBYywxgQKBQwEBAQ Received: from ppp121-44-62-127.lns20.syd4.internode.on.net (HELO dastard) ([121.44.62.127]) by ipmail07.adl2.internode.on.net with ESMTP; 05 May 2015 07:31:49 +0930 Received: from disappointment.disaster.area ([192.168.1.110] helo=disappointment) by dastard with esmtp (Exim 4.80) (envelope-from ) id 1YpOQi-0005b1-LD for fstests@vger.kernel.org; Tue, 05 May 2015 08:01:36 +1000 Received: from dave by disappointment with local (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1YpOQi-0006gL-KT for fstests@vger.kernel.org; Tue, 05 May 2015 08:01:36 +1000 From: Dave Chinner To: fstests@vger.kernel.org Subject: [PATCH 3/4] xfs/045: can't change UUID on v5 filesystems. Date: Tue, 5 May 2015 08:01:32 +1000 Message-Id: <1430776893-25158-4-git-send-email-david@fromorbit.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1430776893-25158-1-git-send-email-david@fromorbit.com> References: <1430776893-25158-1-git-send-email-david@fromorbit.com> Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 From: Dave Chinner So pass "-m crc=0" to the scratch_mkfs command so that we only run on old v4 format filesystems where the UUID can be changed. Signed-off-by: Dave Chinner --- tests/xfs/045 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xfs/045 b/tests/xfs/045 index 7d8a4a1..2f5508f 100755 --- a/tests/xfs/045 +++ b/tests/xfs/045 @@ -50,7 +50,7 @@ _require_scratch_nocheck echo "*** get uuid" uuid=`_get_existing_uuid` echo "*** mkfs" -if ! _scratch_mkfs_xfs >$tmp.out 2>&1 +if ! _scratch_mkfs_xfs -m crc=0 >$tmp.out 2>&1 then cat $tmp.out echo "!!! failed to mkfs on $SCRATCH_DEV"