xfs
[Top] [All Lists]

[PATCH] xfstests: fix up mkfs.gfs2 args for test 032

To: xfs mailing list <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: fix up mkfs.gfs2 args for test 032
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu, 14 Jan 2010 14:45:29 -0600
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
Looks like gfs2 (recently?) needs more arguments for the
mkfs overwrite test.

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

diff --git a/032 b/032
index f81196c..5db89ad 100755
--- a/032
+++ b/032
@@ -58,7 +58,7 @@ do
        # 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 = gfs2 ] && preop="echo y |" && preargs="-p lock_nolock -j 1"
        [ $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>