xfs
[Top] [All Lists]

[PATCH v2] xfstest: confirm mkfs.gfs[2] in test 032

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH v2] xfstest: confirm mkfs.gfs[2] in test 032
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sat, 01 Nov 2008 14:19:10 -0500
In-reply-to: <490C801E.9070405@xxxxxxxxxxx>
References: <490C801E.9070405@xxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)
mkfs.gfs[2] asks for confirmation before mkfs'ing; without
this test 032 hangs when mkfs.gfs2 is present.

Also, mkfs.gfs needs a few more args to make it go.

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
---

Index: xfs-cmds/xfstests/032
===================================================================
--- xfs-cmds.orig/xfstests/032
+++ xfs-cmds/xfstests/032
@@ -43,6 +43,8 @@ do
        [ $fs = vfat ] && postargs=2000
        # these folks prompt before writing
        [ $fs = jfs ] && preop="echo Y |"
+       [ $fs = gfs ] && preop="echo y |" && preargs="-p lock_nolock -j 1"
+       [ $fs = gfs2 ] && preop="echo y |"
        [ $fs = reiserfs ] && preop="echo y |" && preargs="-f"
        # cramfs mkfs requires a directory argument
        [ $fs = cramfs ] && preargs=/proc/fs/xfs




<Prev in Thread] Current Thread [Next in Thread>