xfs
[Top] [All Lists]

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

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstest: confirm mkfs.gfs[2] in test 032
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sat, 01 Nov 2008 11:13:18 -0500
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.

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 |"
+       [ $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>