[Ocfs2-test-devel] [PATCH 2/3] tunefs-test.sh: test local mount for feature incompat code 24.
tristan.ye
tristan.ye at oracle.com
Tue Oct 28 20:24:09 PDT 2008
Looks good to me.
Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
On Tue, 2008-10-28 at 20:00 -0700, Marcos Matsunaga wrote:
> 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})";
More information about the Ocfs2-test-devel
mailing list