<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffcc" text="#000066">
<tt>Those lines are related to stat &lt;file&gt; and the output on that
is really InlineData. The syntax is different for stats and stat
&lt;file&gt;.</tt><br>
<pre class="moz-signature" cols="72">Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering

“The statements and opinions expressed here are my own and do not
necessarily represent those of Oracle Corporation.”
</pre>
<br>
<br>
Sunil Mushran wrote:
<blockquote cite="mid:4A204509.9040703@oracle.com" type="cite">This
looks incomplete. You have missed lines: 634, 602 and 573.
  <br>
  <br>
  <br>
Marcos Matsunaga wrote:
  <br>
  <blockquote type="cite">Other than the syntax error, the new output
of the debugfs.ocfs2 required
    <br>
a change to the script to prevent false error reported. It also need to
    <br>
have a change to the way some flags were compared as there were not
that
    <br>
many flags when this script was first written. It now checks for the
    <br>
existence of "backup-super" instead of the flag "1" as before.
    <br>
It also looks for "inline-data" instead of "InlineData".
    <br>
    <br>
Signed-off-by: Marcos Matsunaga <a class="moz-txt-link-rfc2396E" href="mailto:Marcos.Matsunaga@oracle.com">&lt;Marcos.Matsunaga@oracle.com&gt;</a>
    <br>
---
    <br>
 programs/tunefs-test/tunefs-test.sh |   10 +++++-----
    <br>
 1 files changed, 5 insertions(+), 5 deletions(-)
    <br>
    <br>
diff --git a/programs/tunefs-test/tunefs-test.sh
b/programs/tunefs-test/tunefs-test.sh
    <br>
index bfe154b..4033b94 100755
    <br>
--- a/programs/tunefs-test/tunefs-test.sh
    <br>
+++ b/programs/tunefs-test/tunefs-test.sh
    <br>
@@ -438,7 +438,7 @@ Change_Mount_Type()
    <br>
     Check_Volume;
    <br>
     SB_MTYPE=`${DEBUGFS_BIN} -n -R "stats" ${DEVICE}|${GREP}
Incompat:| \
    <br>
         ${GAWK} '{print \$3; exit}'`;
    <br>
-    if [ ${SB_MTYPE} -ne 8 || ${SB_MTYPE} -ne 24]; then
    <br>
+    if [ ${SB_MTYPE} -ne 8 || ${SB_MTYPE} -ne 24 ]; then
    <br>
        test_fail;
    <br>
        LogMsg "tunefs_test : Mount Type change failed. Superblock \c"
    <br>
        LogMsg "Feature Incompat (${SB_MTYPE})";
    <br>
@@ -458,7 +458,7 @@ Add_Backup_Super()
    <br>
     echo "y"|${TUNEFS_BIN} --backup-super ${DEVICE} 2&gt;&amp;1
&gt;&gt; ${TUNEFSLOG};
    <br>
     Check_Volume;
    <br>
     SB_BSUPER=`${DEBUGFS_BIN} -n -R "stats" ${DEVICE}|${GREP} Compat:|
\
    <br>
-        ${GAWK} '{print \$3; exit}'`;
    <br>
+        ${GREP} backup-super|wc -l`;
    <br>
     if [ ${SB_BSUPER} -ne 1 ]; then
    <br>
        test_fail;
    <br>
        LogMsg "tunefs_test : Change to backup super failed. Superblock
\c"
    <br>
@@ -559,7 +559,7 @@ Enable_Disable_Inline_Data()
    <br>
                         #Check if we set none-inline-data for volume
    <br>
                         (( ++NUM_OF_TESTS ))
    <br>
                         CURRENT_TEST="Set None-inline-data support for
volume by mkfs.ocfs2";
    <br>
-                        ${DEBUGFS_BIN} -n -R "stats" ${DEVICE}|${GREP}
-i "Feature Incompat"|${GREP} -q "InlineData"
    <br>
+                        ${DEBUGFS_BIN} -n -R "stats" ${DEVICE}|${GREP}
-i "Feature Incompat"|${GREP} -q "inline-data"
    <br>
                         RC=$?
    <br>
                         if [ "$RC" -eq "0" ];then
    <br>
                                 test_fail
    <br>
@@ -590,7 +590,7 @@ Enable_Disable_Inline_Data()
    <br>
                         FS_FEATURES="--fs-features=inline-data"
    <br>
                         echo "y"|${TUNEFS_BIN} ${FS_FEATURES}
${DEVICE} 2&gt;&amp;1 &gt;&gt; ${TUNEFSLOG}
    <br>
                         Check_Volume
    <br>
-                        ${DEBUGFS_BIN} -n -R "stats" ${DEVICE}|${GREP}
-i "Feature Incompat"|${GREP} -q "InlineData"
    <br>
+                        ${DEBUGFS_BIN} -n -R "stats" ${DEVICE}|${GREP}
-i "Feature Incompat"|${GREP} -q "inline-data"
    <br>
                         RC=$?
    <br>
                         if [ "$RC" -eq "0" ];then
    <br>
                                 ${MOUNT_BIN} -t ocfs2 ${DEVICE}
${MOUNT_POINT}
    <br>
@@ -622,7 +622,7 @@ Enable_Disable_Inline_Data()
    <br>
                         FS_FEATURES="--fs-features=noinline-data"
    <br>
                         echo "y"|${TUNEFS_BIN} ${FS_FEATURES}
${DEVICE} 2&gt;&amp;1 &gt;&gt; ${TUNEFSLOG}
    <br>
                         Check_Volume
    <br>
-                        ${DEBUGFS_BIN} -n -R "stats" ${DEVICE}|${GREP}
-i "Feature Incompat"|${GREP} -q "InlineData"
    <br>
+                        ${DEBUGFS_BIN} -n -R "stats" ${DEVICE}|${GREP}
-i "Feature Incompat"|${GREP} -q "inline-data"
    <br>
                         RC=$?
    <br>
                         if [ "$RC" -eq "0" ] ;then
    <br>
                                 test_fail
    <br>
  </blockquote>
  <br>
</blockquote>
</body>
</html>