[Ocfs2-test-devel] [PATCH 2/3] tunefs-test.sh: test local mount for feature incompat code 24.

Marcos Matsunaga Marcos.Matsunaga at oracle.com
Tue Oct 28 20:00:11 PDT 2008


When the new FS options were added, the test was not changed to
check for sparse+mount local (24). This is just fixing the
behavior.

Signed-off-by: Marcos Matsunaga <Marcos.Matsunaga at oracle.com>
---
 programs/tunefs-test/tunefs-test.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/tunefs-test/tunefs-test.sh b/programs/tunefs-test/tunefs-test.sh
index eae5b60..bfe154b 100755
--- a/programs/tunefs-test/tunefs-test.sh
+++ b/programs/tunefs-test/tunefs-test.sh
@@ -438,7 +438,7 @@ Change_Mount_Type()
 	Check_Volume;
 	SB_MTYPE=`${DEBUGFS_BIN} -n -R "stats" ${DEVICE}|${GREP} Incompat:| \
 		${GAWK} '{print \$3; exit}'`;
-	if [ ${SB_MTYPE} -ne 8 ]; then
+	if [ ${SB_MTYPE} -ne 8 || ${SB_MTYPE} -ne 24]; then
 	   test_fail;
 	   LogMsg "tunefs_test : Mount Type change failed. Superblock \c"
 	   LogMsg "Feature Incompat (${SB_MTYPE})";
-- 
1.5.6.3




More information about the Ocfs2-test-devel mailing list