Re: [LTP] [PATCH] Add new testcases for ext4 new features - V3

Garrett Cooper
2009-11-30T10:02:02Z

On Mon, Nov 30, 2009 at 1:39 AM, Miao Xie <miaox@cn.fujitsu.com> wrote:
> Hi, Subrata
>
> The attached file is the test result of ext4 new features on my x86_64 box.
>
> Regards
> Miao
>
> on 2009-11-30 11:28, Miao Xie wrote:
>>
>> Hi, Subrata
>>
>> I'm sorry. There is something wrong in the patch that I sent on
>> 2009-11-26. So
>> I made a new patch to instead of it.
>>
>> And Subrata, I didn't find these failure about online defrag on my box.
>> The attached patch opens the verbose mode of e4defrag to get more
>> information later, it is
>> useful to find the problem of online defrag. So, Could you test it again
>> and send the output
>> info to me?
>>
>> This patch can fix the following problem:
>> -- delete the code of setting the test_fs flag
>> -- open the verbose mode of e4defrag, it is useful to find the problem of
>> online defrag
>> -- fix some bug of the Makefile
>> -- throw the utilities version info away
>> -- delete two unnecessary testcases about ext4 subdir limit test
>>
>> Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
>> ---
>>  testcases/kernel/fs/ext4-new-features/Makefile     |   20 ++++++++++----
>>  testcases/kernel/fs/ext4-new-features/README       |    7 +----
>>  .../ext4-delalloc-mballoc/ext4-alloc-test.sh       |   15 ++++------
>>  .../ext4-inode-version/ext4_get_inode_version.sh   |    2 +-
>>  .../ext4-inode-version/ext4_inode_version_test.sh  |   10 +++----
>>  .../ext4-journal-checksum/ext4_journal_checksum.sh |   12 ++++----
>>  .../ext4_nsec_timestamps_test.sh                   |    8 ++---
>>  .../ext4-online-defrag/ext4_online_defrag_test.sh  |   28
>> ++++++++++++-------
>>  .../ext4_persist_prealloc_test.sh                  |    4 +-
>>  .../ext4-subdir-limit/ext4_subdir_limit_test.sh    |   17 +++++++-----
>>  .../ext4-uninit-groups/ext4_uninit_groups_test.sh  |   22 +++++++++------
>>  11 files changed, 78 insertions(+), 67 deletions(-)
>>
>> diff --git a/testcases/kernel/fs/ext4-new-features/Makefile
>> b/testcases/kernel/fs/ext4-new-features/Makefile
>> index 0e09dd6..208b8a6 100644
>> --- a/testcases/kernel/fs/ext4-new-features/Makefile
>> +++ b/testcases/kernel/fs/ext4-new-features/Makefile
>> @@ -22,17 +22,25 @@ top_srcdir              ?= ../../../..
>>
>>  include $(top_srcdir)/include/mk/env_pre.mk
>>
>> -INSTALL_TARGETS        := *.sh
>> -INSTALL_TARGETS        := ext4-test-config
>> -INSTALL_TARGETS        := ffsb-6.0-rc2/ffsb
>> +INSTALL_TARGETS        += ffsb
>> +INSTALL_TARGETS        += run_ext4_test.sh
>> +INSTALL_TARGETS        += ext4_funcs.sh
>> +INSTALL_TARGETS        += ext4-test-config
>>
>> -FILTER_OUT_DIRS        := ffsb-6.0-rc2
>> +FFSBDIR            := ffsb-6.0-rc2
>> +FILTER_OUT_DIRS        := $(FFSBDIR)
>> +FFSB            := $(FFSBDIR)/ffsb
>>
>> -trunk-all: ffsb-6.0-rc2
>> +$(FFSB): $(FFSBDIR)
>> +    $(MAKE) -C $^ -f "$(abs_srcdir)/$^/Makefile" all
>> +    cp $(FFSBDIR)/ffsb ffsb
>> +
>> +trunk-all: $(FFSB)
>>
>>  trunk-clean:: | ffsb-clean
>>
>> -ffsb-clean:: ffsb-6.0-rc2
>> +ffsb-clean:: $(FFSBDIR)
>>     $(MAKE) -C $^ -f "$(abs_srcdir)/$^/Makefile" clean
>> +    rm -rf ffsb
>>
>>  include $(top_srcdir)/include/mk/generic_trunk_target.mk
>> diff --git a/testcases/kernel/fs/ext4-new-features/README
>> b/testcases/kernel/fs/ext4-new-features/README
>> index 0ea0460..bda16e5 100644
>> --- a/testcases/kernel/fs/ext4-new-features/README
>> +++ b/testcases/kernel/fs/ext4-new-features/README
>> @@ -9,7 +9,7 @@ with increasing disk capacities and state-of-the-art
>> feature requirements. More
>>  extensive information of ext4 can be found at the ext4 wiki site at the
>> URL:
>>  http://ext4.wiki.kernel.org
>>
>> -There are total 119 testcases for ext4 new features test that have been
>> added.
>> +There are total 117 testcases for ext4 new features test that have been
>> added.
>>  Now, these testcases can test multi-block alloc/delayed alloc, inode
>> version
>>  field on disk, journal checksumming, nanosec timestamps, online defrag,
>> persist
>>  prealloc, subdirectory limit and uninit groups of ext4.
>> @@ -111,11 +111,6 @@ Directory containing the shell script which is used
>> to test subdirectory limit
>>  of ext4. According to the kernel documentation, we create more than 32000
>>  subdirectorys on the ext4 filesystem.
>>
>> -But, when then block size is small, such as 1024, and the name of every
>> -subdirectory is very long, such as every name is 255 bytes, we can just
>> create
>> -less than 20000 subdirectory. In this test suite, there is two FAIL cases
>> by
>> -reason of it.
>> -
>>  ext4-uninit-groups
>>  ------------------
>>  Directory containing the shell script which is used to test uninitialized
>> groups
>> diff --git
>> a/testcases/kernel/fs/ext4-new-features/ext4-delalloc-mballoc/ext4-alloc-test.sh
>> b/testcases/kernel/fs/ext4-new-features/ext4-delalloc-mballoc/ext4-alloc-test.sh
>> index ec2f389..be7b074 100755
>> ---
>> a/testcases/kernel/fs/ext4-new-features/ext4-delalloc-mballoc/ext4-alloc-test.sh
>> +++
>> b/testcases/kernel/fs/ext4-new-features/ext4-delalloc-mballoc/ext4-alloc-test.sh
>> @@ -37,14 +37,12 @@ read_config $1
>>  # Case 17: mount ext4 partition to ext3
>>  ext4_test_remount()
>>  {
>> -    mkfs.ext3 -I 256 -b 1024 $EXT4_DEV > /dev/null
>> +    mkfs.ext3 -I 256 -b 1024 $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to create ext4 filesystem"
>>         return 1
>>     fi
>>
>> -    tune2fs -E test_fs $EXT4_DEV
>> -
>>     mount -t ext4 -o delalloc,auto_da_alloc $EXT4_DEV mnt_point
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to mount ext4 filesystem"
>> @@ -71,7 +69,7 @@ ext4_test_remount()
>>     fi
>>     umount mnt_point
>>
>> -    fsck -p $EXT4_DEV
>> +    fsck -p $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "fsck returned failure"
>>         return 1
>> @@ -87,16 +85,15 @@ ext4_test_remount()
>>  # $4: auto_da_alloc
>>  ext4_test_delalloc_mballoc()
>>  {
>> -    tst_resm TINFO "isDelalloc: $1, isDirectIO: $2, Blocksize: $3, \
>> -        isAuto_da_alloc: $4"
>> +    tst_resm TINFO "isDelalloc: $1, isDirectIO: $2, Blocksize: $3,
>> isAuto_da_alloc: $4"
>>
>> -    mkfs.ext4 -I 256 -b $3 /$EXT4_DEV > /dev/null
>> +    mkfs.ext4 -I 256 -b $3 /$EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to create ext4 filesystem"
>>         return 1
>>     fi
>>
>> -    tune2fs -E test_fs -O extents $EXT4_DEV
>> +    tune2fs -O extents $EXT4_DEV &> /dev/null
>>
>>     mount -t ext4 -o $1,$4 $EXT4_DEV mnt_point
>>     if [ $? -ne 0 ]; then
>> @@ -117,7 +114,7 @@ ext4_test_delalloc_mballoc()
>>         return 1
>>     fi
>>
>> -    fsck -p $EXT4_DEV
>> +    fsck -p $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "fsck returned failure"
>>         return 1
>> diff --git
>> a/testcases/kernel/fs/ext4-new-features/ext4-inode-version/ext4_get_inode_version.sh
>> b/testcases/kernel/fs/ext4-new-features/ext4-inode-version/ext4_get_inode_version.sh
>> index 8f5c907..0e7a8b6 100755
>> ---
>> a/testcases/kernel/fs/ext4-new-features/ext4-inode-version/ext4_get_inode_version.sh
>> +++
>> b/testcases/kernel/fs/ext4-new-features/ext4-inode-version/ext4_get_inode_version.sh
>> @@ -24,7 +24,7 @@
>>  #$2: 1  - return inode version by return value
>>  #    !1 - writting inode version to stddev
>>
>> -inode_version=`debugfs -R "stat $1" $EXT4_DEV | grep 'Version' | awk '{
>> +inode_version=`debugfs -R "stat $1" $EXT4_DEV 2> /dev/null | grep
>> 'Version' | awk '{
>>  print $NF }'`
>>
>>  # The inode_version's format: '0x0000000a' or '0x00000000:0000000a',
>> diff --git
>> a/testcases/kernel/fs/ext4-new-features/ext4-inode-version/ext4_inode_version_test.sh
>> b/testcases/kernel/fs/ext4-new-features/ext4-inode-version/ext4_inode_version_test.sh
>> index f27248b..4a58b36 100755
>> ---
>> a/testcases/kernel/fs/ext4-new-features/ext4-inode-version/ext4_inode_version_test.sh
>> +++
>> b/testcases/kernel/fs/ext4-new-features/ext4-inode-version/ext4_inode_version_test.sh
>> @@ -41,13 +41,13 @@ ext4_test_128_inode_version()
>>  {
>>     tst_resm TINFO "Test inode version is 32 bits with 128 inode size"
>>
>> -    mkfs.ext4 -I 128 $EXT4_DEV > /dev/null
>> +    mkfs.ext4 -I 128 $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to create ext4 filesystem"
>>         return 1
>>     fi
>>
>> -    tune2fs -E test_fs -O extents $EXT4_DEV
>> +    tune2fs -O extents $EXT4_DEV &> /dev/null
>>
>>     mount -t ext4 -o i_version $EXT4_DEV mnt_point
>>     if [ $? -ne 0 ]; then
>> @@ -67,7 +67,7 @@ ext4_test_128_inode_version()
>>     fi
>>
>>     # inode version is 32 bits: 0x00000000
>> -    version=`debugfs $EXT4_DEV -R "stat tmp_file" | grep 'Version'`
>> +    version=`debugfs $EXT4_DEV -R "stat tmp_file" 2> /dev/null | grep
>> 'Version'`
>>     version=`echo $version | awk '{ print $NF }'`
>>     version=`echo $version | sed 's/^0x//'`
>>     len=${#version}
>> @@ -91,14 +91,12 @@ ext4_test_128_inode_version()
>>  # $1: file operation
>>  test_inode_version()
>>  {
>> -    mkfs.ext3 -I 256 $EXT4_DEV > /dev/null
>> +    mkfs.ext3 -I 256 $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to create ext4 filesystem"
>>         return 1
>>     fi
>>
>> -    tune2fs -E test_fs $EXT4_DEV > /dev/null
>> -
>>     mount -t ext4 -o i_version $EXT4_DEV mnt_point
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to mount ext4 filesystem"
>> diff --git
>> a/testcases/kernel/fs/ext4-new-features/ext4-journal-checksum/ext4_journal_checksum.sh
>> b/testcases/kernel/fs/ext4-new-features/ext4-journal-checksum/ext4_journal_checksum.sh
>> index 550afa1..eb72b5d 100755
>> ---
>> a/testcases/kernel/fs/ext4-new-features/ext4-journal-checksum/ext4_journal_checksum.sh
>> +++
>> b/testcases/kernel/fs/ext4-new-features/ext4-journal-checksum/ext4_journal_checksum.sh
>> @@ -59,17 +59,17 @@ ext4_test_journal_checksum()
>>         async_commit="Used"
>>     fi
>>
>> -    tst_resm TINFO "journal mode: $1, commit interval: $2, \
>> -        journal_checksum: $checksum, \
>> -        journal_async_commit: $async_commit, barrier: $5"
>> +    tst_resm TINFO "journal mode: $1, commit interval: $2, " \
>> +        "journal_checksum: $checksum, " \
>> +        "journal_async_commit: $async_commit, barrier: $5"
>>
>> -    mkfs.ext4 -I 256 $EXT4_DEV > /dev/null
>> +    mkfs.ext4 -I 256 $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to create ext4 filesystem"
>>         return 1
>>     fi
>>
>> -    tune2fs -E test_fs -O extents $EXT4_DEV
>> +    tune2fs -O extents $EXT4_DEV &> /dev/null
>>
>>     mount -t ext4 -o data=$1,commit=$2,$3,$4,barrier=$5 $EXT4_DEV
>> mnt_point
>>     if [ $? -ne 0 ]; then
>> @@ -90,7 +90,7 @@ ext4_test_journal_checksum()
>>         return 1
>>     fi
>>
>> -    e2fsck -p $EXT4_DEV
>> +    e2fsck -p $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "fsck returned failure"
>>         return 1
>> diff --git
>> a/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh
>> b/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh
>> index ced6576..cc00507 100755
>> ---
>> a/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh
>> +++
>> b/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ext4_nsec_timestamps_test.sh
>> @@ -41,13 +41,13 @@ ext4_test_sec_timestamps()
>>  {
>>     tst_resm TINFO "Test timestamps with 128 inode size"
>>
>> -    mkfs.ext4 -I 128 $EXT4_DEV > /dev/null
>> +    mkfs.ext4 -I 128 $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to create ext4 filesystem"
>>         return 1
>>     fi
>>
>> -    tune2fs -E test_fs -O extents $EXT4_DEV
>> +    tune2fs -O extents $EXT4_DEV &> /dev/null
>>
>>     mount -t ext4 $EXT4_DEV mnt_point
>>     if [ $? -ne 0 ]; then
>> @@ -82,14 +82,12 @@ ext4_test_nsec_timestamps()
>>  {
>>     tst_resm TINFO "Test timestamps with 256 inode size"
>>
>> -    mkfs.ext3 -I 256 $EXT4_DEV > /dev/null
>> +    mkfs.ext3 -I 256 $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to create ext4 filesystem"
>>         return 1
>>     fi
>>
>> -    tune2fs -E test_fs $EXT4_DEV
>> -
>>     mount -t ext4 $EXT4_DEV mnt_point
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to mount ext4 filesystem"
>> diff --git
>> a/testcases/kernel/fs/ext4-new-features/ext4-online-defrag/ext4_online_defrag_test.sh
>> b/testcases/kernel/fs/ext4-new-features/ext4-online-defrag/ext4_online_defrag_test.sh
>> index 84613c8..7b4dda3 100755
>> ---
>> a/testcases/kernel/fs/ext4-new-features/ext4-online-defrag/ext4_online_defrag_test.sh
>> +++
>> b/testcases/kernel/fs/ext4-new-features/ext4-online-defrag/ext4_online_defrag_test.sh
>> @@ -94,23 +94,23 @@ my_e4defrag()
>>  {
>>     if [ $1 -eq $FILE ]; then
>>         if [ $2 -eq $SMALL ]; then
>> -            ./e4defrag mnt_point/data0/
>> +            ./e4defrag -v mnt_point/data0/
>>             return $?
>>         # EMPTY or LARGE
>>         else
>> -            ./e4defrag mnt_point/tmp_file
>> +            ./e4defrag -v mnt_point/tmp_file
>>             return $?
>>         fi
>>     elif [ $1 -eq $DIR ]; then
>>         if [ $2 -eq $SMALL ]; then
>> -            ./e4defrag mnt_point/data0/
>> +            ./e4defrag -v mnt_point/data0/
>>             return $?
>>         else
>> -            ./e4defrag mnt_point/tmp_dir
>> +            ./e4defrag -v mnt_point/tmp_dir
>>             return $?
>>         fi
>>     else
>> -        ./e4defrag $EXT4_DEV
>> +        ./e4defrag -v $EXT4_DEV
>>         return $?
>>     fi
>>  }
>> @@ -121,15 +121,20 @@ my_e4defrag()
>>  # $3: block size
>>  ext4_test_online_defrag()
>>  {
>> +    echo Test $TST_COUNT start >> \
>> +         $LTPROOT/output/ext4_online_defrag_result.txt
>> +
>>     tst_resm TINFO "defrag type: $1, defrag obj: $2, block size: $3"
>>
>> -    mkfs.ext4 -m 0 -b $3 -O ^flex_bg $EXT4_DEV > /dev/null
>> +    mkfs.ext4 -m 0 -b $3 -O ^flex_bg $EXT4_DEV >> \
>> +        $LTPROOT/output/ext4_online_defrag_result.txt 2>&1
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to create ext4 filesystem"
>>         return 1
>>     fi
>>
>> -    tune2fs -E test_fs -O extents $EXT4_DEV
>> +    tune2fs -O extents $EXT4_DEV >> \
>> +         $LTPROOT/output/ext4_online_defrag_result.txt 2>&1
>>
>>     mount -t ext4 -o nodelalloc $EXT4_DEV mnt_point
>>     if [ $? -ne 0 ]; then
>> @@ -137,7 +142,7 @@ ext4_test_online_defrag()
>>         return 1
>>     fi
>>
>> -    age_filesystem $2 $1
>> +    age_filesystem $2 $1 >> $LTPROOT/output/ext4_online_defrag_result.txt
>> 2>&1
>>
>>     my_e4defrag $1 $2 >> $LTPROOT/output/ext4_online_defrag_result.txt
>>     if [ $? -ne 0 ]; then
>> @@ -152,18 +157,21 @@ ext4_test_online_defrag()
>>         return 1
>>     fi
>>
>> -    e2fsck -p $EXT4_DEV
>> +    e2fsck -p $EXT4_DEV >> \
>> +         $LTPROOT/output/ext4_online_defrag_result.txt 2>&1
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "fsck returned failure"
>>         return 1
>>     fi
>>
>> -    tst_resm TPASS "ext4 online defrag test pass(defrag type: $1, Aging:
>> $2, block size: $3)"
>> +    tst_resm TPASS "ext4 online defrag test pass"
>>  }
>>
>>  # main
>>  ext4_setup
>>
>> +rm -f $LTPROOT/output/ext4_online_defrag_result.txt
>> +
>>  DEFRAG=( $FILE $DIR $FILESYSTEM )
>>  AGING=( $EMPTY $SMALL $LARGE )
>>  BLOCK_SIZE=( 1024 4096 )
>> diff --git
>> a/testcases/kernel/fs/ext4-new-features/ext4-persist-prealloc/ext4_persist_prealloc_test.sh
>> b/testcases/kernel/fs/ext4-new-features/ext4-persist-prealloc/ext4_persist_prealloc_test.sh
>> index 0d293e8..e895d25 100755
>> ---
>> a/testcases/kernel/fs/ext4-new-features/ext4-persist-prealloc/ext4_persist_prealloc_test.sh
>> +++
>> b/testcases/kernel/fs/ext4-new-features/ext4-persist-prealloc/ext4_persist_prealloc_test.sh
>> @@ -43,7 +43,7 @@ export TDIRECTORY=$PWD/mnt_point/
>>  # $1: 1024 or 4096
>>  ext4_test_persist_prealloc()
>>  {
>> -    mkfs.ext4 -I 256 -b $1 $EXT4_DEV > /dev/null
>> +    mkfs.ext4 -I 256 -b $1 $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to create ext4 filesystem"
>>         return 1
>> @@ -81,7 +81,7 @@ ext4_test_persist_prealloc()
>>         return 1
>>     fi
>>
>> -    e2fsck -p $EXT4_DEV
>> +    e2fsck -p $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "fsck returned failure"
>>         return 1
>> diff --git
>> a/testcases/kernel/fs/ext4-new-features/ext4-subdir-limit/ext4_subdir_limit_test.sh
>> b/testcases/kernel/fs/ext4-new-features/ext4-subdir-limit/ext4_subdir_limit_test.sh
>> index 42c4336..5631fe5 100755
>> ---
>> a/testcases/kernel/fs/ext4-new-features/ext4-subdir-limit/ext4_subdir_limit_test.sh
>> +++
>> b/testcases/kernel/fs/ext4-new-features/ext4-subdir-limit/ext4_subdir_limit_test.sh
>> @@ -28,7 +28,7 @@ cd $LTPROOT/testcases/bin
>>  . ./ext4_funcs.sh
>>
>>  export TCID="ext4-subdir-limit"
>> -export TST_TOTAL=12
>> +export TST_TOTAL=10
>>  export TST_COUNT=1
>>
>>  # $1: the test config
>> @@ -59,20 +59,20 @@ ext4_run_case()
>>         dir_name_len="long name"
>>     fi
>>
>> -    tst_resm TINFO "Num of dirs to create: $1, Dir name len:
>> $dir_name_len \
>> -            Parent dir: $3, Block size: $4"
>> +    tst_resm TINFO "Num of dirs to create: $1, Dir name len:
>> $dir_name_len, " \
>> +            "Parent dir: $3, Block size: $4"
>>
>>     # only mkfs if block size has been changed,
>>     # or previous case failed
>>     if [ $prev_result -ne $PASS -o $4 -ne $prev_block_size ]; then
>> -        mkfs.ext4 -b $4 -I 256 $EXT4_DEV > /dev/null
>> +        mkfs.ext4 -b $4 -I 256 $EXT4_DEV &> /dev/null
>>         if [ $? -ne 0 ]; then
>>             tst_resm TFAIL "failed to create ext4 filesystem"
>>             return 1
>>         fi
>>         prev_block_size=$4
>>
>> -        tune2fs -E test_fs -O extents $EXT4_DEV
>> +        tune2fs -O extents $EXT4_DEV &> /dev/null
>>     fi
>>
>>     prev_result=$FAIL
>> @@ -120,14 +120,14 @@ ext4_run_case()
>>     fi
>>
>>     # run fsck to make sure the filesystem has no errors
>> -    e2fsck -p $EXT4_DEV
>> +    e2fsck -p $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "fsck: the filesystem has errors"
>>         return 1
>>     fi
>>
>>     # check dir_nlink is set
>> -    dumpe2fs $EXT4_DEV | grep '^Filesystem features' | grep -q dir_nlink
>> +    dumpe2fs $EXT4_DEV 2> /dev/null | grep '^Filesystem features' | grep
>> -q dir_nlink
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "feature dir_nlink is not set"
>>         return 1
>> @@ -152,6 +152,9 @@ for ((i = 0; i < 3; i++))
>>     {
>>         for ((k = 0; k < 2; k++))
>>         {
>> +            if [ $i -eq $LONG_DIR -a $k -eq 1024 ]; then
>> +                continue
>> +            fi
>>             ext4_run_case 65537 ${DIR_LEN[$k]} ${PARENT_DIR[$j]} \
>>                     ${BLOCK_SIZE[$i]}
>>             if [ $? -ne 0 ]; then
>> diff --git
>> a/testcases/kernel/fs/ext4-new-features/ext4-uninit-groups/ext4_uninit_groups_test.sh
>> b/testcases/kernel/fs/ext4-new-features/ext4-uninit-groups/ext4_uninit_groups_test.sh
>> index 27cbb5f..b479c8f 100755
>> ---
>> a/testcases/kernel/fs/ext4-new-features/ext4-uninit-groups/ext4_uninit_groups_test.sh
>> +++
>> b/testcases/kernel/fs/ext4-new-features/ext4-uninit-groups/ext4_uninit_groups_test.sh
>> @@ -40,8 +40,8 @@ LARGE=3
>>  # filesystem free size in bytes: blocks_size * free_blocks
>>  filesystem_free_size()
>>  {
>> -    bsize=`dumpe2fs -h $EXT4_DEV | grep 'Block size' | awk '{ print $2
>> }'`
>> -    blocks=`dumpe2fs -h $EXT4_DEV | grep 'Free blocks'| awk '{ print $2
>> }'`
>> +    bsize=`dumpe2fs -h $EXT4_DEV 2> /dev/null | grep 'Block size' | awk
>> '{ print $2 }'`
>> +    blocks=`dumpe2fs -h $EXT4_DEV 2> /dev/null | grep 'Free blocks'| awk
>> '{ print $2 }'`
>>
>>     echo $bsize * $blocks
>>  }
>> @@ -61,9 +61,9 @@ age_filesystem()
>>         }
>>     elif [ $1 -eq $LARGE ]; then
>>         rm -rf mnt_point/*
>> -        bsize=`dumpe2fs -h $EXT4_DEV | grep 'Block size'`
>> +        bsize=`dumpe2fs -h $EXT4_DEV 2> /dev/null | grep 'Block size'`
>>         bsize=`echo $bsize | awk '{ print $3 }'`
>> -        bcount=`dumpe2fs -h $EXT4_DEV | grep 'Free blocks'`
>> +        bcount=`dumpe2fs -h $EXT4_DEV 2> /dev/null | grep 'Free blocks'`
>>         bcount=`echo $bcount | awk '{ print $3 }'`
>>         dd if=/dev/zero of=mnt_point/tmp_dir bs=$bsize count=$bcount
>>     else
>> @@ -80,7 +80,9 @@ age_filesystem()
>>  # $4: age filesystem: $EMPTY, $SMALL, $LARGE
>>  ext4_test_uninit_groups()
>>  {
>> -    mkfs.ext4 -I 256 -m 0 $EXT4_DEV > /dev/null
>> +    echo "Test $TST_COUNT" >>
>> $LTPROOT/output/ext4_uninit_groups_result.txt
>> +
>> +    mkfs.ext4 -I 256 -m 0 $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "failed to create ext4 filesystem"
>>         return 1
>> @@ -92,10 +94,10 @@ ext4_test_uninit_groups()
>>         flag=$3
>>     fi
>>
>> -    tune2fs -E test_fs -O extents,uninit_groups,$flag $EXT4_DEV
>> +    tune2fs -O extents,uninit_groups,$flag $EXT4_DEV &> /dev/null
>>
>>     # Must run fsck after setting uninit_groups
>> -    fsck -p $EXT4_DEV > /dev/null
>> +    fsck -p $EXT4_DEV &> /dev/null
>>
>>     mount -t ext4 -o $1,$2 $EXT4_DEV mnt_point
>>     if [ $? -ne 0 ]; then
>> @@ -103,7 +105,7 @@ ext4_test_uninit_groups()
>>         return 1
>>     fi
>>
>> -    age_filesystem $4
>> +    age_filesystem $4 >> $LTPROOT/output/ext4_uninit_groups_result.txt
>> 2>&1
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "age filesystem failed"
>>         umount mnt_point
>> @@ -116,7 +118,7 @@ ext4_test_uninit_groups()
>>         return 1
>>     fi
>>
>> -    fsck -p $EXT4_DEV
>> +    fsck -p $EXT4_DEV &> /dev/null
>>     if [ $? -ne 0 ]; then
>>         tst_resm TFAIL "fsck returned failure"
>>         return 1
>> @@ -135,6 +137,8 @@ AGING=( $EMPTY $SMALL $LARGE )
>>
>>  RET=0
>>
>> +rm -f $LTPROOT/output/ext4_uninit_groups_result.txt
>> +
>>  for ((i = 0; i < 2; i++))
>>  {
>>     for ((j = 0; j < 2; j++))
>
>
> INFO: creating /opt/ltp/results directory
> If some fields are empty or look unusual you may have an old version.
> Compare to the current minimal requirements in Documentation/Changes.
>
> Fedora release 12 (Constantine)
> Fedora release 12 (Constantine)
> Fedora release 12 (Constantine)
> Linux miao 2.6.32-rc8 #1 SMP Thu Nov 26 12:10:41 CST 2009 x86_64 x86_64
> x86_64 GNU/Linux
>
> Gnu C                  gcc (GCC) 4.4.2 20091027 (Red Hat 4.4.2-7)
> Gnu make               3.81
> util-linux             ng 2.16)
> mount                  ng 2.16 (with libblkid and selinux support)
> modutils               3.9
> e2fsprogs              1.41.9
> PPP                    2.4.4
> Linux C Library        > libc.2.11
> Dynamic linker (ldd)   2.11
> Procps                 3.2.8
> Net-tools              1.60
> iproute2              iproute2-ss090324
> Kbd                    1.15
> Sh-utils               7.6
> Modules Loaded         fuse sunrpc ip6t_REJECT nf_conntrack_ipv6
> ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq freq_table
> dm_multipath uinput snd_hda_codec_realtek snd_hda_intel snd_hda_codec
> snd_hwdep sky2 snd_seq snd_seq_device snd_pcm snd_timer i2c_i801 iTCO_wdt
> iTCO_vendor_support snd ppdev parport_pc parport pcspkr soundcore
> snd_page_alloc ata_generic pata_acpi i915 drm_kms_helper drm i2c_algo_bit
> i2c_core video output
>
> free reports:
>             total       used       free     shared    buffers     cached
> Mem:       2048800     924576    1124224          0      61216     364884
> -/+ buffers/cache:     498476    1550324
> Swap:            0          0          0
>
> /proc/cpuinfo
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 23
> model name      : Intel(R) Core(TM)2 Duo CPU     E7300  @ 2.66GHz
> stepping        : 6
> cpu MHz         : 1603.000
> cache size      : 3072 KB
> physical id     : 0
> siblings        : 2
> core id         : 0
> cpu cores       : 2
> apicid          : 0
> initial apicid  : 0
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 10
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
> constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor
> ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm
> bogomips        : 5320.39
> clflush size    : 64
> cache_alignment : 64
> address sizes   : 36 bits physical, 48 bits virtual
> power management:
>
> processor       : 1
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 23
> model name      : Intel(R) Core(TM)2 Duo CPU     E7300  @ 2.66GHz
> stepping        : 6
> cpu MHz         : 1603.000
> cache size      : 3072 KB
> physical id     : 0
> siblings        : 2
> core id         : 1
> cpu cores       : 2
> apicid          : 1
> initial apicid  : 1
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 10
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
> constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor
> ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm
> bogomips        : 5319.71
> clflush size    : 64
> cache_alignment : 64
> address sizes   : 36 bits physical, 48 bits virtual
> power management:
>
> remove test cases which require the block device.
> You can specify it with option -b
> COMMAND:    /opt/ltp/bin/ltp-pan  -e -S   -a 10841     -n 10841  -p  -f
> /tmp/ltp-7a0EmLzrtP/alltests -l
> /opt/ltp/results/LTP_RUN_ON-2009_11月_28-09h_35m_47s.log  -C
> /opt/ltp/output/LTP_RUN_ON-2009_11月_28-09h_35m_47s.failed
> LOG File: /opt/ltp/results/LTP_RUN_ON-2009_11月_28-09h_35m_47s.log
> FAILED COMMAND File:
> /opt/ltp/output/LTP_RUN_ON-2009_11月_28-09h_35m_47s.failed
> Running tests.......
> <<<test_start>>>
> tag=ext4_new_feature_test stime=1259372147
> cmdline="run_ext4_test.sh"
> contacts=""
> analysis=exit
> <<<test_output>>>
> EXT4 NEW FEATURE TESTING
> TEST STARTED: Please avoid using system while this test executes
>
> Ext4 block allocation test
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: delalloc, isDirectIO: 0,
> Blocksize: 1024, isAuto_da_alloc: auto_da_alloc=1
> ext4-delalloc-mballoc    1  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: delalloc, isDirectIO: 0,
> Blocksize: 1024, isAuto_da_alloc: noauto_da_alloc
> ext4-delalloc-mballoc    2  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: nodelalloc, isDirectIO: 0,
> Blocksize: 1024, isAuto_da_alloc: auto_da_alloc=1
> ext4-delalloc-mballoc    3  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: nodelalloc, isDirectIO: 0,
> Blocksize: 1024, isAuto_da_alloc: noauto_da_alloc
> ext4-delalloc-mballoc    4  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: delalloc, isDirectIO: 1,
> Blocksize: 1024, isAuto_da_alloc: auto_da_alloc=1
> ext4-delalloc-mballoc    5  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: delalloc, isDirectIO: 1,
> Blocksize: 1024, isAuto_da_alloc: noauto_da_alloc
> ext4-delalloc-mballoc    6  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: nodelalloc, isDirectIO: 1,
> Blocksize: 1024, isAuto_da_alloc: auto_da_alloc=1
> ext4-delalloc-mballoc    7  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: nodelalloc, isDirectIO: 1,
> Blocksize: 1024, isAuto_da_alloc: noauto_da_alloc
> ext4-delalloc-mballoc    8  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: delalloc, isDirectIO: 0,
> Blocksize: 4096, isAuto_da_alloc: auto_da_alloc=1
> ext4-delalloc-mballoc    9  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: delalloc, isDirectIO: 0,
> Blocksize: 4096, isAuto_da_alloc: noauto_da_alloc
> ext4-delalloc-mballoc   10  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: nodelalloc, isDirectIO: 0,
> Blocksize: 4096, isAuto_da_alloc: auto_da_alloc=1
> ext4-delalloc-mballoc   11  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: nodelalloc, isDirectIO: 0,
> Blocksize: 4096, isAuto_da_alloc: noauto_da_alloc
> ext4-delalloc-mballoc   12  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: delalloc, isDirectIO: 1,
> Blocksize: 4096, isAuto_da_alloc: auto_da_alloc=1
> ext4-delalloc-mballoc   13  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: delalloc, isDirectIO: 1,
> Blocksize: 4096, isAuto_da_alloc: noauto_da_alloc
> ext4-delalloc-mballoc   14  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: nodelalloc, isDirectIO: 1,
> Blocksize: 4096, isAuto_da_alloc: auto_da_alloc=1
> ext4-delalloc-mballoc   15  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc    0  TINFO  :  isDelalloc: nodelalloc, isDirectIO: 1,
> Blocksize: 4096, isAuto_da_alloc: noauto_da_alloc
> ext4-delalloc-mballoc   16  TPASS  :  delalloc/mballoc test pass
> ext4-delalloc-mballoc   17  TPASS  :  remount test pass
>
> Ext4 journal checksum test
> ext4-journal-checksum    0  TINFO  :  journal mode: writeback, commit
> interval: 1,
> ext4-journal-checksum    1  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: ordered, commit
> interval: 1,
> ext4-journal-checksum    2  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: journal, commit
> interval: 1,
> ext4-journal-checksum    3  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: writeback, commit
> interval: 100,
> ext4-journal-checksum    4  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: ordered, commit
> interval: 100,
> ext4-journal-checksum    5  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: journal, commit
> interval: 100,
> ext4-journal-checksum    6  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: writeback, commit
> interval: 1,
> ext4-journal-checksum    7  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: ordered, commit
> interval: 1,
> ext4-journal-checksum    8  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: journal, commit
> interval: 1,
> ext4-journal-checksum    9  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: writeback, commit
> interval: 100,
> ext4-journal-checksum   10  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: ordered, commit
> interval: 100,
> ext4-journal-checksum   11  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: journal, commit
> interval: 100,
> ext4-journal-checksum   12  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: writeback, commit
> interval: 1,
> ext4-journal-checksum   13  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: ordered, commit
> interval: 1,
> ext4-journal-checksum   14  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: journal, commit
> interval: 1,
> ext4-journal-checksum   15  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: writeback, commit
> interval: 100,
> ext4-journal-checksum   16  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: ordered, commit
> interval: 100,
> ext4-journal-checksum   17  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: journal, commit
> interval: 100,
> ext4-journal-checksum   18  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: writeback, commit
> interval: 1,
> ext4-journal-checksum   19  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: ordered, commit
> interval: 1,
> ext4-journal-checksum   20  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: journal, commit
> interval: 1,
> ext4-journal-checksum   21  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: writeback, commit
> interval: 100,
> ext4-journal-checksum   22  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: ordered, commit
> interval: 100,
> ext4-journal-checksum   23  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: journal, commit
> interval: 100,
> ext4-journal-checksum   24  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: writeback, commit
> interval: 1,
> ext4-journal-checksum   25  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: ordered, commit
> interval: 1,
> ext4-journal-checksum   26  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: journal, commit
> interval: 1,
> ext4-journal-checksum   27  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: writeback, commit
> interval: 100,
> ext4-journal-checksum   28  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: ordered, commit
> interval: 100,
> ext4-journal-checksum   29  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: journal, commit
> interval: 100,
> ext4-journal-checksum   30  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: writeback, commit
> interval: 1,
> ext4-journal-checksum   31  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: ordered, commit
> interval: 1,
> ext4-journal-checksum   32  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: journal, commit
> interval: 1,
> ext4-journal-checksum   33  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: writeback, commit
> interval: 100,
> ext4-journal-checksum   34  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: ordered, commit
> interval: 100,
> ext4-journal-checksum   35  TPASS  :  ext4 journal checksum test pass
> ext4-journal-checksum    0  TINFO  :  journal mode: journal, commit
> interval: 100,
> ext4-journal-checksum   36  TPASS  :  ext4 journal checksum test pass
>
> Ext4 subdir limit test
> ext4-subdir-limit    0  TINFO  :  Num of dirs to create: 65537, Dir name
> len: short name,
> ext4-subdir-limit    1  TPASS  :  ext4 subdir limit test pass
> ext4-subdir-limit    0  TINFO  :  Num of dirs to create: 65537, Dir name
> len: short name,
> ext4-subdir-limit    2  TPASS  :  ext4 subdir limit test pass
> ext4-subdir-limit    0  TINFO  :  Num of dirs to create: 65537, Dir name
> len: short name,
> ext4-subdir-limit    3  TPASS  :  ext4 subdir limit test pass
> ext4-subdir-limit    0  TINFO  :  Num of dirs to create: 65537, Dir name
> len: long name,
> ext4-subdir-limit    4  TPASS  :  ext4 subdir limit test pass
> ext4-subdir-limit    0  TINFO  :  Num of dirs to create: 65537, Dir name
> len: short name,
> ext4-subdir-limit    5  TPASS  :  ext4 subdir limit test pass
> ext4-subdir-limit    0  TINFO  :  Num of dirs to create: 65537, Dir name
> len: long name,
> ext4-subdir-limit    6  TPASS  :  ext4 subdir limit test pass
> ext4-subdir-limit    0  TINFO  :  Num of dirs to create: 65537, Dir name
> len: short name,
> ext4-subdir-limit    7  TPASS  :  ext4 subdir limit test pass
> ext4-subdir-limit    0  TINFO  :  Num of dirs to create: 65537, Dir name
> len: long name,
> ext4-subdir-limit    8  TPASS  :  ext4 subdir limit test pass
> ext4-subdir-limit    0  TINFO  :  Num of dirs to create: 65537, Dir name
> len: short name,
> ext4-subdir-limit    9  TPASS  :  ext4 subdir limit test pass
> ext4-subdir-limit    0  TINFO  :  Num of dirs to create: 65537, Dir name
> len: long name,
> ext4-subdir-limit   10  TPASS  :  ext4 subdir limit test pass
>
> Ext4 nanosecond timestamp test
> ext4-nsec-timestamps    0  TINFO  :  Test timestamps with 128 inode size
> ext4-nsec-timestamps    1  TPASS  :  Ext4 nanosecond timestamps test with
> 128 inode size pass
> ext4-nsec-timestamps    0  TINFO  :  Test timestamps with 256 inode size
> ext4-nsec-timestamps    2  TPASS  :  Ext4 nanosecond timestamps test with
> 256 inode size pass
>
> Ext4 persist prealloc test
> ext4-persistent-preallocation    1  TPASS  :  ext4 persistent preallocation
> test pass
> ext4-persistent-preallocation    2  TPASS  :  ext4 persistent preallocation
> test pass
>
> Ext4 inode version test
> ext4-inode-version    0  TINFO  :  Test inode version is 32 bits with 128
> inode size
> ext4-inode-version    1  TPASS  :  32 bits inode version with 128 inode size
> test pass
> ext4-inode-version    2  TPASS  :  inode version with 256 inode size test
> pass
> ext4-inode-version    3  TPASS  :  inode version with 256 inode size test
> pass
> ext4-inode-version    4  TPASS  :  inode version with 256 inode size test
> pass
> ext4-inode-version    5  TPASS  :  inode version with 256 inode size test
> pass
> ext4-inode-version    6  TPASS  :  inode version with 256 inode size test
> pass
> ext4-inode-version    7  TPASS  :  inode version with 256 inode size test
> pass
> ext4-inode-version    8  TPASS  :  inode version with 256 inode size test
> pass
>
> Ext4 uninit groups test
> ext4-uninit-groups    1  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups    2  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups    3  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups    4  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups    5  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups    6  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups    7  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups    8  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups    9  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   10  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   11  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   12  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   13  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   14  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   15  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   16  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   17  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   18  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   19  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   20  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   21  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   22  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   23  TPASS  :  ext4 uninit groups test pass
> ext4-uninit-groups   24  TPASS  :  ext4 uninit groups test pass
>
> Ext4 online defrag test
> The output of defrag program is in the file
> LTPROOT/output/ext4_online_defrag.txt
> ext4-online-defrag    0  TINFO  :  defrag type: 1, defrag obj: 1, block
> size: 1024
> ext4-online-defrag    1  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 1, defrag obj: 2, block
> size: 1024
>  "/opt/ltp/testcases/bin/mnt_point/data0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data0/datadir0"
>        File is not regular file

Please cleanup issue here.

> ext4-online-defrag    2  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 1, defrag obj: 3, block
> size: 1024
> ext4-online-defrag    3  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 2, defrag obj: 1, block
> size: 1024
>  "/opt/ltp/testcases/bin/mnt_point/tmp_dir"
>        File is not regular file

Same.

> ext4-online-defrag    4  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 2, defrag obj: 2, block
> size: 1024
>  "/opt/ltp/testcases/bin/mnt_point/data0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data0/datadir0"
>        File is not regular file

Same.

> ext4-online-defrag    5  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 2, defrag obj: 3, block
> size: 1024
>  "/opt/ltp/testcases/bin/mnt_point/tmp_dir"
>        File is not regular file

Same.

> ext4-online-defrag    6  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 3, defrag obj: 1, block
> size: 1024
>  "/opt/ltp/testcases/bin/mnt_point"
>        File is not regular file

Same.

> ext4-online-defrag    7  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 3, defrag obj: 2, block
> size: 1024
>  "/opt/ltp/testcases/bin/mnt_point"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data2"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data2/datadir0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data0/datadir0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/meta"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data3"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data3/datadir0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data4"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data4/fillfile1699"
>        File size is 0
>  "/opt/ltp/testcases/bin/mnt_point/data4/datadir0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data1"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data1/datadir0"
>        File is not regular file

Same.

> ext4-online-defrag    8  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 3, defrag obj: 3, block
> size: 1024
>  "/opt/ltp/testcases/bin/mnt_point"
>        File is not regular file

Same.

> ext4-online-defrag    9  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 1, defrag obj: 1, block
> size: 4096
> ext4-online-defrag   10  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 1, defrag obj: 2, block
> size: 4096
>  "/opt/ltp/testcases/bin/mnt_point/data0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data0/datadir0"
>        File is not regular file

Same.

> ext4-online-defrag   11  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 1, defrag obj: 3, block
> size: 4096
> ext4-online-defrag   12  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 2, defrag obj: 1, block
> size: 4096
>  "/opt/ltp/testcases/bin/mnt_point/tmp_dir"
>        File is not regular file

Same.

> ext4-online-defrag   13  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 2, defrag obj: 2, block
> size: 4096
>  "/opt/ltp/testcases/bin/mnt_point/data0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data0/datadir0"
>        File is not regular file

Same.

> ext4-online-defrag   14  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 2, defrag obj: 3, block
> size: 4096
>  "/opt/ltp/testcases/bin/mnt_point/tmp_dir"
>        File is not regular file
> ext4-online-defrag   15  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 3, defrag obj: 1, block
> size: 4096
>  "/opt/ltp/testcases/bin/mnt_point"
>        File is not regular file
> ext4-online-defrag   16  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 3, defrag obj: 2, block
> size: 4096
>  "/opt/ltp/testcases/bin/mnt_point"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data1"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data1/datadir0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data0/datadir0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data2"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data2/datadir0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data3"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data3/datadir0"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/meta"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data4"
>        File is not regular file
>  "/opt/ltp/testcases/bin/mnt_point/data4/datadir0"
>        File is not regular file
> ext4-online-defrag   17  TPASS  :  ext4 online defrag test pass
> ext4-online-defrag    0  TINFO  :  defrag type: 3, defrag obj: 3, block
> size: 4096
>  "/opt/ltp/testcases/bin/mnt_point"
>        File is not regular file
> ext4-online-defrag   18  TPASS  :  ext4 online defrag test pass
> incrementing stop
> <<<execution_status>>>
> initiation_status="ok"
> duration=39617 termination_type=exited termination_id=0 corefile=no
> cutime=12671 cstime=199642
> <<<test_end>>>
> INFO: ltp-pan reported all tests PASS
> LTP Version: LTP-20091031

You should be using $TMPDIR in all of these tests, not
$LTPROOT/testcases/bin/<blah>.

Thanks,
-Garrett

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july