<!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>This also looks good.</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>
tristan.ye wrote:
<blockquote
 cite="mid:1219283842.6461.9.camel@tristan-laptop.cn.oracle.com"
 type="cite">
  <pre wrap="">Add new testcases in mkfs-test:check inline-data support for
mkfs.

Signed-off-by: Tristan Ye <a class="moz-txt-link-rfc2396E" href="mailto:tristan.ye@oracle.com">&lt;tristan.ye@oracle.com&gt;</a>
---

Index: ocfs2-test/programs/mkfs-tests/mkfs-test.sh
===================================================================
--- ocfs2-test/programs/mkfs-tests/mkfs-test.sh        (revision 183)
+++ ocfs2-test/programs/mkfs-tests/mkfs-test.sh        (working copy)
@@ -407,6 +407,28 @@
 do_fsck ${OUT}
 testnum=$[$testnum+1]
 
+### Test option '--fs-features=inline-data'
+TAG=mkfs_test_${testnum}
+OUT=${outdir}/${TAG}.log
+echo "Test ${testnum}: --fs-features=inline-data"
+label="Oracle_Home"
+echo -n "mkfs ..... "
+${MKFS} --fs-features=inline-data -x -F -b 4K -C 4K -N 2 -L ${label}
${device} 262144 &gt;&gt;${OUT} 2&gt;&amp;1
+echo "OK"
+echo -n "verify ..... "
+${DEBUGFS} -R "stats" ${device} &gt;&gt;${OUT} 2&gt;&amp;1
+${DEBUGFS} -R "stats" ${device}|${GREP} -i "Feature Incompat"|${GREP}
-q "InlineData"
+RC=$?
+if [ "${RC}" != "0" ]; then
+    echo "ERROR: Did not find InlineData Flag on superblock " &gt;&gt; ${OUT}
+    echo "" &gt;&gt; ${OUT}
+    echo "FAILED. Errors in ${OUT}"
+else
+    echo "OK"
+fi
+do_fsck ${OUT}
+testnum=$[$testnum+1]
+
 ### Test bitmap_cpg change
 TAG=mkfs_test_${testnum}
 OUT=${outdir}/${TAG}.log


_______________________________________________
Ocfs2-tools-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ocfs2-tools-devel@oss.oracle.com">Ocfs2-tools-devel@oss.oracle.com</a>
<a class="moz-txt-link-freetext" href="http://oss.oracle.com/mailman/listinfo/ocfs2-tools-devel">http://oss.oracle.com/mailman/listinfo/ocfs2-tools-devel</a>
  </pre>
</blockquote>
</body>
</html>