Received: with ECARTIS (v1.0.0; list xfs); Wed, 19 Mar 2008 19:32:58 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-r574664 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m2K2Wn2t015233 for ; Wed, 19 Mar 2008 19:32:51 -0700 X-ASG-Debug-ID: 1205980401-2fe203530000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from sandeen.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6965E6C3A91 for ; Wed, 19 Mar 2008 19:33:21 -0700 (PDT) Received: from sandeen.net (sandeen.net [209.173.210.139]) by cuda.sgi.com with ESMTP id BUVynFFsO58LYgtT for ; Wed, 19 Mar 2008 19:33:21 -0700 (PDT) Received: from liberator.sandeen.net (liberator.sandeen.net [10.0.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sandeen.net (Postfix) with ESMTP id E92FC1802E67F for ; Wed, 19 Mar 2008 21:33:20 -0500 (CDT) Message-ID: <47E1CCF0.9070904@sandeen.net> Date: Wed, 19 Mar 2008 21:33:20 -0500 From: Eric Sandeen User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: xfs-oss X-ASG-Orig-Subj: [PATCH] fix xfsqa 049 when using whole scratch device Subject: [PATCH] fix xfsqa 049 when using whole scratch device Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: sandeen.net[209.173.210.139] X-Barracuda-Start-Time: 1205980402 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.45337 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV 0.91.2/6021/Wed Feb 27 15:55:48 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 14940 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: sandeen@sandeen.net Precedence: bulk X-list: xfs if SCRATCH_DEV happens to be a whole device, mke2fs will wait for confirmation. (mke2fs -F would work, too...) -Eric Index: xfs-cmds/xfstests/049 =================================================================== --- xfs-cmds.orig/xfstests/049 +++ xfs-cmds/xfstests/049 @@ -60,7 +60,7 @@ echo "--- mounts" >> $seq.full mount >> $seq.full _log "Create ext2 fs on scratch" -mkfs -t ext2 $SCRATCH_DEV >> $seq.full 2>&1 \ +echo y | mkfs -t ext2 $SCRATCH_DEV >> $seq.full 2>&1 \ || _fail "!!! failed to mkfs ext2" _log "Mount ext2 fs on scratch"