| To: | xfs-oss <xfs@xxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] fix xfsqa 049 when using whole scratch device |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Wed, 19 Mar 2008 21:33:20 -0500 |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 2.0.0.12 (Macintosh/20080213) |
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"
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Come join me on ssbbw4u..., P Alb |
|---|---|
| Next by Date: | Re: [PATCH] fix dir2 shortform structures on ARM old ABI, Eric Sandeen |
| Previous by Thread: | Come join me on ssbbw4u..., P Alb |
| Next by Thread: | Re: [PATCH] fix xfsqa 049 when using whole scratch device, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |