From patchwork Mon Oct 21 16:05:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josef Bacik X-Patchwork-Id: 3078741 Return-Path: X-Original-To: patchwork-linux-btrfs@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 9F089BF924 for ; Mon, 21 Oct 2013 16:05:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 01DD5202EA for ; Mon, 21 Oct 2013 16:05:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B9A492020F for ; Mon, 21 Oct 2013 16:05:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751066Ab3JUQFT (ORCPT ); Mon, 21 Oct 2013 12:05:19 -0400 Received: from dkim2.fusionio.com ([66.114.96.54]:37964 "EHLO dkim2.fusionio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750809Ab3JUQFS (ORCPT ); Mon, 21 Oct 2013 12:05:18 -0400 Received: from mx2.fusionio.com (unknown [10.101.1.160]) by dkim2.fusionio.com (Postfix) with ESMTP id 4B2C59A06B0 for ; Mon, 21 Oct 2013 10:05:18 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fusionio.com; s=default; t=1382371518; bh=rqV1Pvy+wUGAMoA0n7L4S8tsg6zm0EaYwFLFnJEV7YI=; h=From:To:Subject:Date; b=HOIp+mi2NK6htFTZtJiAU++qx7B++IRVowGSCGUXqjaCDYxm7vWVoimytVuI1vPWK /P38qVhkf6moc2NJTvU6p81STJCslmPbdfrccd8jcC2/kjB1hJYrvsWwd+nGkjpvy/ gpTK4r8H8uCkHNQqqH1kGgr1XaqbWkNErieE1qP8= X-ASG-Debug-ID: 1382371517-0421b56d464b890001-6jHSXT Received: from CAS1.int.fusionio.com (cas1.int.fusionio.com [10.101.1.40]) by mx2.fusionio.com with ESMTP id CpxrfuaUkpVyWuPs (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO); Mon, 21 Oct 2013 10:05:17 -0600 (MDT) X-Barracuda-Envelope-From: JBacik@fusionio.com Received: from localhost (10.101.1.160) by mail.fusionio.com (10.101.1.40) with Microsoft SMTP Server (TLS) id 14.3.158.1; Mon, 21 Oct 2013 10:05:17 -0600 From: Josef Bacik To: , Subject: [PATCH] xfstests: use -F for mkfs.ext4 in btrfs/012 Date: Mon, 21 Oct 2013 12:05:16 -0400 X-ASG-Orig-Subj: [PATCH] xfstests: use -F for mkfs.ext4 in btrfs/012 Message-ID: <1382371516-13720-1-git-send-email-jbacik@fusionio.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Originating-IP: [10.101.1.160] X-Barracuda-Connect: cas1.int.fusionio.com[10.101.1.40] X-Barracuda-Start-Time: 1382371517 X-Barracuda-Encrypted: AES128-SHA X-Barracuda-URL: http://10.101.1.181:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at fusionio.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.141670 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 I noticed this test was hanging because mkfs.ext4 wanted to make sure it was ok to mkfs an entire device. We need -F so it doesn't ask this question. Thanks, Signed-off-by: Josef Bacik Reviewed-by: Eric Sandeen --- tests/btrfs/012 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/btrfs/012 b/tests/btrfs/012 index de90149..f7e5da5 100755 --- a/tests/btrfs/012 +++ b/tests/btrfs/012 @@ -65,7 +65,7 @@ _require_command $E2FSCK_PROG e2fsck rm -f $seqres.full # Create & populate an ext4 filesystem -$MKFS_EXT4_PROG -b 4096 $SCRATCH_DEV > $seqres.full 2>&1 || \ +$MKFS_EXT4_PROG -F -b 4096 $SCRATCH_DEV > $seqres.full 2>&1 || \ _notrun "Could not create ext4 filesystem" # Manual mount so we don't use -t btrfs or selinux context mount -t ext4 $SCRATCH_DEV $SCRATCH_MNT